diff --git a/cluster.yml b/cluster.yml index 3b6297c5a5fcfa91790b6c062a3df557a7b66da1..649f6549f6bbec8b7f21437309ea9db1d93c6c63 100644 --- a/cluster.yml +++ b/cluster.yml @@ -1,11 +1,11 @@ --- - hosts: localhost tasks: - - name: Check ansible version <2.7 + - name: "Check ansible version !=2.7.0" assert: msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed" that: - - ansible_version.string is version("2.7.0", "<") + - ansible_version.string is version("2.7.0", "!=") - ansible_version.string is version("2.5.0", ">=") tags: - check diff --git a/remove-node.yml b/remove-node.yml index aceed33acbd6c6d93479051e2b234ac238b8f6ed..2b2dacbabf1c3816b5413b999c93e8bfa5e30426 100644 --- a/remove-node.yml +++ b/remove-node.yml @@ -1,7 +1,7 @@ --- - hosts: localhost tasks: - - name: Check ansible version <2.7 + - name: "Check ansible version !=2.7.0" assert: msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed" that: diff --git a/requirements.txt b/requirements.txt index fed7afe505266c458b94d1aa54f4af0774c78dc7..1e3300434fb7bec18e30e2e909f88367d1a0b3c4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -ansible>=2.5.0,<2.7 +ansible>=2.5.0,!=2.7.0 jinja2>=2.9.6 netaddr pbr>=1.6 diff --git a/reset.yml b/reset.yml index de47fafcab5c89c755ba0929542a314d27cd3dac..a416dd7ee7d1d9d458ac606a60eb033830b31b1f 100644 --- a/reset.yml +++ b/reset.yml @@ -1,11 +1,11 @@ --- - hosts: localhost tasks: - - name: Check ansible version <2.7 + - name: "Check ansible version !=2.7.0" assert: msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed" that: - - ansible_version.string is version("2.7.0", "<") + - ansible_version.string is version("2.7.0", "!=") - ansible_version.string is version("2.5.0", ">=") tags: - check diff --git a/scale.yml b/scale.yml index 1be060ce384662ba21e26313b72d83ffb80ece60..2dc55eceb21a77a05f3cbe293713fe5539f4bca4 100644 --- a/scale.yml +++ b/scale.yml @@ -1,11 +1,11 @@ --- - hosts: localhost tasks: - - name: Check ansible version <2.7 + - name: "Check ansible version !=2.7.0" assert: msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed" that: - - ansible_version.string is version("2.7.0", "<") + - ansible_version.string is version("2.7.0", "!=") - ansible_version.string is version("2.5.0", ">=") tags: - check diff --git a/upgrade-cluster.yml b/upgrade-cluster.yml index 8397341f4e8bf061562a8e6a4c276e0d2393b0c1..27d4270236cc45d5420b3d979cf8eb7c4ed78748 100644 --- a/upgrade-cluster.yml +++ b/upgrade-cluster.yml @@ -1,11 +1,11 @@ --- - hosts: localhost tasks: - - name: Check ansible version <2.7 + - name: "Check ansible version !=2.7.0" assert: msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed" that: - - ansible_version.string is version("2.7.0", "<") + - ansible_version.string is version("2.7.0", "!=") - ansible_version.string is version("2.5.0", ">=") tags: - check