본문 바로가기

반응형

ansible 명령

우분투에 Ansible을 위한 기본 Bash 완성을 설치하는 방법 우분투에 Ansible을 위한 기본 Bash 완성을 설치하는 방법 1. Bash Completion 패키지 설치 sudo apt-get update sudo apt-get install -y bash-completion 2. Ansible Bash Completion 스크립트 다운로드 sudo wget https://raw.githubusercontent.com/dysosmus/ansible-completion/master/ansible-completion.bash -O /etc/bash_completion.d/ansible 3. Bash Shell 재시작 exec bash 위의 단계를 따르면 Bash에서 Ansible 관련 작업을 할 때 자동 완성 기능을 사용할 수 있게 됩니다. 예를 들어 ansibl.. 더보기
Ansible을 위한 기본 Bash 완성을 설치하는 방법 Ansible을 위한 기본 Bash 완성을 설치하는 방법(Basic bash completion for Ansible) github 다운로드 git clone https://github.com/dysosmus/ansible-completion.git $ ls -l ansible-completion total 68 -rw-rw-r-- 1 vagrant vagrant 5835 Nov 7 14:01 ansible-completion.bash -rw-rw-r-- 1 vagrant vagrant 334 Nov 7 14:01 ansible-doc-completion.bash -rw-rw-r-- 1 vagrant vagrant 1072 Nov 7 14:01 ansible-galaxy-completion.bash -r.. 더보기
[리눅스] ansible apt 모듈(apt module) ansible apt 모듈(apt module) 인벤토리(inventory) 확인 ansible-inventory -i inventory/mycluster/inventory.ini --graph $ ansible-inventory -i inventory/mycluster/inventory.ini --graph @all: |--@etcd: | |--kube-control1 |--@k8s_cluster: | |--@calico_rr: | |--@kube_control_plane: | | |--kube-control1 | |--@kube_node: | | |--kube-node1 | | |--kube-node2 | | |--kube-node3 | | |--kube-node4 | | |--kube-node5 |.. 더보기
[URL] Ansible Documentation URL Ansible Documentation URL https://docs.ansible.com/ansible/latest/getting_started/index.html Getting started with Ansible — Ansible Documentation © Copyright Ansible project contributors. Last updated on Aug 19, 2022. docs.ansible.com 더보기

728x90
반응형