Hi all
Hoping someone can help me.
We have recently installed awx operator, running inside minikube.
Everything is working as expected, and can run multiple jobs.
The prblem I’m currently having is being able to grab files form the ansible controller to copy to the selected host.
Example:
- hosts: sonarqube.platsoft.lan
tasks:
- name:
template: src=/etc/nginx/conf.d/nginx.conf.j2 dest=/etc/nginx/conf.d/y.conf
The above task should copy the nginx.conf.j2 on the controller to the host right?
I am getting an error stating “Could not find or access file on ansible controller”.
Im just a bit confused. Where should the files be placed for the playbook to see them on the controller? Do they need to be within one of the containers, or on the VM hosting the containers?
Please help
Thank you in advance!