ODCS: Setup NFS before running ODCS backend role.
This commit is contained in:
parent
a65a9749df
commit
9760bc6d94
1 changed files with 25 additions and 25 deletions
|
@ -84,31 +84,6 @@
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
||||||
- name: Set up odcs backend service
|
|
||||||
hosts: odcs_backend:odcs_backend_stg
|
|
||||||
user: root
|
|
||||||
gather_facts: True
|
|
||||||
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- "/srv/private/ansible/vars.yml"
|
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
||||||
|
|
||||||
roles:
|
|
||||||
- role: odcs/backend
|
|
||||||
- role: keytab/service
|
|
||||||
service: odcs
|
|
||||||
owner_user: odcs
|
|
||||||
owner_group: odcs
|
|
||||||
host: "odcs{{env_suffix}}.fedoraproject.org"
|
|
||||||
# keytab for odcs releng backend
|
|
||||||
- role: keytab/service
|
|
||||||
service: odcs
|
|
||||||
host: "odcs-backend-releng01.phx2.fedoraproject.org"
|
|
||||||
|
|
||||||
handlers:
|
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
|
||||||
|
|
||||||
- name: Set up /mnt/koji on both the frontend and backend
|
- name: Set up /mnt/koji on both the frontend and backend
|
||||||
hosts: odcs:odcs_stg
|
hosts: odcs:odcs_stg
|
||||||
user: root
|
user: root
|
||||||
|
@ -150,3 +125,28 @@
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
||||||
|
- name: Set up odcs backend service
|
||||||
|
hosts: odcs_backend:odcs_backend_stg
|
||||||
|
user: root
|
||||||
|
gather_facts: True
|
||||||
|
|
||||||
|
vars_files:
|
||||||
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
- "/srv/private/ansible/vars.yml"
|
||||||
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- role: odcs/backend
|
||||||
|
- role: keytab/service
|
||||||
|
service: odcs
|
||||||
|
owner_user: odcs
|
||||||
|
owner_group: odcs
|
||||||
|
host: "odcs{{env_suffix}}.fedoraproject.org"
|
||||||
|
# keytab for odcs releng backend
|
||||||
|
- role: keytab/service
|
||||||
|
service: odcs
|
||||||
|
host: "odcs-backend-releng01.phx2.fedoraproject.org"
|
||||||
|
|
||||||
|
handlers:
|
||||||
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue