staging-sync/koji: Don't mix up mount and umount

This commit is contained in:
Mikolaj Izdebski 2025-07-05 11:09:06 +02:00
parent 1723796680
commit 9dc5c9a47a

View file

@ -98,7 +98,7 @@
- name: Stop nfs-server
service: name=nfs-server state=stopped
- name: Unmount NFS on hub
ansible.builtin.shell: mount {{item}}
ansible.builtin.mount: name={{item}} state=unmounted
with_items:
- /mnt/fedora_koji_prod
- /mnt/koji/ostree
@ -122,7 +122,7 @@
- /mnt/koji/work
# TODO recreate directories under /mnt/koji/compose (which ones?) that composer expects to exist
- name: Mount NFS on hub
ansible.builtin.mount: name={{item}} state=remounted
ansible.builtin.shell: mount {{item}}
with_items:
- /mnt/fedora_koji_prod
- /mnt/koji/ostree