From 1fe837bbd4e6f0562d4d6e283fc9488fd409fd61 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Fri, 12 Jan 2018 18:15:49 +0000 Subject: [PATCH] add in a rule for the control --- playbooks/groups/osbs-cluster.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/playbooks/groups/osbs-cluster.yml b/playbooks/groups/osbs-cluster.yml index 454e1e42c6..8ebba585f2 100644 --- a/playbooks/groups/osbs-cluster.yml +++ b/playbooks/groups/osbs-cluster.yml @@ -548,6 +548,20 @@ src: "{{files}}/osbs/cleanup-old-osbs-builds" dest: "/etc/cron.d/cleanup-old-osbs-builds" +- name: post-install osbs control tasks + hosts: osbs-control + tags: osbs-post-install + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - /srv/private/ansible/vars.yml + - /srv/private/ansible/files/openstack/passwords.yml + - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + tasks: + - name: enable nrpe for monitoring (noc01) + iptables: action=insert chain=INPUT destination_port=5666 protocol=tcp source=10.5.126.41 state=present jump=ACCEPT + tags: + - iptables + - name: post-install osbs tasks hosts: osbs-masters-stg:osbs-nodes-stg:osbs-masters:osbs-nodes