summaryrefslogtreecommitdiffstats
path: root/tests/roles/cli/tasks/mount.yaml
blob: 09bd90196e366ae636941ad4594d3fa225904656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
- 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