사용자 도구

사이트 도구


devops:ansible

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
devops:ansible [2021/12/15 16:13]
kwon37xi
devops:ansible [2022/12/30 12:25]
kwon37xi [AWS]
줄 6: 줄 6:
   * [[https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html|Best Practices — Ansible Documentation]]   * [[https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html|Best Practices — Ansible Documentation]]
   * 자동화 툴   * 자동화 툴
 +
 +===== Ubuntu PPA =====
 +  * https://launchpad.net/~ansible/+archive/ubuntu/ansible
 +
 +<code sh>
 +sudo add-apt-repository ppa:ansible/ansible
 +</code>
  
 ===== AWS ===== ===== AWS =====
줄 148: 줄 155:
   * [[https://github.com/linux-system-roles|linux-system-roles]]   * [[https://github.com/linux-system-roles|linux-system-roles]]
   * https://github.com/linux-system-roles   * https://github.com/linux-system-roles
 +
 +===== shell completion =====
 +  * https://docs.ansible.com/ansible/devel/installation_guide/intro_installation.html#shell-completion
 +<code sh>
 +sudo apt install python3-argcomplete
 +</code>
 +  * 아래 항목을 ''.bashrc'' 에 넣는다 배포판에 따라 ''register-python-argcomplete''(''3'' 제외)일 수도 있음. (전역 설정도 가능함)
 +<code sh>
 +# 필히 "" 로 감싸야한다.
 +eval "$(register-python-argcomplete3 ansible)"
 +eval "$(register-python-argcomplete3 ansible-config)"
 +eval "$(register-python-argcomplete3 ansible-console)"
 +eval "$(register-python-argcomplete3 ansible-doc)"
 +eval "$(register-python-argcomplete3 ansible-galaxy)"
 +eval "$(register-python-argcomplete3 ansible-inventory)"
 +eval "$(register-python-argcomplete3 ansible-playbook)"
 +eval "$(register-python-argcomplete3 ansible-pull)"
 +eval "$(register-python-argcomplete3 ansible-vault)"
 +
 +</code>
  
 ===== 참조 ===== ===== 참조 =====
devops/ansible.txt · 마지막으로 수정됨: 2023/01/14 13:38 저자 kwon37xi