On Tue, Sep 02, 2014 at 06:40:13PM -0600, Stephen John Smoogen wrote:
This is a box to work on repo work between CentOS and EPEL
without
touching main hardware. Should not affect any running system.
I expect creating a new box not to be frozen, but +2 ftr.
Pierre
diff --git
a/inventory/host_vars/junk02.phx2.fedoraproject.org
b/inventory/host_vars/junk02.phx2.fedoraproject.org
new file mode 100644
index 0000000..9401810
--- /dev/null
+++
b/inventory/host_vars/junk02.phx2.fedoraproject.org
@@ -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
diff --git a/inventory/inventory b/inventory/inventory
index 4733757..0ed3dd8 100644
--- a/inventory/inventory
+++ b/inventory/inventory
@@ -436,6 +436,8 @@
smtp-mm-ib01.fedoraproject.org
A
smtp-mm-coloamer01.fedoraproject.org
A
smtp-mm-tummy01.fedoraproject.org
A
+[spare]
+junk02.phx2.fedoraproject.org
A #
A # All staging hosts should be in this group too.A
A #
diff --git a/playbooks/hosts/junk02.phx2.fedoraproject.org.yml
b/playbooks/hosts/junk02.phx2.fedoraproject.org.yml
new file mode 100644
index 0000000..5f492ef
--- /dev/null
+++ b/playbooks/hosts/junk02.phx2.fedoraproject.org.yml
@@ -0,0 +1,30 @@
+# This is a basic playbook
+
+- name: make basic box
+ A hosts:
junk02.phx2.fedoraproject.org
+ A user: root
+ A accelerate: "{{ accelerated }}"
+ A gather_facts: True
+
+ A vars_files:A
+ A - /srv/web/infra/ansible/vars/global.yml
+ A - "{{ private }}/vars.yml"
+ A - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
+
+ A roles:
+ A - base
+ A - rkhunter
+ A - nagios_client
+ A - hosts
+ A - fas_client
+ A - collectd/base
+ A - sudo
+
+ A tasks:
+ A - include: "{{ tasks }}/yumrepos.yml"
+ A - include: "{{ tasks }}/2fa_client.yml"
+ A - include: "{{ tasks }}/motd.yml"
+
+ A handlers:
+ A - include: "{{ handlers }}/restart_services.yml"
+ A - include: "{{ handlers }}/semanage.yml"
--
Stephen J Smoogen.
_______________________________________________
infrastructure mailing list
infrastructure(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure