metrics-for-apps: enable playbook on ocpworker nodes
Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
parent
a4996141de
commit
5a0ccee1f8
1 changed files with 16 additions and 7 deletions
|
@ -57,6 +57,19 @@
|
||||||
state: link
|
state: link
|
||||||
src: "/var/www/html/rhcos/rhcos-{{ rhcos_version }}-x86_64-metal.x86_64.raw.gz"
|
src: "/var/www/html/rhcos/rhcos-{{ rhcos_version }}-x86_64-metal.x86_64.raw.gz"
|
||||||
dest: "/var/www/html/rhcos/rhcos-metal.raw"
|
dest: "/var/www/html/rhcos/rhcos-metal.raw"
|
||||||
|
tags:
|
||||||
|
- ignition
|
||||||
|
- repo
|
||||||
|
when: inventory_hostname in groups['os_control_stg']
|
||||||
|
|
||||||
|
- name: == Hardware provisioning == Generating the tftp configuration boot file
|
||||||
|
template:
|
||||||
|
src: ocp_pxeboot.j2
|
||||||
|
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']
|
||||||
|
|
||||||
- name: == Hardware provisioning == Generating the tftp configuration boot file
|
- name: == Hardware provisioning == Generating the tftp configuration boot file
|
||||||
template:
|
template:
|
||||||
src: ocp_pxeboot.j2
|
src: ocp_pxeboot.j2
|
||||||
|
@ -64,10 +77,6 @@
|
||||||
mode: 0755
|
mode: 0755
|
||||||
delegate_to: 127.0.0.1
|
delegate_to: 127.0.0.1
|
||||||
when: inventory_hostname in groups['ocp_workers_stg']
|
when: inventory_hostname in groups['ocp_workers_stg']
|
||||||
tags:
|
|
||||||
- ignition
|
|
||||||
- repo
|
|
||||||
when: inventory_hostname in groups['os_control_stg']
|
|
||||||
|
|
||||||
- name: == OCP KVM provisioning == Checking OCP Virtual Guest exist[s]
|
- name: == OCP KVM provisioning == Checking OCP Virtual Guest exist[s]
|
||||||
virt:
|
virt:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue