Define loopabull01 prod

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-10-27 20:33:53 +00:00
parent 7f239aa0eb
commit 67e27110d9
4 changed files with 30 additions and 4 deletions

View file

@ -0,0 +1,13 @@
---
# Define resources for this group of hosts here.
lvm_size: 20000
mem_size: 1024
num_cpus: 1
fas_client_groups: sysadmin-loopabull
sudoers: "{{ private }}/files/sudo/mm2-sudoers"
# For the MOTD
csi_security_category: High
csi_primary_contact: admin@fedoraproject.org / sysadmin-main-members
csi_purpose: Release Engineering automation hosts

View file

@ -0,0 +1,10 @@
---
eth0_ip: 10.5.126.33
nm: 255.255.255.0
gw: 10.5.128.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
vmhost: virthost15.phx2.fedoraproject.org
datacenter: phx2

View file

@ -664,6 +664,9 @@ anitya-frontend01.fedoraproject.org
anitya-backend
anitya-frontend
[loopabull]
loopabull01.phx2.fedoraproject.org
[loopabull-stg]
loopabull01.stg.phx2.fedoraproject.org

View file

@ -1,8 +1,8 @@
# create a new loopabull server
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=loopabull-stg"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=loopabull:loopabull-stg"
- name: make the box be real
hosts: loopabull-stg
hosts: loopabull:loopabull-stg
user: root
gather_facts: True
@ -31,7 +31,7 @@
- import_tasks: "{{ handlers_path }}/restart_services.yml"
- name: Deploy and configure loopabull
hosts: loopabull-stg
hosts: loopabull:loopabull-stg
user: root
gather_facts: True
@ -80,7 +80,7 @@
- name: Post Loopabull install configuration
hosts: loopabull-stg
hosts: loopabull:loopabull-stg
user: root
gather_facts: True