diff --git a/inventory/host_vars/hrf.cloud.fedoraproject.org b/inventory/host_vars/hrf.cloud.fedoraproject.org deleted file mode 100644 index a76c48354f..0000000000 --- a/inventory/host_vars/hrf.cloud.fedoraproject.org +++ /dev/null @@ -1,10 +0,0 @@ ---- -instance_type: m1.small -image: "{{ el6_qcow_id }}" -keypair: fedora-admin-20130801 -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)" diff --git a/playbooks/hosts/hrf.cloud.fedoraproject.org.yml b/playbooks/hosts/hrf.cloud.fedoraproject.org.yml deleted file mode 100644 index b3eafe2a8b..0000000000 --- a/playbooks/hosts/hrf.cloud.fedoraproject.org.yml +++ /dev/null @@ -1,59 +0,0 @@ -- name: check/create instance - hosts: hrf.cloud.fedoraproject.org - user: root - gather_facts: False - - vars_files: - - /srv/web/infra/ansible/vars/global.yml - - "/srv/private/ansible/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 - - "/srv/private/ansible/vars.yml" - - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - - tasks: - - include: "{{ tasks }}/cloud_setup_basic.yml" - - handlers: - - include: "{{ handlers }}/restart_services.yml" - -- name: deploy hrf - hosts: hrf.cloud.fedoraproject.org - user: root - gather_facts: True - - vars_files: - - /srv/web/infra/ansible/vars/global.yml - - "/srv/private/ansible/vars.yml" - - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - - tasks: - - name: install deps - yum: state=present name={{ item }} - with_items: - - httpd - - python-flask - - python-fedmsg-meta-fedora-infrastructure - - fedmsg - - mod_wsgi - - htop # not a dep, but handy - - git - - fail2ban - - - name: enable fail2ban and start it - shell: chkconfig fail2ban on && service fail2ban start - - - name: clone the flask repo - git: repo=git://github.com/fedora-infra/hrf.git dest=/srv/www/hrf accept_hostkey=true - - - name: enable port 80 - command: lokkit -p '80:tcp'