Create iddev.ficloud.o
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
b015134235
commit
b1e544db44
3 changed files with 55 additions and 0 deletions
16
inventory/host_vars/iddev.fedorainfracloud.org
Normal file
16
inventory/host_vars/iddev.fedorainfracloud.org
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
image: rhel7-20141015
|
||||
instance_type: m1.small
|
||||
keypair: fedora-admin-20130801
|
||||
security_group: ssh-anywhere-persistent,web-80-anywhere-persistent,web-443-anywhere-persistent,default
|
||||
zone: nova
|
||||
tcp_ports: [22, 80, 443]
|
||||
|
||||
inventory_tenant: persistent
|
||||
public_ip: 209.132.184.120
|
||||
root_auth_users: puiterwijk pingou
|
||||
description: Instance for OIDC/OAuth development
|
||||
|
||||
cloud_networks:
|
||||
# persistent-net
|
||||
- net-id: "67b77354-39a4-43de-b007-bb813ac5c35f"
|
|
@ -405,6 +405,9 @@ ipsilon02.phx2.fedoraproject.org
|
|||
[ipsilon-stg]
|
||||
ipsilon01.stg.phx2.fedoraproject.org
|
||||
|
||||
[ipsilon-dev]
|
||||
iddev.fedorainfracloud.org
|
||||
|
||||
[dhcp]
|
||||
dhcp01.phx2.fedoraproject.org
|
||||
|
||||
|
|
36
playbooks/hosts/iddev.fedorainfracloud.org.yml
Normal file
36
playbooks/hosts/iddev.fedorainfracloud.org.yml
Normal file
|
@ -0,0 +1,36 @@
|
|||
- name: check/create instance
|
||||
hosts: iddev.fedorainfracloud.org
|
||||
gather_facts: False
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- /srv/private/ansible/vars.yml
|
||||
- /srv/web/infra/ansible/vars/fedora-cloud.yml
|
||||
- /srv/private/ansible/files/openstack/passwords.yml
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/persistent_cloud.yml"
|
||||
|
||||
- name: setup all the things
|
||||
hosts: modernpaste.fedorainfracloud.org
|
||||
gather_facts: True
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- /srv/private/ansible/vars.yml
|
||||
- /srv/private/ansible/files/openstack/passwords.yml
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
roles:
|
||||
- sudo
|
||||
- hosts
|
||||
- apache
|
||||
- base
|
||||
|
||||
pre_tasks:
|
||||
- include: "{{ tasks }}/yumrepos.yml"
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/cloud_setup_basic.yml"
|
||||
- name: set hostname (required by some services, at least postfix need it)
|
||||
shell: "hostname {{inventory_hostname}}"
|
||||
- include: "{{ tasks }}/mod_wsgi.yml"
|
Loading…
Add table
Add a link
Reference in a new issue