Commit ask02 stuff to ansible.
This commit is contained in:
parent
2e2100319f
commit
fd38240f90
4 changed files with 37 additions and 2 deletions
7
files/hosts/ask02.phx2.fedoraproject.org-hosts
Normal file
7
files/hosts/ask02.phx2.fedoraproject.org-hosts
Normal file
|
@ -0,0 +1,7 @@
|
|||
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||
|
||||
10.5.126.52 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy5 proxy01 proxy02 proxy03 proxy04 proxy05 fedoraproject.org
|
||||
10.5.126.23 infrastructure.fedoraproject.org
|
||||
|
||||
10.5.126.71 db-ask
|
18
inventory/group_vars/ask
Normal file
18
inventory/group_vars/ask
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
# Define resources for this group of hosts here.
|
||||
lvm_size: 20000
|
||||
mem_size: 2048
|
||||
num_cpus: 2
|
||||
|
||||
tcp_ports: [ 443 ]
|
||||
|
||||
fas_client_groups: sysadmin-noc,sysadmin-ask,fi-apprentice
|
||||
|
||||
# These are consumed by a task in roles/fedmsg_base/main.yml
|
||||
fedmsg_certs:
|
||||
- service: shell
|
||||
owner: root
|
||||
group: sysadmin
|
||||
- service: askbot
|
||||
owner: root
|
||||
group: apache
|
10
inventory/host_vars/ask02.phx2.fedoraproject.org
Normal file
10
inventory/host_vars/ask02.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
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-6
|
||||
ks_repo: http://10.5.126.23/repo/rhel/RHEL6-x86_64/
|
||||
volgroup: /dev/vg_guests00
|
||||
eth0_ip: 10.5.126.57
|
||||
vmhost: virthost14.phx2.fedoraproject.org
|
||||
datacenter: phx2
|
|
@ -1,5 +1,5 @@
|
|||
- name: make ask
|
||||
hosts: ask-stg
|
||||
hosts: ask-stg:ask02.phx2.fedoraproject.org
|
||||
user: root
|
||||
gather_facts: False
|
||||
accelerate: True
|
||||
|
@ -17,7 +17,7 @@
|
|||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
||||
- name: make the box be real
|
||||
hosts: ask-stg
|
||||
hosts: ask-stg:ask02.phx2.fedoraproject.org
|
||||
user: root
|
||||
gather_facts: True
|
||||
accelerate: True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue