Replace include by include_tasks
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
---
|
||||
- include: resolvconf.yml
|
||||
- include_tasks: resolvconf.yml
|
||||
when: common_resolvconf
|
||||
tags: ['common', 'resolvconf']
|
||||
|
||||
- include: hostname.yml
|
||||
- include_tasks: hostname.yml
|
||||
when: common_hostname
|
||||
tags: ['common', 'hostname']
|
||||
|
||||
- include: apt.yml
|
||||
- include_tasks: apt.yml
|
||||
when: common_apt
|
||||
tags: ['common', 'apt']
|
||||
|
||||
- include: locales.yml
|
||||
- include_tasks: locales.yml
|
||||
when: common_locales
|
||||
tags: ['common', 'locales']
|
||||
|
||||
@@ -25,18 +25,18 @@
|
||||
with_items: "{{ common_scripts }}"
|
||||
tags: common
|
||||
|
||||
- include: mailer.yml
|
||||
- include_tasks: mailer.yml
|
||||
when: common_mailer
|
||||
tags: ['common', 'mailer']
|
||||
|
||||
- include: ntp.yml
|
||||
- include_tasks: ntp.yml
|
||||
when: common_ntp
|
||||
tags: ['common', 'ntp']
|
||||
|
||||
- include: openssh.yml
|
||||
- include_tasks: openssh.yml
|
||||
when: common_openssh
|
||||
tags: ['common', 'openssh']
|
||||
|
||||
- include: rsyslog.yml
|
||||
- include_tasks: rsyslog.yml
|
||||
when: common_rsyslog
|
||||
tags: ['common', 'rsyslog']
|
||||
|
||||
Reference in New Issue
Block a user