Ansible Tower 의 오픈소스 버전


docker-ce, docker-compose, ansible 설치하고
git 으로 awx 를 clone 받아서 aws/installer/inventory 파일 수정하고
ansible 로 installe 하면 됨





sudo -s
yum -y install yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum -y install epel-release
yum -y install docker-ce docker-ce-cli
pip3 install docker-compose
yum -y install git gcc gcc-c++ ansible nodejs gettext device-mapper-persistent-data lvm2 bzip2 python3-pip libselinux-python3
alternatives --set python /usr/bin/python3
mkdir -p /var/lib/awx/projects


sudo -s
cd ~
git clone https://github.com/ansible/awx.git
cd ~/awx/installer












asdf asdf asdf 



2020.05.

github 에서 awx 를 clone 해서 ansible 을 통해 docker 로 설치하는게 편함

CentOS 8 은 컨테이너 관리를 지원하는 podman 이 기본으로 포함되며, CentOS8에서 docker 설치 지원 X ( RHEL7 패키지로 설치, podman 과 충돌 )

아직 podman 으로 awx 설치하는 문서가 없어서 CentOS 8 에서 AWX 설치 안하는게 나을 듯



SW / HW 사양

Cent 7.4 이상

2코어 / 4GB+ RAM / 20GB+ HDD - 150GB+ 권장

https://docs.ansible.com/ansible-tower/latest/html/quickinstall/prepare.html#prerequisites-and-requirements


설치법

2020.04 CentOS8에 docker-compose 로 AWX 설치, https://www.linuxtechi.com/install-ansible-awx-docker-compose-centos-8/

2018 AWX 설치, https://findstar.pe.kr/2018/04/04/ansible-awx-installation/

2017 Ansible Tower 설치법, NBP 송창안, https://www.facebook.com/groups/ansiblekoreausergroup/permalink/1512491675458354/

2019 AWX 설치, LINE 권용찬, https://engineering.linecorp.com/ko/blog/ansible-awx-for-provisioning-1/

2019 AWX 설치법, 오픈소스 컨설팅, https://tech.osci.kr/2019/05/24/77138487/

Open source GUI for ansible, Reddit, https://www.reddit.com/r/ansible/comments/bcs28g/open_source_gui_for_ansible/

AWX 간소화 버전 https://polemarch.org