ansible

01/11/2020

install

apt install ansible

configure server list

emacs /etc/ansible/hosts
xxx.com
yyy.fr
[all:vars]
ansible_python_interpreter=/usr/bin/python3

# check
ansible-inventory --list -y

use

ansible all -m ping
ansible all -a 'df -h /'

Raccourcis