metrics-for-apps: Ensure the playbook copies environment specific files

to control nodes

Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
David Kirwan 2021-08-17 12:26:54 +09:00
parent 773bb63e35
commit 1868c951a7

View file

@ -29,7 +29,7 @@
mode: 0755
- name: == OCP KVM provisioning == Importing generated Ignition files
template:
src: "/srv/web/infra/bigfiles/openshiftboot/{{ item }}"
src: "/srv/web/infra/bigfiles/openshiftboot/{{ env }}/{{ item }}"
dest: "/var/www/html/rhcos/{{ item }}"
mode: 0755
with_items:
@ -43,8 +43,8 @@
mode: 0644
- name: == OCP KVM provisioning == Copy kubeadmin config files to bastion
copy:
src: "/srv/web/infra/bigfiles/openshiftboot/auth/"
dest: "/root/ocp4/"
src: "/srv/web/infra/bigfiles/openshiftboot/{{ env }}/auth/"
dest: "/root/ocp4/ocp-{{env}}/"
- name: == OCP KVM provisioning == Downloading RHCOS deploy files
get_url:
dest: /var/www/html/rhcos/