Replace include by include_tasks

This commit is contained in:
Daniel A. Maierhofer
2018-03-05 01:38:04 +01:00
parent 5d81b09172
commit 725b10c389
2 changed files with 9 additions and 9 deletions

View File

@@ -9,5 +9,5 @@
- newaliases - newaliases
- restart mailer - restart mailer
- include: "{{ common_mailer_mailer }}.yml" - include_tasks: "{{ common_mailer_mailer }}.yml"
when: common_mailer_mailer != False when: common_mailer_mailer != False

View File

@@ -1,17 +1,17 @@
--- ---
- include: resolvconf.yml - include_tasks: resolvconf.yml
when: common_resolvconf when: common_resolvconf
tags: ['common', 'resolvconf'] tags: ['common', 'resolvconf']
- include: hostname.yml - include_tasks: hostname.yml
when: common_hostname when: common_hostname
tags: ['common', 'hostname'] tags: ['common', 'hostname']
- include: apt.yml - include_tasks: apt.yml
when: common_apt when: common_apt
tags: ['common', 'apt'] tags: ['common', 'apt']
- include: locales.yml - include_tasks: locales.yml
when: common_locales when: common_locales
tags: ['common', 'locales'] tags: ['common', 'locales']
@@ -25,18 +25,18 @@
with_items: "{{ common_scripts }}" with_items: "{{ common_scripts }}"
tags: common tags: common
- include: mailer.yml - include_tasks: mailer.yml
when: common_mailer when: common_mailer
tags: ['common', 'mailer'] tags: ['common', 'mailer']
- include: ntp.yml - include_tasks: ntp.yml
when: common_ntp when: common_ntp
tags: ['common', 'ntp'] tags: ['common', 'ntp']
- include: openssh.yml - include_tasks: openssh.yml
when: common_openssh when: common_openssh
tags: ['common', 'openssh'] tags: ['common', 'openssh']
- include: rsyslog.yml - include_tasks: rsyslog.yml
when: common_rsyslog when: common_rsyslog
tags: ['common', 'rsyslog'] tags: ['common', 'rsyslog']