Add a osbs-dev instance to persistent

This commit is contained in:
Kevin Fenzi 2015-12-14 19:11:08 +00:00
parent ce277722b0
commit 6405e83492
3 changed files with 46 additions and 0 deletions

View file

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

View file

@ -980,6 +980,8 @@ developer.fedorainfracloud.org
pdc.fedorainfracloud.org
# insim
insim.fedorainfracloud.org
# osbs devel machine
osbs-dev.fedorainfracloud.org
#
# These are in the new cloud

View file

@ -0,0 +1,25 @@
- name: check/create instance
hosts: osbs-dev.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_new.yml"
- name: setup all the things
hosts: osbs-dev.fedorainfracloud.org
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}}"