Revert "Import OS-specific vars in tasks instead of play"
This reverts commit e30e4d4b1e3d0221c9bcfaefcbf9524b50c5917b. I suspect this was a side effect of using Python 3 rather than an issue in Ansible 2.4.0.0.
This commit is contained in:
parent
63c5477f85
commit
7b60e6d24f
@ -1,10 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
# ported from top-level play because it stopped working around Ansible 2.4.0.0
|
|
||||||
- name: Import OS-specific variables
|
|
||||||
include_vars: "vars/{{ ansible_os_family }}.yml"
|
|
||||||
tags: always
|
|
||||||
|
|
||||||
- name: Configure network time
|
- name: Configure network time
|
||||||
import_tasks: ntp.yml
|
import_tasks: ntp.yml
|
||||||
tags: ntp
|
tags: ntp
|
||||||
|
1
web.yml
1
web.yml
@ -13,5 +13,6 @@
|
|||||||
- { role: munin, when: ansible_os_family == 'Debian' }
|
- { role: munin, when: ansible_os_family == 'Debian' }
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/ipsets.yml
|
- vars/ipsets.yml
|
||||||
|
- "vars/{{ ansible_os_family }}.yml"
|
||||||
|
|
||||||
# vim: set sw=2 ts=2:
|
# vim: set sw=2 ts=2:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user