Merge pull request #22 from le9i0nx/devel

fix [DEPRECATION WARNING] ansible ver 2.0.1.0
This commit is contained in:
Maciej Delmanowski 2016-04-13 09:28:13 +02:00
commit 4a6cb446a0

View File

@ -19,7 +19,7 @@
state: 'present'
install_recommends: False
with_flattened:
- dhcpd_base_packages_map[dhcpd_mode]
- '{{ dhcpd_base_packages_map[dhcpd_mode] }}'
- [ '{{ "dhcp-probe" if (dhcpd_probe|d() and dhcpd_probe) else [] }}' ]
- name: Reconfigure ISC DHCP relay
@ -58,7 +58,7 @@
owner: 'root'
group: 'root'
mode: '0644'
with_items: dhcpd_includes
with_items: '{{ dhcpd_includes }}'
notify: [ 'Restart isc-dhcp-server' ]
when: ((item is defined and item) and dhcpd_mode == 'server' and
(dhcpd_register_config is defined and dhcpd_register_config.changed))