summaryrefslogtreecommitdiffstats
path: root/tests/roles/cli/tasks/config.yaml
blob: 91e8bc3c4d950c1eb3d59c05619f359ea0ffa76f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- 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"