From 48f1aa542524db19ccfbaa77c0d4cdef5ad25e80 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 17 Oct 2016 22:37:01 +0000 Subject: [PATCH] add respins.fedorainfracloud.org --- .../host_vars/respins.fedorainfracloud.org | 18 +++++++++++++ inventory/inventory | 2 ++ master.yml | 1 + playbooks/hosts/respins.fedorainfracloud.org | 26 +++++++++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 inventory/host_vars/respins.fedorainfracloud.org create mode 100644 playbooks/hosts/respins.fedorainfracloud.org diff --git a/inventory/host_vars/respins.fedorainfracloud.org b/inventory/host_vars/respins.fedorainfracloud.org new file mode 100644 index 0000000000..0ffbf8a0dd --- /dev/null +++ b/inventory/host_vars/respins.fedorainfracloud.org @@ -0,0 +1,18 @@ +--- +image: rhel7-20141015 +instance_type: m1.medium +keypair: fedora-admin-20130801 +security_group: wide-open-persistent,default +zone: nova +tcp_ports: [22, 6969] + +inventory_tenant: persistent +inventory_instance_name: respins +hostbase: respins +public_ip: 209.132.184.60 +root_auth_users: dmossor linuxmodder jbwilla nb +description: respins instance + +cloud_networks: + # persistent-net + - net-id: "67b77354-39a4-43de-b007-bb813ac5c35f" diff --git a/inventory/inventory b/inventory/inventory index 8d301ae6ba..72d79666b9 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -1052,6 +1052,8 @@ iddev.fedorainfracloud.org commops.fedorainfracloud.org # kolinahr - issue 5491 kolinahr.fedorainfracloud.org +# respins +respins.fedorainfracloud.org # # These are in the new cloud diff --git a/master.yml b/master.yml index 9ffd1ddd1c..a0efd668f2 100644 --- a/master.yml +++ b/master.yml @@ -148,6 +148,7 @@ - include: /srv/web/infra/ansible/playbooks/hosts/modernpaste.fedorainfracloud.org.yml - include: /srv/web/infra/ansible/playbooks/hosts/piwik.fedorainfracloud.org.yml - include: /srv/web/infra/ansible/playbooks/hosts/regcfp.fedorainfracloud.org.yml +- include: /srv/web/infra/ansible/playbooks/hosts/respins.fedorainfracloud.org.yml - include: /srv/web/infra/ansible/playbooks/hosts/shogun-ca.cloud.fedoraproject.org.yml - include: /srv/web/infra/ansible/playbooks/hosts/shumgrepper-dev.fedorainfracloud.org.yml - include: /srv/web/infra/ansible/playbooks/hosts/taiga.fedorainfracloud.org.yml diff --git a/playbooks/hosts/respins.fedorainfracloud.org b/playbooks/hosts/respins.fedorainfracloud.org new file mode 100644 index 0000000000..86e845222f --- /dev/null +++ b/playbooks/hosts/respins.fedorainfracloud.org @@ -0,0 +1,26 @@ +- name: check/create instance + hosts: respins.fedorainfracloud.org + gather_facts: False + + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - /srv/private/ansible/vars.yml + - /srv/web/infra/ansible/vars/fedora-cloud.yml + - /srv/private/ansible/files/openstack/passwords.yml + + tasks: + - include: "{{ tasks }}/persistent_cloud.yml" + +- name: setup all the things + hosts: respins.fedorainfracloud.org + gather_facts: True + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - /srv/private/ansible/vars.yml + - /srv/private/ansible/files/openstack/passwords.yml + - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + + pre_tasks: + - include: "{{ tasks }}/cloud_setup_basic.yml" + - name: set hostname (required by some services, at least postfix need it) + hostname: name="{{inventory_hostname}}"