Create /mnt/koji/vol/prod for staging koji-hub.
This commit is contained in:
parent
d338e540cc
commit
4b4d8f4264
1 changed files with 8 additions and 0 deletions
|
@ -60,6 +60,14 @@
|
||||||
- sudo
|
- sudo
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: create secondary volume dir for stg koji
|
||||||
|
file: dest=/mnt/koji/vol state=directory owner=apache group=apache mode=0755
|
||||||
|
tags: koji_hub
|
||||||
|
when: env == 'staging'
|
||||||
|
- name: create symlink for stg/prod secondary volume
|
||||||
|
file: src=/mnt/fedora_koji_prod dest=/mnt/koji/vol/prod state=link
|
||||||
|
tags: koji_hub
|
||||||
|
when: env == 'staging'
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue