IAC 썸네일형 리스트형 [리눅스] fabric2 자동화 배포 툴 설치 fabric2 자동화 배포 툴 설치 https://pypi.org/project/fabric2/ 테스트 환경 $ cat /etc/os-release NAME="Ubuntu" VERSION="18.04.6 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.6 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-p.. 더보기 [Ansible] setup 모듈(setup module) Ansible setup 모듈 : ansible facts를 수집하는 setup 모듈 ansible facts : ansible facts는 운영체제, IP주소, 연결된 파일시스템 등을 포함하여 원격시스템과 관련된 데이터 setup 모듈 사용 방법 ansible -i inventory/hosts -m setup localhost $ ansible -i inventory/hosts -m setup localhost bvm41 | SUCCESS => { "ansible_facts": { "ansible_all_ipv4_addresses": [ "192.168.56.11", "192.168.101.199" ], "ansible_all_ipv6_addresses": [ "fe80::a00:27ff:fe9d:ea.. 더보기 이전 1 다음