diff --git a/inventory/host_vars/eclipse.fedorainfracloud.org b/inventory/host_vars/eclipse.fedorainfracloud.org new file mode 100644 index 0000000000..31647ae832 --- /dev/null +++ b/inventory/host_vars/eclipse.fedorainfracloud.org @@ -0,0 +1,18 @@ +--- +image: "{{ fedora23_x86_64 }}" +instance_type: m1.small +keypair: fedora-admin-20130801 +security_group: ssh-anywhere-persistent,web-80-anywhere-persistent,web-443-anywhere-persistent,default +zone: nova +tcp_ports: [22, 80, 443] + +inventory_tenant: persistent +inventory_instance_name: eclipse +hostbase: eclipse +public_ip: 209.132.184.121 +root_auth_users: mbooth +description: eclipse help for fedora eclipse addons + +cloud_networks: + # persistent-net + - net-id: "67b77354-39a4-43de-b007-bb813ac5c35f" diff --git a/inventory/inventory b/inventory/inventory index 93499b6791..706f5afa32 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -1031,6 +1031,8 @@ fedimg-dev.fedorainfracloud.org piwik.fedorainfracloud.org # modernpaste testing modernpaste.fedorainfracloud.org +# eclipse help center - ticket 5293 +eclipse.fedorainfracloud.org # # These are in the new cloud diff --git a/master.yml b/master.yml index 05cb12acad..dec4db482a 100644 --- a/master.yml +++ b/master.yml @@ -125,6 +125,7 @@ - include: /srv/web/infra/ansible/playbooks/hosts/darkserver-dev.fedorainfracloud.org.yml - include: /srv/web/infra/ansible/playbooks/hosts/data-analysis01.phx2.fedoraproject.org.yml - include: /srv/web/infra/ansible/playbooks/hosts/developer.fedorainfracloud.org.yml +- include: /srv/web/infra/ansible/playbooks/hosts/eclipse.fedorainfracloud.org.yml - include: /srv/web/infra/ansible/playbooks/hosts/fas2-dev.fedorainfracloud.org.yml - include: /srv/web/infra/ansible/playbooks/hosts/fas3-dev.fedorainfracloud.org.yml # Temporarily disabled due to tests diff --git a/playbooks/hosts/eclipse.fedorainfracloud.org.yml b/playbooks/hosts/eclipse.fedorainfracloud.org.yml new file mode 100644 index 0000000000..b4a7a50952 --- /dev/null +++ b/playbooks/hosts/eclipse.fedorainfracloud.org.yml @@ -0,0 +1,29 @@ +- name: check/create instance + hosts: eclipse.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: eclipse.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 }}/yumrepos.yml" + + tasks: + - include: "{{ tasks }}/cloud_setup_basic.yml" + - name: set hostname (required by some services, at least postfix need it) + shell: "hostname {{inventory_hostname}}"