Skip to content

Commit

Permalink
Use import_tasks instead of include (#4)
Browse files Browse the repository at this point in the history
include has been deprecated:

    ERROR! [DEPRECATED]: ansible.builtin.include has been removed. Use include_tasks or import_tasks instead. This feature was removed from ansible-core in a release after 2023-05-16. Please update your playbooks.
  • Loading branch information
legoscia authored Nov 30, 2023
1 parent c820d06 commit 4fe634c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
tags: [ 'role::bootstrap:admin' ]

- name: Manage System Administrator accounts
include: admin_accounts.yml
import_tasks: admin_accounts.yml
when: bootstrap__admin|bool
tags: [ 'role::bootstrap:admin' ]

Expand Down

0 comments on commit 4fe634c

Please sign in to comment.