Add new lists-dev.fedorainfracloud.org instance to new cloud.

This commit is contained in:
Kevin Fenzi 2015-07-21 17:32:39 +00:00
parent f836b82390
commit 39e3e62bd3
4 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,22 @@
---
image: rhel7-20141015
instance_type: m1.large
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: lists-dev
hostbase: lists-dev
public_ip: 209.132.184.180
root_auth_users: abompard
description: lists development work
volumes:
- volume_id: 99941e86-2656-4491-8efc-3bf1e5cbff19
device: /dev/vdb
cloud_networks:
# persistent-net
- net-id: "67b77354-39a4-43de-b007-bb813ac5c35f"

View file

@ -835,6 +835,8 @@ fas3-dev.fedorainfracloud.org
faitout.fedorainfracloud.org
# darkserver development instance
darkserver-dev.fedorainfracloud.org
# lists development instance
lists-dev.fedorainfracloud.org
[jenkins-slaves]
# EL-6 builder

View file

@ -117,6 +117,7 @@
- include: /srv/web/infra/ansible/playbooks/hosts/junk01.phx2.fedoraproject.org.yml
# Waiting for rhel7 python3 and reinstall
#- include: /srv/web/infra/ansible/playbooks/hosts/lists-dev.cloud.fedoraproject.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/lists-dev.fedorainfracloud.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/shogun-ca.cloud.fedoraproject.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/taiga.cloud.fedoraproject.org.yml
- include: /srv/web/infra/ansible/playbooks/hosts/glittergallery-dev.fedorainfracloud.org.yml

View file

@ -0,0 +1,30 @@
- name: check/create instance
hosts: lists-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"
- name: setup all the things
hosts: lists-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}}"