2023. 11. 6. 12:59ㆍIT System Engineer
# Ansible-AWX docker 기반 설치
yum -y install epel-release git gcc yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum -y install ansible python-pip
yum -y install docker-ce
systemctl enable docker
systemctl start docker
pip install -U pip docker-compose==1.23.2
git clone -b 14.1.0 https://github.com/Ansible/awx.git
cd awx/installer
ansible-playbook -i inventory install.yml
sudo pip3 uninstall docker docker-py docker-compose
sudo pip3 install docker-compose
sudo yum install docker docker.io -y
yum install python3 python36-docker -y
pip3 install docker-compose
ansible-playbook -i inventory install.yml
pip3 install docker
### Ansible 구성
vi /etc/ansible/ansible.cfg
[defaults]
host_key_checking = False
(ECDSA) to the list of known hosts.\r\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
ssh-copy-id localhost
'IT System Engineer' 카테고리의 다른 글
Linux 상위 프로세서 확인 (Linux higher processors check) (0) | 2023.11.06 |
---|---|
Linux firewalld 설정 (Linux firewalld settings) (0) | 2023.11.06 |
Linux Disk 확장/증설 (Linux Disk Extension) (0) | 2023.11.06 |
Linux OS Golden Image ISO 생성 (Create Linux OS Golden Image ISO) (0) | 2023.11.06 |
Linux 절전모드해제 (Linux Disable sleep mode) (0) | 2023.11.06 |