mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
communishift: Hey look, a bunch of communishift nodes and virthosts and such.
Note: This is not in the os-cluster playbook now except to install base items. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
1
inventory/group_vars/communishift
Normal file
1
inventory/group_vars/communishift
Normal file
@@ -0,0 +1 @@
|
|||||||
|
vpn: false
|
||||||
14
inventory/host_vars/os-control01.fedorainfracloud.org
Normal file
14
inventory/host_vars/os-control01.fedorainfracloud.org
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
nm: 255.255.255.0
|
||||||
|
gw: 38.145.49.254
|
||||||
|
dns: 8.8.8.8
|
||||||
|
|
||||||
|
ks_url: http://209.132.181.6/repo/rhel/ks/kvm-rhel-7
|
||||||
|
ks_repo: http://209.132.181.6/repo/rhel/RHEL7-x86_64/
|
||||||
|
|
||||||
|
volgroup: /dev/vg_Server
|
||||||
|
eth0_ip: 38.145.48.31
|
||||||
|
vmhost: virthost-os01.fedorainfracloud.org
|
||||||
|
datacenter: cloud
|
||||||
|
|
||||||
|
baseiptables: true
|
||||||
14
inventory/host_vars/os-master01.fedorainfracloud.org
Normal file
14
inventory/host_vars/os-master01.fedorainfracloud.org
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
nm: 255.255.255.0
|
||||||
|
gw: 38.145.49.254
|
||||||
|
dns: 8.8.8.8
|
||||||
|
|
||||||
|
ks_url: http://209.132.181.6/repo/rhel/ks/kvm-rhel-7
|
||||||
|
ks_repo: http://209.132.181.6/repo/rhel/RHEL7-x86_64/
|
||||||
|
|
||||||
|
volgroup: /dev/vg_Server
|
||||||
|
eth0_ip: 38.145.48.32
|
||||||
|
vmhost: virthost-os01.fedorainfracloud.org
|
||||||
|
datacenter: cloud
|
||||||
|
|
||||||
|
baseiptables: true
|
||||||
14
inventory/host_vars/os-master02.fedorainfracloud.org
Normal file
14
inventory/host_vars/os-master02.fedorainfracloud.org
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
nm: 255.255.255.0
|
||||||
|
gw: 38.145.49.254
|
||||||
|
dns: 8.8.8.8
|
||||||
|
|
||||||
|
ks_url: http://209.132.181.6/repo/rhel/ks/kvm-rhel-7
|
||||||
|
ks_repo: http://209.132.181.6/repo/rhel/RHEL7-x86_64/
|
||||||
|
|
||||||
|
volgroup: /dev/vg_Server
|
||||||
|
eth0_ip: 38.145.48.33
|
||||||
|
vmhost: virthost-os02.fedorainfracloud.org
|
||||||
|
datacenter: cloud
|
||||||
|
|
||||||
|
baseiptables: true
|
||||||
14
inventory/host_vars/os-master03.fedorainfracloud.org
Normal file
14
inventory/host_vars/os-master03.fedorainfracloud.org
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
nm: 255.255.255.0
|
||||||
|
gw: 38.145.49.254
|
||||||
|
dns: 8.8.8.8
|
||||||
|
|
||||||
|
ks_url: http://209.132.181.6/repo/rhel/ks/kvm-rhel-7
|
||||||
|
ks_repo: http://209.132.181.6/repo/rhel/RHEL7-x86_64/
|
||||||
|
|
||||||
|
volgroup: /dev/vg_Server
|
||||||
|
eth0_ip: 38.145.48.34
|
||||||
|
vmhost: virthost-os09.fedorainfracloud.org
|
||||||
|
datacenter: cloud
|
||||||
|
|
||||||
|
baseiptables: true
|
||||||
14
inventory/host_vars/os-node01.fedorainfracloud.org
Normal file
14
inventory/host_vars/os-node01.fedorainfracloud.org
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
nm: 255.255.255.0
|
||||||
|
gw: 38.145.49.254
|
||||||
|
dns: 8.8.8.8
|
||||||
|
|
||||||
|
ks_url: http://209.132.181.6/repo/rhel/ks/kvm-rhel-7
|
||||||
|
ks_repo: http://209.132.181.6/repo/rhel/RHEL7-x86_64/
|
||||||
|
|
||||||
|
volgroup: /dev/vg_Server
|
||||||
|
eth0_ip: 38.145.48.28
|
||||||
|
vmhost: virthost-os01.fedorainfracloud.org
|
||||||
|
datacenter: cloud
|
||||||
|
|
||||||
|
baseiptables: true
|
||||||
14
inventory/host_vars/os-node02.fedorainfracloud.org
Normal file
14
inventory/host_vars/os-node02.fedorainfracloud.org
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
nm: 255.255.255.0
|
||||||
|
gw: 38.145.49.254
|
||||||
|
dns: 8.8.8.8
|
||||||
|
|
||||||
|
ks_url: http://209.132.181.6/repo/rhel/ks/kvm-rhel-7
|
||||||
|
ks_repo: http://209.132.181.6/repo/rhel/RHEL7-x86_64/
|
||||||
|
|
||||||
|
volgroup: /dev/vg_Server
|
||||||
|
eth0_ip: 38.145.48.29
|
||||||
|
vmhost: virthost-os02.fedorainfracloud.org
|
||||||
|
datacenter: cloud
|
||||||
|
|
||||||
|
baseiptables: true
|
||||||
14
inventory/host_vars/os-node09.fedorainfracloud.org
Normal file
14
inventory/host_vars/os-node09.fedorainfracloud.org
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
nm: 255.255.255.0
|
||||||
|
gw: 38.145.49.254
|
||||||
|
dns: 8.8.8.8
|
||||||
|
|
||||||
|
ks_url: http://209.132.181.6/repo/rhel/ks/kvm-rhel-7
|
||||||
|
ks_repo: http://209.132.181.6/repo/rhel/RHEL7-x86_64/
|
||||||
|
|
||||||
|
volgroup: /dev/vg_Server
|
||||||
|
eth0_ip: 38.145.48.30
|
||||||
|
vmhost: virthost-os09.fedorainfracloud.org
|
||||||
|
datacenter: cloud
|
||||||
|
|
||||||
|
baseiptables: true
|
||||||
@@ -1366,6 +1366,37 @@ osbs-nodes-stg
|
|||||||
osbs-aarch64-masters-stg
|
osbs-aarch64-masters-stg
|
||||||
osbs-aarch64-nodes-stg
|
osbs-aarch64-nodes-stg
|
||||||
|
|
||||||
|
[os-control-communishift]
|
||||||
|
os-control01.fedorainfracloud.org
|
||||||
|
|
||||||
|
[os-masters-communishift]
|
||||||
|
os-master01.fedorainfracloud.org
|
||||||
|
os-master02.fedorainfracloud.org
|
||||||
|
os-master03.fedorainfracloud.org
|
||||||
|
|
||||||
|
[os-nodes-communishift]
|
||||||
|
# this node is a vm on virthost-os01
|
||||||
|
os-node01.fedorainfracloud.org
|
||||||
|
# this node is a vm on virthost-os02
|
||||||
|
os-node02.fedorainfracloud.org
|
||||||
|
# These are bare metal nodes
|
||||||
|
os-node03.fedorainfracloud.org
|
||||||
|
os-node04.fedorainfracloud.org
|
||||||
|
os-node05.fedorainfracloud.org
|
||||||
|
os-node06.fedorainfracloud.org
|
||||||
|
os-node07.fedorainfracloud.org
|
||||||
|
os-node08.fedorainfracloud.org
|
||||||
|
# this node is a vm on virthost-os03
|
||||||
|
os-node09.fedorainfracloud.org
|
||||||
|
# These are bare metal nodes
|
||||||
|
os-node10.fedorainfracloud.org
|
||||||
|
os-node11.fedorainfracloud.org
|
||||||
|
|
||||||
|
[os-communishift:children]
|
||||||
|
os-nodes-communishift
|
||||||
|
os-masters-communishift
|
||||||
|
os-control-communishift
|
||||||
|
|
||||||
[os-control-stg]
|
[os-control-stg]
|
||||||
os-control01.stg.phx2.fedoraproject.org
|
os-control01.stg.phx2.fedoraproject.org
|
||||||
|
|
||||||
@@ -1503,18 +1534,10 @@ retrace01.qa.fedoraproject.org
|
|||||||
drives45-01.phx2.fedoraproject.org
|
drives45-01.phx2.fedoraproject.org
|
||||||
|
|
||||||
# communishift -- community openshift
|
# communishift -- community openshift
|
||||||
[communishift]
|
[virthost-communishift]
|
||||||
#virthost-os01.fedorainfracloud.org
|
virthost-os01.fedorainfracloud.org
|
||||||
#virthost-os02.fedorainfracloud.org
|
virthost-os02.fedorainfracloud.org
|
||||||
#os-node03.fedorainfracloud.org
|
virthost-os09.fedorainfracloud.org
|
||||||
#os-node04.fedorainfracloud.org
|
|
||||||
#os-node05.fedorainfracloud.org
|
|
||||||
#os-node06.fedorainfracloud.org
|
|
||||||
#os-node07.fedorainfracloud.org
|
|
||||||
#os-node08.fedorainfracloud.org
|
|
||||||
#virthost-os09.fedorainfracloud.org
|
|
||||||
#os-node10.fedorainfracloud.org
|
|
||||||
#os-node11.fedorainfracloud.org
|
|
||||||
#os-storage-node12.fedorainfracloud.org
|
#os-storage-node12.fedorainfracloud.org
|
||||||
#os-storage-node13.fedorainfracloud.org
|
#os-storage-node13.fedorainfracloud.org
|
||||||
#os-storage-node14.fedorainfracloud.org
|
#os-storage-node14.fedorainfracloud.org
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=os-control-stg:os-control:os-nodes-stg:os-masters-stg:os-nodes:os-masters"
|
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=os-control-stg:os-control:os-nodes-stg:os-masters-stg:os-nodes:os-masters"
|
||||||
|
|
||||||
- name: make the box be real
|
- name: make the box be real
|
||||||
hosts: os-control:os-control-stg:os-masters-stg:os-nodes-stg:os-masters:os-nodes
|
hosts: os-control:os-control-stg:os-masters-stg:os-nodes-stg:os-masters:os-nodes:os-communishift
|
||||||
user: root
|
user: root
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
|
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
# NOTE: should be used with --limit most of the time
|
# NOTE: should be used with --limit most of the time
|
||||||
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
|
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
|
||||||
|
|
||||||
- import_playbook: "/srv/web/infra/ansible/playbooks/include/happy_birthday.yml myhosts=virthost:bvirthost:buildvmhost:virthost-comm:colo-virt:communishift"
|
- import_playbook: "/srv/web/infra/ansible/playbooks/include/happy_birthday.yml myhosts=virthost:bvirthost:buildvmhost:virthost-comm:colo-virt:virthost-communishift"
|
||||||
|
|
||||||
- name: make virthost server system
|
- name: make virthost server system
|
||||||
hosts: virthost:bvirthost:buildvmhost:virthost-comm:colo-virt:communishift
|
hosts: virthost:bvirthost:buildvmhost:virthost-comm:colo-virt:virthost-communishift
|
||||||
user: root
|
user: root
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user