Ansible
AWX Module 확인
후니옹
2024. 5. 6. 02:35
- AWX 에서 사용할 수 있는 기본 Module 확인할 수 있다
- 현재 AWX 는 K3s Pod 로 구성이 되어 있음을 참고
# kubectl get pods -n awx
NAME READY STATUS RESTARTS AGE
awx-c879db8c5-nrhtj 4/4 Running 8 (35d ago) 125d
awx-postgres-13-0 1/1 Running 2 (35d ago) 125d
awx-operator-controller-manager-577f6968b5-v6tqd 2/2 Running 7 (20h ago) 125d
# kubectl exec -it awx-c879db8c5-nrhtj /bin/bash
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
Defaulted container "redis" out of: redis, awx-web, awx-task, awx-ee, init (init), init-projects (init)
root@awx-c879db8c5-nrhtj:/data#
root@awx-c879db8c5-nrhtj:/data#
root@awx-c879db8c5-nrhtj:/data# exit
# kubectl exec -it awx-c879db8c5-nrhtj -c awx-ee -- /bin/bash
bash-5.1$
bash-5.1$ ansible-galaxy collection list
# /usr/share/ansible/collections/ansible_collections
Collection Version
----------------------- -------
@NAMESPACE@.@NAME@ 3.0.1
amazon.aws 5.4.0
ansible.posix 1.5.1
ansible.windows 1.13.0
awx.awx 21.14.0
azure.azcollection 1.15.0
community.vmware *
google.cloud 1.1.3
kubernetes.core 2.4.0
openstack.cloud 2.0.0
redhatinsights.insights 1.0.7
theforeman.foreman 3.9.0