Add shogun-ca instance per ticket 4032
This commit is contained in:
parent
ff67503a15
commit
06a239ac71
3 changed files with 42 additions and 0 deletions
11
inventory/host_vars/209.132.184.157
Normal file
11
inventory/host_vars/209.132.184.157
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
instance_type: m1.large
|
||||||
|
image: $f19_qcow_id
|
||||||
|
keypair: fedora-admin-20130801
|
||||||
|
security_group: webserver
|
||||||
|
zone: nova
|
||||||
|
hostbase: shogun-ca-
|
||||||
|
public_ip: 209.132.184.157
|
||||||
|
root_auth_users: @shogun-ca
|
||||||
|
description: shogun-ca instance, see ticket 4032, besser82 contact
|
||||||
|
volumes: ['-d /dev/vdb vol-00000022']
|
|
@ -400,6 +400,8 @@ copr-be-dev.cloud.fedoraproject.org
|
||||||
copr-fe-dev.cloud.fedoraproject.org
|
copr-fe-dev.cloud.fedoraproject.org
|
||||||
#hrf
|
#hrf
|
||||||
hrf.cloud.fedoraproject.org
|
hrf.cloud.fedoraproject.org
|
||||||
|
#shogun-ca.cloud.fedoraproject.org
|
||||||
|
209.132.184.157
|
||||||
|
|
||||||
|
|
||||||
[jenkins-slaves]
|
[jenkins-slaves]
|
||||||
|
|
29
playbooks/hosts/shogun-ca.cloud.fedoraproject.org.yml
Normal file
29
playbooks/hosts/shogun-ca.cloud.fedoraproject.org.yml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
- name: check/create instance
|
||||||
|
hosts: 209.132.184.157
|
||||||
|
user: root
|
||||||
|
gather_facts: False
|
||||||
|
|
||||||
|
vars_files:
|
||||||
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
- ${private}/vars.yml
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- include: $tasks/persistent_cloud.yml
|
||||||
|
- include: $tasks/growroot_cloud.yml
|
||||||
|
|
||||||
|
- name: provision instance
|
||||||
|
hosts: 209.132.184.157
|
||||||
|
user: root
|
||||||
|
gather_facts: True
|
||||||
|
|
||||||
|
vars_files:
|
||||||
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
- ${private}/vars.yml
|
||||||
|
- ${vars}/${ansible_distribution}.yml
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- include: $tasks/cloud_setup_basic.yml
|
||||||
|
- include: $tasks/postfix_basic.yml
|
||||||
|
|
||||||
|
handlers:
|
||||||
|
- include: $handlers/restart_services.yml
|
Loading…
Add table
Add a link
Reference in a new issue