buildah/tests/roles/cli/tasks/config.yaml
Yevhenii Shapovalov e671b026e2 add tests
2017-12-12 13:28:04 +02:00

17 lines
449 B
YAML

---
- name: buildah config workingdir
command: buildah config --workingdir /opt nginxc
- name: get buildah config workingdir
command: buildah run nginxc "pwd"
register: checkworkingdir
failed_when: "'/opt' not in checkworkingdir.stdout"
- name: buildah config env
command: buildah config --env foo=bar nginxc
- name: get buildah config env
command: buildah run nginxc env
register: env
failed_when: "'foo=bar' not in env.stdout"