Skip to content

Commit

Permalink
Replace deprecated include with import_tasks
Browse files Browse the repository at this point in the history
Signed-off-by: Norman Ziegner <norman.ziegner@ufz.de>
  • Loading branch information
Norman Ziegner committed Aug 18, 2022
1 parent 94772bf commit 4c63c27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- ansible.builtin.include: "unattended-upgrades.yml"
- ansible.builtin.import_tasks: "unattended-upgrades.yml"
tags: "unattended"
2 changes: 1 addition & 1 deletion tasks/unattended-upgrades.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
update_cache: "yes"

- name: "install reboot dependencies"
ansible.builtin.include: "reboot.yml"
ansible.builtin.import_tasks: "reboot.yml"
when: "unattended_automatic_reboot | bool"

- name: "create APT auto-upgrades configuration"
Expand Down

0 comments on commit 4c63c27

Please sign in to comment.