summaryrefslogtreecommitdiff
path: root/test/integration/targets/docker_container
diff options
context:
space:
mode:
authorFelix Fontein <felix@fontein.de>2019-03-21 09:37:18 +0100
committerJohn R Barker <john@johnrbarker.com>2019-03-21 08:37:18 +0000
commit8d62794f9171e720f8a0baa3d5544848900809f2 (patch)
tree79786e3ebc8cfd0c3e9b16ce6ea40afc38a1c2d2 /test/integration/targets/docker_container
parent9c77509cbc61629a0acf767e91f80ccd43913d70 (diff)
downloadansible-8d62794f9171e720f8a0baa3d5544848900809f2.tar.gz
docker: rename docker_*_facts -> docker_*_info (#54124)
* Rename docker_*_facts -> docker_*_info. * Add changelog. * Update scenario guide.
Diffstat (limited to 'test/integration/targets/docker_container')
-rw-r--r--test/integration/targets/docker_container/tasks/tests/image-ids.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/integration/targets/docker_container/tasks/tests/image-ids.yml b/test/integration/targets/docker_container/tasks/tests/image-ids.yml
index d305904868..9aee882945 100644
--- a/test/integration/targets/docker_container/tasks/tests/image-ids.yml
+++ b/test/integration/targets/docker_container/tasks/tests/image-ids.yml
@@ -17,23 +17,23 @@
loop_var: image
- name: Get image ID of hello-world and alpine images
- docker_image_facts:
+ docker_image_info:
name:
- "hello-world:latest"
- "alpine:3.8"
- register: image_facts
+ register: image_info
- assert:
that:
- - image_facts.images | length == 2
+ - image_info.images | length == 2
- name: Print image IDs
debug:
- msg: "hello-world: {{ image_facts.images[0].Id }}; alpine: {{ image_facts.images[1].Id }}"
+ msg: "hello-world: {{ image_info.images[0].Id }}; alpine: {{ image_info.images[1].Id }}"
- name: Create container with hello-world image via ID
docker_container:
- image: "{{ image_facts.images[0].Id }}"
+ image: "{{ image_info.images[0].Id }}"
name: "{{ cname }}"
state: present
force_kill: yes
@@ -41,7 +41,7 @@
- name: Create container with hello-world image via ID (idempotent)
docker_container:
- image: "{{ image_facts.images[0].Id }}"
+ image: "{{ image_info.images[0].Id }}"
name: "{{ cname }}"
state: present
force_kill: yes
@@ -49,7 +49,7 @@
- name: Create container with alpine image via ID
docker_container:
- image: "{{ image_facts.images[1].Id }}"
+ image: "{{ image_info.images[1].Id }}"
name: "{{ cname }}"
state: present
force_kill: yes
@@ -57,7 +57,7 @@
- name: Create container with alpine image via ID (idempotent)
docker_container:
- image: "{{ image_facts.images[1].Id }}"
+ image: "{{ image_info.images[1].Id }}"
name: "{{ cname }}"
state: present
force_kill: yes