> On 03 Sep 2014, at 02:40, Stephen John Smoogen <[email protected]> wrote:
> 
> 
> This is a box to work on repo work between CentOS and EPEL without touching 
> main hardware. Should not affect any running system.

+1 from me

> 
> 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
>  smtp-mm-coloamer01.fedoraproject.org
>  smtp-mm-tummy01.fedoraproject.org
>  
> +[spare]
> +junk02.phx2.fedoraproject.org
>  #
>  # All staging hosts should be in this group too. 
>  #
> 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
> +  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"
> 
> 
> -- 
> Stephen J Smoogen.
> 
> _______________________________________________
> infrastructure mailing list
> [email protected]
> https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
infrastructure mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Reply via email to