add ipa01/02 for iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
8211a567a2
commit
8745e9f102
4 changed files with 26 additions and 2 deletions
10
inventory/host_vars/ipa01.iad2.fedoraproject.org
Normal file
10
inventory/host_vars/ipa01.iad2.fedoraproject.org
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.3.163.254
|
||||
dns: 10.3.163.33
|
||||
ks_url: http://209.132.181.6/repo/rhel/ks/kvm-rhel-8-ext
|
||||
ks_repo: http://209.132.181.6/repo/rhel/RHEL8-x86_64/
|
||||
volgroup: /dev/vg_guests
|
||||
eth0_ip: 10.3.163.54
|
||||
vmhost: vmhost-x86-02.iad2.fedoraproject.org
|
||||
datacenter: iad2
|
10
inventory/host_vars/ipa02.iad2.fedoraproject.org
Normal file
10
inventory/host_vars/ipa02.iad2.fedoraproject.org
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.3.163.254
|
||||
dns: 10.3.163.33
|
||||
ks_url: http://209.132.181.6/repo/rhel/ks/kvm-rhel-8-ext
|
||||
ks_repo: http://209.132.181.6/repo/rhel/RHEL8-x86_64/
|
||||
volgroup: /dev/vg_guests
|
||||
eth0_ip: 10.3.163.55
|
||||
vmhost: vmhost-x86-03.iad2.fedoraproject.org
|
||||
datacenter: iad2
|
|
@ -346,6 +346,8 @@ batcave13.rdu2.fedoraproject.org
|
|||
[ipa]
|
||||
ipa01.phx2.fedoraproject.org
|
||||
ipa02.phx2.fedoraproject.org
|
||||
ipa01.iad2.fedoraproject.org
|
||||
ipa02.iad2.fedoraproject.org
|
||||
|
||||
[ipa_stg]
|
||||
ipa01.stg.phx2.fedoraproject.org
|
||||
|
|
|
@ -60,19 +60,21 @@
|
|||
when: not inventory_hostname.startswith("ipa01")
|
||||
|
||||
- name: create replica file
|
||||
delegate_to: ipa01.phx2.fedoraproject.org
|
||||
delegate_to: ipa01.{{ item }}.fedoraproject.org
|
||||
command: ipa-replica-prepare
|
||||
--password={{ipa_dm_password}}
|
||||
--ip-address={{eth0_ip}}
|
||||
{{inventory_hostname}}
|
||||
creates=/var/lib/ipa/replica-info-{{inventory_hostname}}.gpg
|
||||
with_items: "{{ datacenter }}"
|
||||
tags:
|
||||
- ipa/server
|
||||
- config
|
||||
when: not inventory_hostname.startswith("ipa01") and not replication_status.stat.exists
|
||||
|
||||
- name: retrieve replica file
|
||||
delegate_to: ipa01.phx2.fedoraproject.org
|
||||
delegate_to: ipa01.{{ item }}.fedoraproject.org
|
||||
with_items: "{{ datacenter }}"
|
||||
fetch: src=/var/lib/ipa/replica-info-{{inventory_hostname}}.gpg
|
||||
dest=/tmp/ipa_replica_{{inventory_hostname}}.gpg
|
||||
flat=yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue