Break the mirrormanager nodes out into sub groups.

This commit is contained in:
Ralph Bean 2015-05-07 00:54:54 +00:00
parent 9e6df9f248
commit c149adc9b2
2 changed files with 25 additions and 7 deletions

View file

@ -363,17 +363,35 @@ mirrorlist-phx2.phx2.fedoraproject.org
[mirrorlist2-stg]
mirrorlist-phx2.stg.phx2.fedoraproject.org
[mm]
[mm-frontend]
mm-frontend01.phx2.fedoraproject.org
[mm-backend]
mm-backend01.phx2.fedoraproject.org
[mm-crawler]
mm-crawler01.phx2.fedoraproject.org
mm-crawler02.phx2.fedoraproject.org
[mm-stg]
[mm-frontend-stg]
mm-frontend01.stg.phx2.fedoraproject.org
[mm-backend-stg]
mm-backend01.stg.phx2.fedoraproject.org
[mm-crawler-stg]
mm-crawler01.stg.phx2.fedoraproject.org
[mm:children]
mm-frontend
mm-backend
mm-crawler
[mm-stg:children]
mm-frontend-stg
mm-backend-stg
mm-crawler-stg
[other]
people03.fedoraproject.org

View file

@ -1,5 +1,5 @@
- name: make the servers
hosts: mm:mm-stg
hosts: mm;mm-stg
user: root
gather_facts: False
@ -15,7 +15,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: make the boxe be real for real
hosts: mm:mm-stg
hosts: mm;mm-stg
user: root
gather_facts: True
@ -44,7 +44,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: Deploy the backend
hosts: mm-backend01.phx2.fedoraproject.org:mm-backend01.stg.phx2.fedoraproject.org
hosts: mm-backend;mm-backend-stg
user: root
gather_facts: True
@ -60,7 +60,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: Deploy the crawler
hosts: mm-crawler01.phx2.fedoraproject.org:mm-crawler01.stg.phx2.fedoraproject.org:mm-crawler02.phx2.fedoraproject.org
hosts: mm-crawler;mm-crawler-stg
user: root
gather_facts: True
@ -76,7 +76,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: Deploy the frontend (web-app)
hosts: mm-frontend01.phx2.fedoraproject.org:mm-frontend01.stg.phx2.fedoraproject.org
hosts: mm-frontend;mm-frontend-stg
user: root
gather_facts: True