diff --git a/CHANGES.rst b/CHANGES.rst index e2ddc67..862f735 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,11 @@ Changelog ========= + *Unreleased* + +- Fix Ansible 2.2 deprecation warnings which requires Ansible 2.2 or higher. + Support for older Ansible versions is dropped. [brzhk] + v0.1.2 ------ @@ -43,4 +48,3 @@ v0.1.0 *Released: 2015-03-30* - First release [drybjed] - diff --git a/meta/main.yml b/meta/main.yml index 96eaff6..497c727 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -9,7 +9,7 @@ galaxy_info: description: 'Install and configure ISC DHCP Server' company: 'DebOps' license: 'GNU General Public License v3' - min_ansible_version: '1.7.0' + min_ansible_version: '2.2.0' platforms: - name: Ubuntu versions: diff --git a/tasks/main.yml b/tasks/main.yml index d6e9878..0d76d98 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -32,7 +32,7 @@ register: dhcpd_register_nameservers changed_when: False when: dhcpd_mode == 'server' - always_run: yes + check_mode: False - name: Convert list of nameservers to Ansible list set_fact: