Hello. Friends.
I have an Error with awx 23.4.0 currently I have it installed on only node with k3s and I installed it using storageclass hostPath storageClassName: awx-projects-volume
hostPath:
path: /data/projects
My question is how can I use local files so that they can work or be read from my project. My project is on GitHub and syncs well but I cannot use the local files from the /data/projects directory on my server. When I run my playbook, it generates the following error. Could not find or access '/var/lib/awx/projects it’s like it can’t find the path now on my server side the /data/projects directory is mounted in the container in /var/lib/awx/projects however when Executing tasks is as if the route does not enter, any help?
- my code!
- hosts: "{{ servers | replace('\n',',') }}"
gather_facts: false
tasks:
- name: copy file
copy:
src: /var/lib/awx/projects/_12__krs_trura_infra/projects/fs-lvm/fferrin1.txt
dest: /tmp/fferrin2.txt