From 5c3e244272b149bb94c598cf240a7589c150cb95 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 6 Oct 2015 18:10:59 +0200 Subject: [PATCH] Add a run_fasClient_simple playbook This playbook runs fasClient only on the hosts of interest for most of our users (ie: who are not in sysadmin*). --- playbooks/run_fasClient_simple.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 playbooks/run_fasClient_simple.yml diff --git a/playbooks/run_fasClient_simple.yml b/playbooks/run_fasClient_simple.yml new file mode 100644 index 0000000000..08269f1944 --- /dev/null +++ b/playbooks/run_fasClient_simple.yml @@ -0,0 +1,22 @@ +# Run `fasClient` on the hosts of interest for most of our users (ie: bastion +# for the aliases, fedorapeople, fedorahosted and pkgs.fp.o +# + +- name: run fasClient -a to make email aliases on bastion + hosts: bastion01.phx2.fedoraproject.org:bastion02.phx2.fedoraproject.org + user: root + gather_facts: False + + tasks: + - name: actually run fasClient -a + command: fasClient -a + when: inventory_hostname_short.startswith('bastion0') + +- name: run fasClient on people and hosted and pkgs first as these are the ones most people want updated + hosts: people01.fedoraproject.org:pkgs02.phx2.fedoraproject.org:hosted03.fedoraproject.org + user: root + gather_facts: False + + tasks: + - name: actually run fasClient -i + command: fasClient -i