diff --git a/.travis.yml b/.travis.yml index 3fa860d..dbfa7e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,4 @@ env: - - PLATFORM='docker-debian-jessie' ANSIBLE_VERSION='ansible>=2.5,<2.6' - - PLATFORM='docker-debian-jessie-backports' ANSIBLE_VERSION='ansible>=2.5,<2.6' - - PLATFORM='docker-debian-jessie-dotdeb' ANSIBLE_VERSION='ansible>=2.5,<2.6' - - PLATFORM='docker-debian-stretch' ANSIBLE_VERSION='ansible>=2.5,<2.6' - - PLATFORM='docker-debian-stretch-sury' ANSIBLE_VERSION='ansible>=2.5,<2.6' - PLATFORM='docker-debian-jessie' ANSIBLE_VERSION='ansible>=2.6,<2.7' - PLATFORM='docker-debian-jessie-backports' ANSIBLE_VERSION='ansible>=2.6,<2.7' - PLATFORM='docker-debian-jessie-dotdeb' ANSIBLE_VERSION='ansible>=2.6,<2.7' diff --git a/meta/main.yml b/meta/main.yml index 856d6ce..9f59d37 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -4,7 +4,7 @@ galaxy_info: description: Nginx for Debian / FreeBSD company: license: GPLv2 - min_ansible_version: 2.5 + min_ansible_version: 2.6 platforms: - name: Debian versions: diff --git a/tasks/htpasswd.yml b/tasks/htpasswd.yml index 72ffe35..792192b 100644 --- a/tasks/htpasswd.yml +++ b/tasks/htpasswd.yml @@ -12,7 +12,6 @@ htpasswd: name: "{{ item.1.name }}" password: "{{ item.1.password }}" - state: "{{ item.1.state | default('present') }}" path: "{{ nginx_htpasswd_dir }}/{{ item.0.name }}" loop: "{{ nginx_htpasswd | subelements('users') }}" when: item.0.state is not defined or item.0.state == 'present'