add repospanner instance

This commit is contained in:
Kevin Fenzi 2018-08-11 10:24:34 +00:00
parent a4a19995e4
commit aae396bee5
5 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,10 @@
---
# Define resources for this group of hosts here.
lvm_size: 100000
mem_size: 8192
num_cpus: 2
# For the MOTD
csi_security_category: High
csi_primary_contact: admin@fedoraproject.org / sysadmin-main-members
csi_purpose: repospanner git syncing host

View file

@ -0,0 +1,10 @@
---
eth0_ip: 10.5.126.60
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_guests
vmhost: virthost01.phx2.fedoraproject.org
datacenter: phx2

View file

@ -59,6 +59,9 @@ wiki02.phx2.fedoraproject.org
copr-fe.cloud.fedoraproject.org
retrace01.qa.fedoraproject.org
[repospanner]
repospanner01.phx2.fedoraproject.org
[gdpr_delete]
[certgetter]

View file

@ -0,0 +1,31 @@
# create a new dns server
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=repospanner"
- name: make the box be real
hosts: repospanner
user: root
gather_facts: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- base
- hosts
- rkhunter
- nagios_client
- fas_client
- collectd/base
- sudo
- openvpn/client
tasks:
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
- import_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -0,0 +1,2 @@
# ifconfig-push actualIP PtPIP
ifconfig-push 192.168.1.180 192.168.0.180