From 983d2ffc0dd86be5bdb18fc172025a0fc1569af0 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 26 Sep 2019 16:57:16 +0200 Subject: [PATCH] mdapi: Remove the playbook as mdapi is now fully in openshift Signed-off-by: Pierre-Yves Chibon --- playbooks/groups/mdapi.yml | 66 -------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 playbooks/groups/mdapi.yml diff --git a/playbooks/groups/mdapi.yml b/playbooks/groups/mdapi.yml deleted file mode 100644 index 4132308d42..0000000000 --- a/playbooks/groups/mdapi.yml +++ /dev/null @@ -1,66 +0,0 @@ -- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mdapi:mdapi_stg" - -- name: make the box be real - hosts: mdapi_stg:mdapi - 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 - - pre_tasks: - - import_tasks: "{{ tasks_path }}/yumrepos.yml" - - roles: - - base - - rkhunter - - nagios_client - - hosts - - fas_client - - rsyncd - - sudo - - { role: openvpn/client, - when: env != "staging" } - - collectd/base - - tasks: - - import_tasks: "{{ tasks_path }}/2fa_client.yml" - - import_tasks: "{{ tasks_path }}/motd.yml" - - handlers: - - import_tasks: "{{ handlers_path }}/restart_services.yml" - -- name: deploy mdapi itself - hosts: mdapi_stg:mdapi - user: root - gather_facts: True - - vars_files: - - /srv/web/infra/ansible/vars/global.yml - - "/srv/private/ansible/vars.yml" - - "{{ vars_path }}/{{ ansible_distribution }}.yml" - - roles: - - mdapi - - { role: plus-plus-service, when: env == "staging" } - - handlers: - - import_tasks: "{{ handlers_path }}/restart_services.yml" - -- name: set up fedmsg - hosts: mdapi_stg:mdapi - user: root - gather_facts: True - - vars_files: - - /srv/web/infra/ansible/vars/global.yml - - "/srv/private/ansible/vars.yml" - - "{{ vars_path }}/{{ ansible_distribution }}.yml" - - roles: - - fedmsg/base - - handlers: - - import_tasks: "{{ handlers_path }}/restart_services.yml"