Change the old meta zuul group to the expected 'zuul' group
The code is switching from relying on metadata based groups to dynamically created groups with add_host. As such, the group containing zuul is now 'zuul'. Change-Id: Ia1336382b489f16a18ca00a67f985d41aad57319
This commit is contained in:
parent
ba3b591b86
commit
8383944786
@ -86,7 +86,7 @@
|
|||||||
- name: Deploy Zuul fqdn hiera file
|
- name: Deploy Zuul fqdn hiera file
|
||||||
copy: >
|
copy: >
|
||||||
src=hiera/fqdn/zuul.yaml
|
src=hiera/fqdn/zuul.yaml
|
||||||
dest=/etc/puppet/hieradata/production/fqdn/{{ groups['meta-infra_type_zuul'][0] }}.yaml
|
dest=/etc/puppet/hieradata/production/fqdn/{{ groups['zuul'][0] }}.yaml
|
||||||
|
|
||||||
- name: Deploy Jenkins fqdn hiera file
|
- name: Deploy Jenkins fqdn hiera file
|
||||||
copy: >
|
copy: >
|
||||||
|
@ -7,7 +7,7 @@ class infra-ansible::profiles::zuul {
|
|||||||
gerrit_server => '{{ groups['gerrit'][0] }}',
|
gerrit_server => '{{ groups['gerrit'][0] }}',
|
||||||
gerrit_user => 'gerrit',
|
gerrit_user => 'gerrit',
|
||||||
zuul_ssh_private_key => hiera('zuul_ssh_private_key_contents'),
|
zuul_ssh_private_key => hiera('zuul_ssh_private_key_contents'),
|
||||||
zuul_url => 'http://{{ groups['meta-infra_type_zuul'][0] }}/p',
|
zuul_url => 'http://{{ groups['zuul'][0] }}/p',
|
||||||
}
|
}
|
||||||
|
|
||||||
class { '::zuul::server':
|
class { '::zuul::server':
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: meta-infra_type_zuul
|
- hosts: zuul
|
||||||
user: ubuntu
|
user: ubuntu
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user