Try setting up taiga.cloud.fp.o.
This commit is contained in:
parent
cb1b69f84a
commit
1de7493ce7
3 changed files with 63 additions and 0 deletions
20
inventory/host_vars/taiga.cloud.fedoraproject.org
Normal file
20
inventory/host_vars/taiga.cloud.fedoraproject.org
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
instance_type: m1.medium
|
||||
image: "{{ f20_qcow_id }}"
|
||||
keypair: fedora-admin-20130801
|
||||
security_group: webserver
|
||||
zone: nova
|
||||
hostbase: taiga
|
||||
public_ip: 209.132.184.50
|
||||
root_auth_users: ralph maxamillion
|
||||
description: taiga frontend server
|
||||
tcp_ports: [22, 80, 443]
|
||||
|
||||
volumes:
|
||||
- volume_id: 409b3419-e17d-466d-b98e-8f3f53310df8
|
||||
device: /dev/vdc
|
||||
|
||||
cloud_networks:
|
||||
# persistent-net
|
||||
- net-id: "7c705493-f795-4c3a-91d3-c5825c50abfe"
|
||||
|
|
@ -798,6 +798,8 @@ koschei.cloud.fedoraproject.org
|
|||
209.132.184.166
|
||||
# copr keygen instance
|
||||
copr-keygen.cloud.fedoraproject.org
|
||||
# taiga for kanban-style project planning
|
||||
taiga.cloud.fedoraproject.org
|
||||
|
||||
[jenkins-slaves]
|
||||
# EL-6 builder
|
||||
|
|
41
playbooks/hosts/taiga.cloud.fedoraproject.org.yml
Normal file
41
playbooks/hosts/taiga.cloud.fedoraproject.org.yml
Normal file
|
@ -0,0 +1,41 @@
|
|||
- name: check/create instance
|
||||
hosts: taiga.cloud.fedoraproject.org
|
||||
user: fedora
|
||||
sudo: True
|
||||
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_new.yml"
|
||||
- name: clean out old known_hosts for copr-be-dev
|
||||
local_action: known_hosts path={{item}} host=copr-be-dev.cloud.fedoraproject.org state=absent
|
||||
ignore_errors: True
|
||||
with_items:
|
||||
- /root/.ssh/known_hosts
|
||||
- /etc/ssh/ssh_known_hosts
|
||||
- include: "{{ tasks }}/growroot_cloud.yml"
|
||||
|
||||
- name: setup all the things
|
||||
hosts: taiga.cloud.fedoraproject.org
|
||||
user: fedora
|
||||
sudo: True
|
||||
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
|
||||
|
||||
pre_tasks:
|
||||
- include: "{{ tasks }}/cloud_setup_basic.yml"
|
||||
- name: set hostname (required by some services, at least postfix need it)
|
||||
shell: "hostname {{inventory_hostname}}"
|
||||
|
||||
roles:
|
||||
- base
|
||||
# TODO -- more goes here..
|
Loading…
Add table
Add a link
Reference in a new issue