ansible v2 (release 3.4.9)

This commit is contained in:
havelight-ee
2023-02-16 16:20:12 +09:00
parent 7f08fdd9ff
commit 59a199e50f
3525 changed files with 435537 additions and 62726 deletions

View File

@@ -4,7 +4,10 @@
- 각 서버에 ssh-key 배포 후 연결
- 확인 명령어
: ansible all -m ping
- CentOS ansible 설치 방법
: yum install -y python3
: pip3 install --upgrade --ignore-installed pip setuptools
: pip3 install ansible
2. 수정필요파일
- inventory
@@ -13,9 +16,11 @@
- cmoa_install.yaml
: 이미 kubernetes가깔려있다면 "- role: cmoa_os_setting" 주석 처리
- roles/cmoa_install/default/main.yml
- roles/cmoa_install/defaults/main.yml
: cmoa_version: relx.x.x
3. 실행 방법
: ansible-playbook cmoa_install.yaml
or
: ansible-playbook cmoa_install.yaml -i inventory_cmoa2