Add fas03 in ansible.
This commit is contained in:
parent
d9a3ff5ebc
commit
ea7204488b
5 changed files with 24 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
# Define resources for this group of hosts here.
|
# Define resources for this group of hosts here.
|
||||||
lvm_size: 30000
|
lvm_size: 30000
|
||||||
mem_size: 2048
|
mem_size: 8192
|
||||||
num_cpus: 2
|
num_cpus: 4
|
||||||
|
|
||||||
# for systems that do not match the above - specify the same parameter in
|
# for systems that do not match the above - specify the same parameter in
|
||||||
# the host_vars/$hostname file
|
# the host_vars/$hostname file
|
||||||
|
@ -18,6 +18,7 @@ tcp_ports: [ 80, 8443, 8444,
|
||||||
fas_client_groups: sysadmin-main,sysadmin-accounts
|
fas_client_groups: sysadmin-main,sysadmin-accounts
|
||||||
|
|
||||||
master_fas_node: False
|
master_fas_node: False
|
||||||
|
gen_cert: False
|
||||||
|
|
||||||
# A host group for rsync config
|
# A host group for rsync config
|
||||||
rsync_group: fas
|
rsync_group: fas
|
||||||
|
|
|
@ -17,7 +17,8 @@ tcp_ports: [ 80, 8443, 8444,
|
||||||
|
|
||||||
fas_client_groups: sysadmin-main,sysadmin-accounts
|
fas_client_groups: sysadmin-main,sysadmin-accounts
|
||||||
|
|
||||||
master_fas_node: True
|
master_fas_node: False
|
||||||
|
gen_cert: False
|
||||||
|
|
||||||
# A host group for rsync config
|
# A host group for rsync config
|
||||||
rsync_group: fas
|
rsync_group: fas
|
||||||
|
|
|
@ -8,5 +8,8 @@ volgroup: /dev/vg_guests
|
||||||
eth0_ip: 10.5.126.86
|
eth0_ip: 10.5.126.86
|
||||||
vmhost: virthost10.phx2.fedoraproject.org
|
vmhost: virthost10.phx2.fedoraproject.org
|
||||||
datacenter: phx2
|
datacenter: phx2
|
||||||
|
|
||||||
|
# There's only this server in stg, so it does certs.
|
||||||
|
|
||||||
master_fas_node: True
|
master_fas_node: True
|
||||||
gen_cert: True
|
gen_cert: True
|
||||||
|
|
14
inventory/host_vars/fas03.phx2.fedoraproject.org
Normal file
14
inventory/host_vars/fas03.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
nm: 255.255.255.0
|
||||||
|
gw: 10.5.126.254
|
||||||
|
dns: 10.5.126.21
|
||||||
|
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7
|
||||||
|
ks_repo: http://10.5.126.23/repo/rhel/RHEL7-x86_64/
|
||||||
|
volgroup: /dev/vg_guests00
|
||||||
|
eth0_ip: 10.5.126.30
|
||||||
|
vmhost: virthost14.phx2.fedoraproject.org
|
||||||
|
datacenter: phx2
|
||||||
|
|
||||||
|
# This is not the master production fas node, it doesn't do certs
|
||||||
|
master_fas_node: False
|
||||||
|
gen_cert: False
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
- name: make fas server
|
- name: make fas server
|
||||||
hosts: fas-stg
|
hosts: fas-stg:fas03.phx2.fedoraproject.org
|
||||||
user: root
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
accelerate: "{{ accelerated }}"
|
accelerate: "{{ accelerated }}"
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
||||||
- name: make the box be real
|
- name: make the box be real
|
||||||
hosts: fas-stg
|
hosts: fas-stg:fas03.phx2.fedoraproject.org
|
||||||
user: root
|
user: root
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
accelerate: "{{ accelerated }}"
|
accelerate: "{{ accelerated }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue