Change 'include' to 'include_tasks'

Removes some deprecation warnings in ansible output
This commit is contained in:
Charlie O'Keefe 2018-03-21 10:49:23 -06:00
parent 656382c7bb
commit 1359bb01e2
2 changed files with 12 additions and 12 deletions

View File

@ -1,10 +1,10 @@
---
- include: repartition.yml
- include: update_everything.yml
- include: packages.yml
- include: make_swap.yml
- include: add_github_ssh_hostkey.yml
- include: hostname.yml
- include: motd.yml
- include: vim.yml
- include: auto_upgrades.yml
- include_tasks: repartition.yml
- include_tasks: update_everything.yml
- include_tasks: packages.yml
- include_tasks: make_swap.yml
- include_tasks: add_github_ssh_hostkey.yml
- include_tasks: hostname.yml
- include_tasks: motd.yml
- include_tasks: vim.yml
- include_tasks: auto_upgrades.yml

View File

@ -128,7 +128,7 @@
force: yes
become_user: "{{ gitian_user }}"
- include: keys.yml
- include_tasks: keys.yml
tags: keys
- name: Clone git repository for Zcash.
@ -207,12 +207,12 @@
register: autoclean_result
changed_when: "'Del' in autoclean_result.stdout"
- include: gpg.yml
- include_tasks: gpg.yml
tags: gpg
become: no
when: gpg_key_id is defined and gpg_key_id != ''
- include: ssh.yml
- include_tasks: ssh.yml
tags: ssh
become: no
when: ssh_key_name is defined and ssh_key_name != ''