hrf persistant instance...maybe.
This commit is contained in:
parent
35aad50c70
commit
f79c4d3e69
3 changed files with 39 additions and 0 deletions
10
inventory/host_vars/hrf.cloud.fedoraproject.org
Normal file
10
inventory/host_vars/hrf.cloud.fedoraproject.org
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
instance_type: m1.tiny
|
||||
image: $el6_qcow_id
|
||||
keypair: fedora-admin
|
||||
security_group: webserver
|
||||
zone: nova
|
||||
hostbase: hrf-
|
||||
public_ip: 209.132.184.156
|
||||
root_auth_users: codeblock
|
||||
description: "hrf instance (https://github.com/fedora-infra/hrf)"
|
|
@ -353,6 +353,8 @@ gitlab-dev.cloud.fedoraproject.org
|
|||
# copr dev instances
|
||||
copr-be-dev.cloud.fedoraproject.org
|
||||
copr-fe-dev.cloud.fedoraproject.org
|
||||
#hrf
|
||||
hrf.cloud.fedoraproject.org
|
||||
|
||||
|
||||
[jenkins-slaves]
|
||||
|
|
27
playbooks/hosts/hrf.cloud.fedoraproject.org.yml
Normal file
27
playbooks/hosts/hrf.cloud.fedoraproject.org.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
- name: check/create instance
|
||||
hosts: hrf.cloud.fedoraproject.org
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- ${private}/vars.yml
|
||||
|
||||
tasks:
|
||||
- include: $tasks/persistent_cloud.yml
|
||||
|
||||
- name: provision instance
|
||||
hosts: hrf.cloud.fedoraproject.org
|
||||
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
|
||||
|
||||
handlers:
|
||||
- include: $handlers/restart_services.yml
|
Loading…
Add table
Add a link
Reference in a new issue