changing buildmaster role to work with local database when needed
This commit is contained in:
parent
baa5b40a77
commit
6036a22912
2 changed files with 3 additions and 2 deletions
|
@ -19,7 +19,7 @@ virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ m
|
|||
hostname={{ inventory_hostname }}"
|
||||
--network=bridge=br0 --autostart --noautoconsole
|
||||
|
||||
buildmaster_db_name: buildmaster_ci_stg
|
||||
buildmaster_db_host: localhost
|
||||
buildmaster_template: ci.master.cfg.j2
|
||||
buildmaster_endpoint: taskmaster
|
||||
buildslave_ssh_pubkey: ''
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
notify:
|
||||
- restart httpd
|
||||
|
||||
- name: ensure dev database is created
|
||||
- name: ensure buildmaster database is created
|
||||
when: buildmaster_db_host != 'localhost'
|
||||
delegate_to: "{{ buildmaster_db_host }}"
|
||||
sudo: true
|
||||
sudo_user: postgres
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue