From 5af3c1968182649a270046015b8490b1ffb25741 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 24 Jul 2018 12:47:08 -0700 Subject: [PATCH] Let's just have one of those playbooks... Signed-off-by: Adam Williamson --- .../manual/openqa-restart-staging-workers.yml | 15 --------------- playbooks/manual/openqa-restart-workers.yml | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 playbooks/manual/openqa-restart-staging-workers.yml diff --git a/playbooks/manual/openqa-restart-staging-workers.yml b/playbooks/manual/openqa-restart-staging-workers.yml deleted file mode 100644 index bf205cf6e0..0000000000 --- a/playbooks/manual/openqa-restart-staging-workers.yml +++ /dev/null @@ -1,15 +0,0 @@ -- name: restart worker services on openQA worker hosts (production) - hosts: openqa-stg-workers - user: root - vars_files: - - /srv/web/infra/ansible/vars/global.yml - - "/srv/private/ansible/vars.yml" - - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - handlers: - - import_tasks: "{{ handlers_path }}/restart_services.yml" - - tasks: - - name: restart all the worker services - service: name=openqa-worker@{{ item }} state=restarted - with_sequence: "count={{ openqa_workers }}" - diff --git a/playbooks/manual/openqa-restart-workers.yml b/playbooks/manual/openqa-restart-workers.yml index 047a37690e..786fbdbc4b 100644 --- a/playbooks/manual/openqa-restart-workers.yml +++ b/playbooks/manual/openqa-restart-workers.yml @@ -1,5 +1,5 @@ - name: restart worker services on openQA worker hosts (production) - hosts: openqa-workers + hosts: openqa-workers:openqa-stg-workers user: root vars_files: - /srv/web/infra/ansible/vars/global.yml