update copr-fe-dev to point to new Fedora Cloud
This commit is contained in:
parent
cbe493c262
commit
b8ebb4a803
2 changed files with 26 additions and 12 deletions
|
@ -1,14 +1,22 @@
|
||||||
---
|
---
|
||||||
instance_type: m1.medium
|
instance_type: m1.medium
|
||||||
image: "{{ f20_qcow_id }}"
|
image: "Fedora-Cloud-Base-20141203-21"
|
||||||
keypair: fedora-admin-20130801
|
keypair: fedora-admin-20130801
|
||||||
security_group: webserver
|
security_group: web-80-anywhere-persistent,web-443-anywhere-persistent,ssh-anywhere-persistent,default
|
||||||
zone: nova
|
zone: nova
|
||||||
hostbase: copr-fe-dev-
|
hostbase: copr-fe-dev-
|
||||||
public_ip: 209.132.184.183
|
public_ip: 209.132.184.53
|
||||||
root_auth_users: bkabrda ryanlerch pingou msuchy tradej asamalik vgologuz
|
root_auth_users: bkabrda ryanlerch pingou msuchy tradej asamalik vgologuz
|
||||||
description: copr frontend server - dev instance
|
description: copr frontend server - dev instance
|
||||||
tcp_ports: [22, 80, 443]
|
tcp_ports: [22, 80, 443]
|
||||||
|
# volumes: copr-fe-dev-db
|
||||||
|
volumes: [ {volume_id: '74fde12a-7f37-4003-9218-f82fadaf4ea7', device: '/dev/vdc'} ]
|
||||||
|
inventory_tenant: persistent
|
||||||
|
# name of machine in OpenStack
|
||||||
|
inventory_instance_name: copr-fe-dev
|
||||||
|
cloud_networks:
|
||||||
|
# persistent-net
|
||||||
|
- net-id: "a4c8289e-eeaa-4070-9ea7-789ed5da6632"
|
||||||
|
|
||||||
# Copr vars
|
# Copr vars
|
||||||
copr_hostbase: copr-fe-dev
|
copr_hostbase: copr-fe-dev
|
||||||
|
|
|
@ -1,21 +1,27 @@
|
||||||
- name: check/create instance
|
- name: check/create instance
|
||||||
hosts: copr-front-stg:copr-front
|
#hosts: copr-front-stg:copr-front
|
||||||
#hosts: copr-front
|
hosts: copr-front-stg
|
||||||
user: root
|
user: fedora
|
||||||
|
sudo: True
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
|
|
||||||
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"
|
||||||
|
- /srv/web/infra/ansible/vars/fedora-cloud.yml
|
||||||
|
- /srv/private/ansible/files/openstack/passwords.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- 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-front-stg:copr-front
|
#hosts: copr-front-stg:copr-front
|
||||||
#hosts: copr-front
|
hosts: copr-front-stg
|
||||||
|
user: fedora
|
||||||
|
sudo: True
|
||||||
|
gather_facts: True
|
||||||
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"
|
||||||
|
@ -26,9 +32,9 @@
|
||||||
shell: "hostname {{copr_hostbase}}.cloud.fedoraproject.org"
|
shell: "hostname {{copr_hostbase}}.cloud.fedoraproject.org"
|
||||||
|
|
||||||
- name: provision instance
|
- name: provision instance
|
||||||
hosts: copr-front:copr-front-stg
|
#hosts: copr-front:copr-front-stg
|
||||||
#hosts: copr-front
|
hosts: copr-front-stg
|
||||||
user: root
|
user: fedora
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue