buildah/tests/roles/cli/tasks/config.yaml
Lokesh Mandvekar 5cce5a1ada Revert "buildah-0.16-2.git4743c2e"
This reverts commit 61290b1bc7
since it removed the tests/ dir, which is obviously unwanted behavior.
2018-04-07 23:03:14 -04: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"