Adjust version_added, re-place tests. (#34)

This commit is contained in:
Felix Fontein 2020-11-15 17:21:50 +01:00 committed by GitHub
parent ea8c107625
commit bc0e0c3049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 6 deletions

View File

@ -296,7 +296,7 @@ stdout:
returned: success returned: success
type: str type: str
sample: "" sample: ""
version_added: 1.3.0 version_added: 1.0.0
''' '''
import errno import errno

View File

@ -136,11 +136,6 @@
- repository_1 is changed - repository_1 is changed
- repository_2 is not changed - repository_2 is not changed
# Uncomment in community.docker
# - assert:
# that:
# - 'FROM busybox' in repository_1.stdout
- name: Get facts of image - name: Get facts of image
docker_image_info: docker_image_info:
name: "{{ test_image_base }}:latest" name: "{{ test_image_base }}:latest"

View File

@ -130,6 +130,7 @@
- assert: - assert:
that: that:
- dockerfile_1 is changed - dockerfile_1 is changed
- "'FROM alpine:3.7' in dockerfile_1.stdout"
- dockerfile_1['image']['Config']['WorkingDir'] == '/newdata' - dockerfile_1['image']['Config']['WorkingDir'] == '/newdata'
#################################################################### ####################################################################