metrics-for-apps: enable playbook on ocpworker nodes

Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
David Kirwan 2021-07-21 13:29:48 +01:00
parent 40ac393700
commit a4996141de
2 changed files with 3 additions and 2 deletions

View file

@ -1064,7 +1064,7 @@ ocp02.ocp.stg.iad2.fedoraproject.org
ocp03.ocp.stg.iad2.fedoraproject.org
[ocp_workers_stg]
#worker01.ocp.stg.iad2.fedoraproject.org
worker01.ocp.stg.iad2.fedoraproject.org
worker02.ocp.stg.iad2.fedoraproject.org
worker03.ocp.stg.iad2.fedoraproject.org

View file

@ -16,7 +16,7 @@
# - 192.168.2.2
# gateway
# deploy_host: # http server serving ignition files
- hosts: os_control_stg:ocp_controlplane_stg
- hosts: os_control_stg:ocp_controlplane_stg:ocp_workers_stg
user: root
gather_facts: false
@ -63,6 +63,7 @@
dest: /srv/web/infra/bigfiles/tftpboot/rhcos/{{ mac0 | lower | replace(":","-") }}
mode: 0755
delegate_to: 127.0.0.1
when: inventory_hostname in groups['ocp_workers_stg']
tags:
- ignition
- repo