[copr] experimenting with new cloud09
This commit is contained in:
parent
5ee8151bb1
commit
7adc5d0a10
3 changed files with 47 additions and 4 deletions
19
inventory/host_vars/copr-be-dev2.cloud.fedoraproject.org
Normal file
19
inventory/host_vars/copr-be-dev2.cloud.fedoraproject.org
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
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.44
|
||||||
|
root_auth_users: bkabrda msuchy tradej pingou vgologuz
|
||||||
|
description: copr dispatcher and repo server - dev instance
|
||||||
|
tcp_ports: ['22', '80', '443']
|
||||||
|
|
||||||
|
# Copr vars
|
||||||
|
copr_hostbase: copr-be-dev
|
||||||
|
_copr_be_conf: copr-be.conf-dev
|
|
@ -815,6 +815,7 @@ copr-fe-dev.cloud.fedoraproject.org
|
||||||
|
|
||||||
[copr-back-stg]
|
[copr-back-stg]
|
||||||
copr-be-dev.cloud.fedoraproject.org
|
copr-be-dev.cloud.fedoraproject.org
|
||||||
|
copr-be-dev2.cloud.fedoraproject.org
|
||||||
|
|
||||||
[copr-keygen-stg]
|
[copr-keygen-stg]
|
||||||
209.132.184.124
|
209.132.184.124
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
- name: check/create instance
|
- name: check/create instance
|
||||||
hosts: copr-back:copr-back-stg
|
hosts: copr-be-dev2.cloud.fedoraproject.org
|
||||||
|
#hosts: copr-back:copr-back-stg
|
||||||
#hosts: copr-back-stg
|
#hosts: copr-back-stg
|
||||||
user: root
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
|
@ -7,13 +8,34 @@
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/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"
|
||||||
|
prompt: "Enter user name for perform actions with OS"
|
||||||
|
|
||||||
|
- name: "OS_PASSWORD"
|
||||||
|
prompt: "Enter OS password"
|
||||||
|
private: yes
|
||||||
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/persistent_cloud.yml"
|
# - include: "{{ tasks }}/persistent_cloud.yml"
|
||||||
|
- include: "{{ tasks }}/persistent_cloud_new.yml"
|
||||||
- include: "{{ tasks }}/growroot_cloud.yml"
|
- include: "{{ tasks }}/growroot_cloud.yml"
|
||||||
|
|
||||||
- name: cloud basic setup
|
- name: cloud basic setup
|
||||||
hosts: copr-back:copr-back-stg
|
hosts: copr-be-dev2.cloud.fedoraproject.org
|
||||||
|
#hosts: copr-back:copr-back-stg
|
||||||
#hosts: copr-back-stg
|
#hosts: copr-back-stg
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
@ -23,7 +45,8 @@
|
||||||
- include: "{{ tasks }}/cloud_setup_basic.yml"
|
- include: "{{ tasks }}/cloud_setup_basic.yml"
|
||||||
|
|
||||||
- name: provision instance
|
- name: provision instance
|
||||||
hosts: copr-back:copr-back-stg
|
hosts: copr-be-dev2.cloud.fedoraproject.org
|
||||||
|
#hosts: copr-back:copr-back-stg
|
||||||
#hosts: copr-back-stg
|
#hosts: copr-back-stg
|
||||||
user: root
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue