sync up copr-fe-dev playbook with copr-fe
This commit is contained in:
parent
960d87f8ca
commit
727ae15ed3
3 changed files with 12 additions and 2 deletions
2
files/copr/forward-dev
Normal file
2
files/copr/forward-dev
Normal file
|
@ -0,0 +1,2 @@
|
|||
msuchy+coprmachine@redhat.com
|
||||
asamalik@redhat.com
|
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
instance_type: m1.medium
|
||||
image: "{{ f19_qcow_id }}"
|
||||
image: "{{ f20_qcow_id }}"
|
||||
keypair: fedora-admin-20130801
|
||||
security_group: webserver
|
||||
zone: nova
|
||||
hostbase: copr-fe-dev-
|
||||
public_ip: 209.132.184.183
|
||||
root_auth_users: bkabrda ryanlerch pingou msuchy tradej
|
||||
root_auth_users: bkabrda ryanlerch pingou msuchy tradej asamalik
|
||||
description: copr frontend server - dev instance
|
||||
tcp_ports: ['22', '80', '443']
|
||||
|
|
|
@ -31,6 +31,12 @@
|
|||
- name: set the hostname
|
||||
shell: hostname copr-fe-dev.cloud.fedoraproject.org
|
||||
|
||||
- name: copy .forward file
|
||||
action: copy src="{{ files }}/copr/forward-dev" dest=/root/.forward owner=root group=root
|
||||
|
||||
- name: deploy /etc/hosts file
|
||||
action: copy src="{{ files }}/copr/hosts" dest=/etc/hosts owner=root group=root mode=644
|
||||
|
||||
- name: install copr-fe pkgs
|
||||
action: yum state=latest pkg={{ item }}
|
||||
with_items:
|
||||
|
@ -94,4 +100,6 @@
|
|||
- fail2ban
|
||||
|
||||
handlers:
|
||||
- name: restart httpd
|
||||
service: name=httpd state=restarted
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue