cmoa install ansible v2

This commit is contained in:
havelight-ee
2023-02-16 21:40:53 +09:00
parent a98fc02ef7
commit 60c7d6a5b8
50 changed files with 53 additions and 109 deletions

View File

@@ -1,13 +1,11 @@
# ansible installer
1. 사전 작업 필요
- 각 서버에 ssh-key 배포 후 연결
- 확인 명령어
: ansible all -m ping
- CentOS ansible 설치 방법
: yum install -y python3
: pip3 install --upgrade --ignore-installed pip setuptools
: pip3 install ansible
: 00_ansible_setup 폴더 내 setup_local.sh 실행
- 각 서버에 ssh-key 배포
- 확인 명령어
: ansible all -m ping -i <inventory file>
2. 수정필요파일
- inventory
@@ -23,4 +21,4 @@
3. 실행 방법
: ansible-playbook cmoa_install.yaml
or
: ansible-playbook cmoa_install.yaml -i inventory_cmoa2
: ansible-playbook cmoa_install.yaml -i <inventory file>