[cloud09][copr] try to spinup copr-backend-dev in the new cloud

This commit is contained in:
Valentin Gologuzov 2015-03-17 15:51:16 +01:00
parent 892d4243dc
commit fd7b72050d
3 changed files with 29 additions and 11 deletions

View file

@ -0,0 +1,22 @@
---
instance_type: m1.xlarge
flavor_id: 2
# image: "{{ f20_qcow_id }}"
image: "86422ca2-6eeb-435c-87e8-402b3c7c3b7b"
keypair: fas
security_group: ssh-anywhere-coprdev,default
OS_TENANT_ID: "566a072fb1694950998ad191fee3833b"
OS_TENANT_NAME: "coprdev"
zone: nova
hostbase: copr-be-dev2-
public_ip: 209.132.184.49
root_auth_users: bkabrda msuchy tradej pingou vgologuz
description: copr dispatcher and repo server - dev instance
tcp_ports: ['22', '80', '443']
cloud_networks:
- net-id: "53fb02fd-6e97-4cfc-b298-a2ff867daa52"
- net-id: "6797b4e3-28a0-4a14-9689-e506d0cca90d"
# Copr vars
copr_hostbase: copr-be-dev
_copr_be_conf: copr-be.conf-dev

View file

@ -816,6 +816,7 @@ copr-fe-dev.cloud.fedoraproject.org
[copr-back-stg]
copr-be-dev.cloud.fedoraproject.org
copr-be-dev2.cloud.fedoraproject.org
209.132.184.49
[copr-keygen-stg]
209.132.184.124

View file

@ -1,5 +1,6 @@
- name: check/create instance
hosts: copr-be-dev2.cloud.fedoraproject.org
hosts: 209.132.184.49
#hosts: copr-be-dev2.cloud.fedoraproject.org
#hosts: copr-back:copr-back-stg
#hosts: copr-back-stg
user: root
@ -10,14 +11,6 @@
- "/srv/private/ansible/vars.yml"
vars:
OS_AUTH_URL: "https://fed-cloud09.cloud.fedoraproject.org:5000/v2.0"
# With the addition of Keystone we have standardized on the term **tenant**
# # as the entity that owns the resources.
# OS_TENANT_ID: "566a072fb1694950998ad191fee3833b"
# OS_TENANT_NAME: "coprdev"
#
# # In addition to the owning entity (tenant), openstack stores the entity
# # performing the action as the **user**.
# OS_USERNAME: "user"
vars_prompt:
- name: "OS_USERNAME"
@ -35,7 +28,8 @@
- include: "{{ tasks }}/growroot_cloud.yml"
- name: cloud basic setup
hosts: copr-be-dev2.cloud.fedoraproject.org
hosts: 209.132.184.49
#hosts: copr-be-dev2.cloud.fedoraproject.org
#hosts: copr-back:copr-back-stg
#hosts: copr-back-stg
vars_files:
@ -46,7 +40,8 @@
- include: "{{ tasks }}/cloud_setup_basic.yml"
- name: provision instance
hosts: copr-be-dev2.cloud.fedoraproject.org
hosts: 209.132.184.49
#hosts: copr-be-dev2.cloud.fedoraproject.org
#hosts: copr-back:copr-back-stg
#hosts: copr-back-stg
user: root