koji-sync: stop nfs before nuking /mnt/fedora_koji
This commit is contained in:
parent
911bf02220
commit
8fc148dfec
1 changed files with 4 additions and 0 deletions
|
@ -99,6 +99,8 @@
|
|||
- wipe-fs
|
||||
|
||||
tasks:
|
||||
- name: stop nfs
|
||||
service: name=nfs state=stopped
|
||||
- name: unmount koji filesystem
|
||||
mount: name=/mnt/fedora_koji state=unmounted
|
||||
- name: wipe fedora_koji volume
|
||||
|
@ -119,6 +121,8 @@
|
|||
# TODO recreate directories under /mnt/koji/compose (which ones?) that composer expects to exist
|
||||
- name: symlink production volume
|
||||
file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link
|
||||
- name: restart nfs
|
||||
service: name=nfs state=started
|
||||
- name: restart httpd
|
||||
service: name=httpd state=started
|
||||
- name: restart kojira
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue