Hi, I am new to AWX and ansible in general, but interested in automation so decided to start out.
I have deployed AWX using operator and it is up and running. Creating projects using Git as SCM work fine, and I can see these projects in the containers’ /var/lib/awx/projects path. When I try to create a manual project however, I cannot find the playbooks in the AWX GUI (even though I’ve created the project and playbook in /var/lib/awx/projects path on the host and gave the 1000 uid permissions), and if I create a file or directory under /var/lib/awx/projects on the containers, I can’t see them on the host VM’s /var/lib/awx/project. It looks like the containers’ /var/lib/awx/projects and host VM /var/lib/awx/projects are not linked.
For reference, I deployed AWX using the following files:
vi awx-config.yaml
apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
name: awx
namespace: awx
spec:
service_type: nodeport
nodeport_port: 32760
projects_persistence: true
projects_existing_claim: awx-pvc
vi awx-pvc.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: awx-pvc
namespace: awx
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
vi awx-pv.yaml
apiVersion: v1
kind: PersistentVolume
metadata:
name: awx-pv
namespace: awx
spec:
volumeMode: Filesystem
capacity:
storage: 10Gi
accessModes:
- ReadWriteOnce
hostPath:
path: /var/lib/awx/projects
vi kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: awx
resources:
- github(dot)com/ansible/awx-operator/config/default?ref=2.19.1
- awx-pv.yaml
- awx-pvc.yaml
- awx-config.yaml
images:
- name: quay(dot)io/ansible/awx-operator
newTag: 2.19.1
Do you see any glaring issues from the configuration files?
Thanks.