AWX(Ansbie) 설치

미룰 수 없다. AWX

Ansible로 제어하는 작업이 늘어나며 GUI 환경이 필요해졌다. 도와줘요 AWX!

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.[1]

원문

awx=

사전조건

  • kubernetes 클러스터가 있는 상태(미니쿠베도 좋다!)

설치

echo 'kubenetes 상태 확인'
$ kubectl get nodes
echo 'awx-opeartor clone and checkout latest release'
$ git clone https://github.com/ansible/awx-operator
echo '마지막 릴리즈가 0.14.0이므로 쳌아웃'
$ git checkout 0.14.0
echo '배포'
$ export NAMESPACE=awx-namespace
$ make deploy
$ kubectl get pods -n $NAMESPACE

하면서 났던 에러들

kubectl get codes 안됨

이슈

$ kubectl get nodes
The connection to the server localhost:8080 was refused - did you specify the right host or port?

해결

  1. sudo 권한으로 실행하지 않았음
  2. 혹은 root 계정으로 실행하지 않았음

참조

[1] Ansible Official Homepage : https://github.com/ansible/awx [2]] https://engineering.linecorp.com/ko/blog/ansible-awx-for-provisioning-1/ [3] https://www.linuxtechi.com/install-ansible-awx-kubernetes-minikube/ [4] https://github.com/ansible/awx-operator/tree/b2479c8014002bd190a12455b72b92847fb5d21b