buildah/tests/roles/cli/tasks/mount.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

28 lines
538 B
YAML

---
- name: buildah mount container nginxc
command: buildah mount nginxc
register: mount
- name: buildah mount without args will list all mounts
shell: buildah mount | grep storage
- name: buildah add
import_tasks: add.yaml
tags:
- add
- name: buildah umount
command: buildah umount nginxc
- name: buildah mount --notruncate
command: buildah mount --notruncate nginxc-2
register: mount
- name: buildah copy
import_tasks: copy.yaml
tags:
- copy
- name: buildah unmount
command: buildah unmount nginxc-2