Handle ansible_default_ipv4 not there in tests. (#514)

This commit is contained in:
Felix Fontein
2022-12-01 00:02:02 +01:00
committed by GitHub
parent 166d485216
commit 6e04e1f172
8 changed files with 8 additions and 8 deletions
@@ -17,7 +17,7 @@
docker_swarm:
name: default
state: present
advertise_addr: "{{ansible_default_ipv4.address}}"
advertise_addr: "{{ ansible_default_ipv4.address | default('127.0.0.1') }}"
- name: Parameter name should be required
docker_config: