Normalize bools in tests. (#589)

This commit is contained in:
Felix Fontein
2023-02-15 22:29:41 +01:00
committed by GitHub
parent a426232523
commit dd19db8c8f
82 changed files with 1620 additions and 1620 deletions
@@ -5,12 +5,12 @@
- hosts: 127.0.0.1
connection: local
gather_facts: yes
gather_facts: true
tasks:
- name: Make sure swarm is removed
docker_swarm:
state: absent
force: yes
force: true
- name: remove docker pagkages
action: "{{ ansible_facts.pkg_mgr }}"
@@ -6,7 +6,7 @@
- hosts: 127.0.0.1
connection: local
vars:
docker_skip_cleanup: yes
docker_skip_cleanup: true
tasks:
- name: Setup docker
@@ -5,7 +5,7 @@
- hosts: 127.0.0.1
connection: local # otherwise Ansible will complain that it cannot connect via ssh to 127.0.0.1:22
gather_facts: no
gather_facts: false
tasks:
- name: Show all groups
debug:
@@ -32,22 +32,22 @@
- "groups.manager | length > 0"
- "groups.worker | length >= 0"
- "groups.leader | length == 1"
run_once: yes
run_once: true
- name: List manager group
debug:
var: groups.manager
run_once: yes
run_once: true
- name: List worker group
debug:
var: groups.worker
run_once: yes
run_once: true
- name: List leader group
debug:
var: groups.leader
run_once: yes
run_once: true
- name: Print ansible_host per host
debug:
@@ -5,7 +5,7 @@
- hosts: 127.0.0.1
connection: local # otherwise Ansible will complain that it cannot connect via ssh to 127.0.0.1:22
gather_facts: no
gather_facts: false
tasks:
- name: Show all groups
debug: