Freeze Break Request: Add test system to ansible

Patrick Uiterwijk puiterwijk at gmail.com
Wed Sep 3 05:31:17 UTC 2014


> On 03 Sep 2014, at 02:40, Stephen John Smoogen <smooge at gmail.com> 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
> infrastructure at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/infrastructure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20140903/4619b808/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4147 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20140903/4619b808/attachment.p7s>


More information about the infrastructure mailing list