Add eclipse cloud instance - ticket 5293

This commit is contained in:
Kevin Fenzi 2016-05-17 17:19:26 +00:00
parent cd40147609
commit f1eff0070a
4 changed files with 50 additions and 0 deletions

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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}}"