From 3d6fe7241ad0652de5a2b4ccb5f931e1ade197e4 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 1 Dec 2017 03:22:10 +0000 Subject: [PATCH] only do some things on batcave01 for now --- roles/batcave/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/batcave/tasks/main.yml b/roles/batcave/tasks/main.yml index c256de59df..2c220d9363 100644 --- a/roles/batcave/tasks/main.yml +++ b/roles/batcave/tasks/main.yml @@ -98,6 +98,7 @@ tags: - batcave - config + when: inventory_hostname.startswith('batcave01') - name: Install program for generating ticket key copy: src=generate_ticketkey dest=/usr/local/bin/generate_ticketkey mode=0755 @@ -110,6 +111,7 @@ tags: - batcave - config + when: inventory_hostname.startswith('batcave01') # # Set selinux booleans we need # @@ -214,12 +216,14 @@ tags: - batcave - config + when: inventory_hostname.startswith('batcave01') - name: install infradocs.sh cron copy: src=infradocs.sh dest=/etc/cron.hourly/infradocs.sh mode=0755 tags: - batcave - config + when: inventory_hostname.startswith('batcave01') # @@ -240,6 +244,7 @@ tags: - batcave - config + when: inventory_hostname.startswith('batcave01') # # Setup job that runs a check/diff ansible run over all playbooks each night. @@ -250,6 +255,7 @@ tags: - batcave - config + when: inventory_hostname.startswith('batcave01') # # sync-rhn cron job @@ -259,6 +265,7 @@ tags: - batcave - config + when: inventory_hostname.startswith('batcave01') # @@ -294,12 +301,14 @@ tags: - batcave - config + when: inventory_hostname.startswith('batcave01') - name: create repo2json cron job copy: src=repo2json.cron dest=/etc/cron.d/repo2json.cron mode=0644 tags: - batcave - config + when: inventory_hostname.startswith('batcave01') # # ansible utils includes our rbac-playbook @@ -328,6 +337,7 @@ tags: - batcave - config + when: inventory_hostname.startswith('batcave01') # # Monday morning run a script to show all the packages we have in infra tags in koji. # @@ -337,12 +347,14 @@ tags: - batcave - config + when: inventory_hostname.startswith('batcave01') - name: Install infra-tags-report cron copy: src=infra-tags-report.cron dest=/etc/cron.d/infra-tags-report.cron mode=0644 tags: - batcave - config + when: inventory_hostname.startswith('batcave01') # # fasClient fedmsg job