blockerbugs: inherit group vars correctly for openshift app
Signed-off-by: Mark O Brien <markobri@redhat.com>
This commit is contained in:
parent
5d906f9b8c
commit
87a2e19ade
3 changed files with 4 additions and 6 deletions
|
@ -69,9 +69,11 @@ bastion13.fedoraproject.org
|
|||
|
||||
[blockerbugs]
|
||||
blockerbugs01.iad2.fedoraproject.org
|
||||
os-control01.iad2.fedoraproject.org
|
||||
|
||||
[blockerbugs_stg]
|
||||
blockerbugs01.stg.iad2.fedoraproject.org
|
||||
os-control01.stg.iad2.fedoraproject.org
|
||||
|
||||
[centos_ipa_client_stg]
|
||||
centos-ipa-client01.stg.iad2.fedoraproject.org
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=blockerbugs:blockerbugs_stg"
|
||||
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=blockerbugs01.iad2.fedoraproject.org:blockerbugs01.stg.iad2.fedoraproject.org"
|
||||
|
||||
- name: make the box be real
|
||||
hosts: blockerbugs:blockerbugs_stg
|
||||
hosts: blockerbugs01.iad2.fedoraproject.org:blockerbugs01.stg.iad2.fedoraproject.org
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
|
@ -22,10 +22,6 @@
|
|||
- "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml"
|
||||
|
||||
tasks:
|
||||
- include_vars: /srv/web/infra/ansible/inventory/group_vars/blockerbugs_stg
|
||||
when: env == 'staging'
|
||||
- include_vars: /srv/web/infra/ansible/inventory/group_vars/blockerbugs
|
||||
when: env != 'staging'
|
||||
- name: Create the database user
|
||||
postgresql_user:
|
||||
name: "{{ blockerbugs_db_user }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue