cmoa install ansible v2
This commit is contained in:
12
README.md
12
README.md
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user