diff --git a/plugins/modules/docker_compose.py b/plugins/modules/docker_compose.py index 943a079a..cb338482 100644 --- a/plugins/modules/docker_compose.py +++ b/plugins/modules/docker_compose.py @@ -177,7 +177,7 @@ EXAMPLES = ''' project_src: flask register: output - - debug: + - ansible.builtin.debug: var: output - name: Run `docker-compose up` again @@ -186,7 +186,7 @@ EXAMPLES = ''' build: no register: output - - debug: + - ansible.builtin.debug: var: output - assert: @@ -199,7 +199,7 @@ EXAMPLES = ''' stopped: yes register: output - - debug: + - ansible.builtin.debug: var: output - assert: @@ -214,7 +214,7 @@ EXAMPLES = ''' restarted: yes register: output - - debug: + - ansible.builtin.debug: var: output - assert: @@ -232,7 +232,7 @@ EXAMPLES = ''' web: 2 register: output - - debug: + - ansible.builtin.debug: var: output - name: Run with inline v2 compose @@ -261,7 +261,7 @@ EXAMPLES = ''' - db register: output - - debug: + - ansible.builtin.debug: var: output - assert: @@ -293,7 +293,7 @@ EXAMPLES = ''' - db register: output - - debug: + - ansible.builtin.debug: var: output - assert: diff --git a/plugins/modules/docker_container_info.py b/plugins/modules/docker_container_info.py index 809ce71c..92a73525 100644 --- a/plugins/modules/docker_container_info.py +++ b/plugins/modules/docker_container_info.py @@ -46,11 +46,11 @@ EXAMPLES = ''' register: result - name: Does container exist? - debug: + ansible.builtin.debug: msg: "The container {{ 'exists' if result.exists else 'does not exist' }}" - name: Print information about container - debug: + ansible.builtin.debug: var: result.container when: result.exists ''' diff --git a/plugins/modules/docker_host_info.py b/plugins/modules/docker_host_info.py index e7734618..9007221a 100644 --- a/plugins/modules/docker_host_info.py +++ b/plugins/modules/docker_host_info.py @@ -126,7 +126,7 @@ EXAMPLES = ''' disk_usage: yes register: result -- debug: +- ansible.builtin.debug: var: result.host_info ''' diff --git a/plugins/modules/docker_network_info.py b/plugins/modules/docker_network_info.py index cc222746..491ebf8b 100644 --- a/plugins/modules/docker_network_info.py +++ b/plugins/modules/docker_network_info.py @@ -46,11 +46,11 @@ EXAMPLES = ''' register: result - name: Does network exist? - debug: + ansible.builtin.debug: msg: "The network {{ 'exists' if result.exists else 'does not exist' }}" - name: Print information about network - debug: + ansible.builtin.debug: var: result.network when: result.exists ''' diff --git a/plugins/modules/docker_swarm_info.py b/plugins/modules/docker_swarm_info.py index b7e8daa1..095bf7fe 100644 --- a/plugins/modules/docker_swarm_info.py +++ b/plugins/modules/docker_swarm_info.py @@ -94,7 +94,7 @@ EXAMPLES = ''' register: result - name: Inform about basic flags - debug: + ansible.builtin.debug: msg: | Was able to talk to docker daemon: {{ result.can_talk_to_docker }} Docker in Swarm mode: {{ result.docker_swarm_active }} @@ -120,7 +120,7 @@ EXAMPLES = ''' name: mynode register: result -- debug: +- ansible.builtin.debug: var: result.swarm_facts - name: Get the swarm unlock key @@ -128,7 +128,7 @@ EXAMPLES = ''' unlock_key: yes register: result -- debug: +- ansible.builtin.debug: var: result.swarm_unlock_key ''' diff --git a/plugins/modules/docker_volume_info.py b/plugins/modules/docker_volume_info.py index 2bfca7c3..8e1734c2 100644 --- a/plugins/modules/docker_volume_info.py +++ b/plugins/modules/docker_volume_info.py @@ -42,11 +42,11 @@ EXAMPLES = ''' register: result - name: Does volume exist? - debug: + ansible.builtin.debug: msg: "The volume {{ 'exists' if result.exists else 'does not exist' }}" - name: Print information about volume - debug: + ansible.builtin.debug: var: result.volume when: result.exists '''