Change 'include' to 'include_tasks'
Removes some deprecation warnings in ansible output
This commit is contained in:
parent
656382c7bb
commit
1359bb01e2
|
@ -1,10 +1,10 @@
|
||||||
---
|
---
|
||||||
- include: repartition.yml
|
- include_tasks: repartition.yml
|
||||||
- include: update_everything.yml
|
- include_tasks: update_everything.yml
|
||||||
- include: packages.yml
|
- include_tasks: packages.yml
|
||||||
- include: make_swap.yml
|
- include_tasks: make_swap.yml
|
||||||
- include: add_github_ssh_hostkey.yml
|
- include_tasks: add_github_ssh_hostkey.yml
|
||||||
- include: hostname.yml
|
- include_tasks: hostname.yml
|
||||||
- include: motd.yml
|
- include_tasks: motd.yml
|
||||||
- include: vim.yml
|
- include_tasks: vim.yml
|
||||||
- include: auto_upgrades.yml
|
- include_tasks: auto_upgrades.yml
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
force: yes
|
force: yes
|
||||||
become_user: "{{ gitian_user }}"
|
become_user: "{{ gitian_user }}"
|
||||||
|
|
||||||
- include: keys.yml
|
- include_tasks: keys.yml
|
||||||
tags: keys
|
tags: keys
|
||||||
|
|
||||||
- name: Clone git repository for Zcash.
|
- name: Clone git repository for Zcash.
|
||||||
|
@ -207,12 +207,12 @@
|
||||||
register: autoclean_result
|
register: autoclean_result
|
||||||
changed_when: "'Del' in autoclean_result.stdout"
|
changed_when: "'Del' in autoclean_result.stdout"
|
||||||
|
|
||||||
- include: gpg.yml
|
- include_tasks: gpg.yml
|
||||||
tags: gpg
|
tags: gpg
|
||||||
become: no
|
become: no
|
||||||
when: gpg_key_id is defined and gpg_key_id != ''
|
when: gpg_key_id is defined and gpg_key_id != ''
|
||||||
|
|
||||||
- include: ssh.yml
|
- include_tasks: ssh.yml
|
||||||
tags: ssh
|
tags: ssh
|
||||||
become: no
|
become: no
|
||||||
when: ssh_key_name is defined and ssh_key_name != ''
|
when: ssh_key_name is defined and ssh_key_name != ''
|
||||||
|
|
Loading…
Reference in New Issue