diff --git a/inventory/group_vars/loopabull b/inventory/group_vars/loopabull new file mode 100644 index 0000000000..3bb12ed517 --- /dev/null +++ b/inventory/group_vars/loopabull @@ -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 diff --git a/inventory/host_vars/loopabull01.phx2.fedoraproject.org b/inventory/host_vars/loopabull01.phx2.fedoraproject.org new file mode 100644 index 0000000000..b886374bd0 --- /dev/null +++ b/inventory/host_vars/loopabull01.phx2.fedoraproject.org @@ -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 diff --git a/inventory/inventory b/inventory/inventory index 358196a7af..cae3fc6b87 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -664,6 +664,9 @@ anitya-frontend01.fedoraproject.org anitya-backend anitya-frontend +[loopabull] +loopabull01.phx2.fedoraproject.org + [loopabull-stg] loopabull01.stg.phx2.fedoraproject.org diff --git a/playbooks/groups/loopabull.yml b/playbooks/groups/loopabull.yml index a90efcab56..64515a59dd 100644 --- a/playbooks/groups/loopabull.yml +++ b/playbooks/groups/loopabull.yml @@ -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