Distinguish the stg and prod gluster volumes for nuancier
This commit is contained in:
parent
417152c1e4
commit
64ecf0e3d6
1 changed files with 25 additions and 7 deletions
|
@ -8,7 +8,7 @@
|
||||||
user: root
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
- "{{ private }}/vars.yml"
|
- "{{ private }}/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
accelerate: True
|
accelerate: True
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
- "{{ private }}/vars.yml"
|
- "{{ private }}/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
accelerate: True
|
accelerate: True
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
- "{{ private }}/vars.yml"
|
- "{{ private }}/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
@ -75,11 +75,31 @@
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
accelerate: True
|
accelerate: True
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
- "{{ private }}/vars.yml"
|
- "{{ private }}/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- role: gluster/server
|
||||||
|
name: gluster
|
||||||
|
username: "{{ nuancier_gluster_username }}"
|
||||||
|
password: "{{ nuancier_gluster_password }}"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
datadir: /srv/glusterfs/nuancier-stg
|
||||||
|
|
||||||
|
- role: gluster/client
|
||||||
|
name: gluster
|
||||||
|
servers:
|
||||||
|
- nuancier01.stg.phx2.fedoraproject.org
|
||||||
|
- nuancier02.stg.phx2.fedoraproject.org
|
||||||
|
username: "{{ nuancier_gluster_username }}"
|
||||||
|
password: "{{ nuancier_gluster_password }}"
|
||||||
|
owner: apache
|
||||||
|
group: root
|
||||||
|
mountdir: /var/cache/nuancier
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: gluster/server
|
- role: gluster/server
|
||||||
name: gluster
|
name: gluster
|
||||||
|
@ -91,9 +111,7 @@
|
||||||
|
|
||||||
- role: gluster/client
|
- role: gluster/client
|
||||||
name: gluster
|
name: gluster
|
||||||
servers:
|
servers:
|
||||||
- nuancier01.stg.phx2.fedoraproject.org
|
|
||||||
- nuancier02.stg.phx2.fedoraproject.org
|
|
||||||
- nuancier01.phx2.fedoraproject.org
|
- nuancier01.phx2.fedoraproject.org
|
||||||
- nuancier02.phx2.fedoraproject.org
|
- nuancier02.phx2.fedoraproject.org
|
||||||
username: "{{ nuancier_gluster_username }}"
|
username: "{{ nuancier_gluster_username }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue