ansible

운영자 | 기사입력 2025/03/14 [06:41]
>
필자의 다른기사 보기 인쇄하기 메일로 보내기 글자 크게 글자 작게
ansible
 
운영자   기사입력  2025/03/14 [06:41]
  yum install -y ansible

ssh-keygen

ssh-copy-id [원격서버계정ID]@[원격서버IP]


ssh-copy-id root@192.168.0.100

/etc/ansible/hosts
에 추가

ansible all -m ping
로 확인 
ansible all -m shell -a "ipr 192.168.0.1"
ansible all -m copy -a "src=~/test.txt dest=~/test.txt"
트위터 트위터 페이스북 페이스북 카카오톡 카카오톡
기사입력: 2025/03/14 [06:41]  최종편집: ⓒ iwav