blob: d80a8232c3c135d7c8b2c0c4607e2b7bae773158 (
plain)
1
2
3
4
5
6
7
8
9
10
|
---
- name: buildah run with option hostname
command: buildah run --hostname example.buildah.com nginxc -- hostname
register: hostname
failed_when: '"example.buildah.com" not in hostname.stdout'
- name: buildah run with option volume
command: buildah run --volume /tmp/buildah/bud:/home nginxc ls /home
register: volume
failed_when: '"hello" not in volume.stdout'
|