we add a box to the dust of time.

This commit is contained in:
Stephen Smoogen 2014-09-03 16:44:56 +00:00
parent 2652936b1d
commit 215cc12aa2
3 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,8 @@
---
datacenter: phx2
nm: 255.255.255.0
gw: 10.5.126.254
fas_client_groups: sysadmin-main
dns: 10.5.126.21
eth0_ip: 10.5.126.8
freezes:false

View file

@ -436,6 +436,8 @@ smtp-mm-ib01.fedoraproject.org
smtp-mm-coloamer01.fedoraproject.org
smtp-mm-tummy01.fedoraproject.org
[spare]
junk02.phx2.fedoraproject.org
#
# All staging hosts should be in this group too.
#

View file

@ -0,0 +1,30 @@
# This is a basic playbook
- name: make basic box
hosts: junk02.phx2.fedoraproject.org
user: root
accelerate: "{{ accelerated }}"
gather_facts: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- base
- rkhunter
- nagios_client
- hosts
- fas_client
- collectd/base
- sudo
tasks:
- include: "{{ tasks }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- include: "{{ handlers }}/semanage.yml"