Add glittergallery-dev persistent cloud instance. Ticket 4818

This commit is contained in:
Kevin Fenzi 2015-07-10 16:16:35 +00:00
parent 664c5c7a68
commit d3a906956c
3 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,18 @@
---
image: "{{ fedora21_x86_64 }}"
instance_type: m1.medium
keypair: fedora-admin-20130801
security_group: ssh-anywhere-persistent,web-80-anywhere-persistent,default,web-443-anywhere-persistent
zone: nova
tcp_ports: [22, 80, 443]
inventory_tenant: persistent
inventory_instance_name: glittergallery-dev
hostbase: glittergallery-dev
public_ip: 209.132.184.60
root_auth_users: sonalkr132 sarupbanskota
description: glittergallery GSoC work
cloud_networks:
# persistent-net
- net-id: "67b77354-39a4-43de-b007-bb813ac5c35f"

View file

@ -830,6 +830,8 @@ copr-fe-dev.cloud.fedoraproject.org
taiga.cloud.fedoraproject.org
# graphite/statsd/grafana exploration
grafana.cloud.fedoraproject.org
# glittergallery GSoC dev work
glittergallery-dev.fedorainfracloud.org
[jenkins-slaves]
# EL-6 builder

View file

@ -0,0 +1,31 @@
- name: check/create instance
hosts: glittergallery-dev.fedorainfracloud.org
user: fedora
sudo: True
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_new.yml"
- include: "{{ tasks }}/growroot_cloud.yml"
- name: setup all the things
hosts: glittergallery-dev.fedorainfracloud.org
user: fedora
sudo: True
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)
shell: "hostname {{inventory_hostname}}"