User Tools

Site Tools


tech:ansible:start

Ansible

Add to defaults in `/etc/ansible/ansible.conf`:

[ssh_connection]
ssh_args = -o ServerAliveInterval=n

Append to /etc/ssh/sshd_config on controlled hosts, to allow ansible root SSH connection:

Match Address 192.168.0.25,192.168.0.0/24
	PermitRootLogin prohibit-password

Links: techmain

tech/ansible/start.txt · Last modified: 2021/07/13 02:48 by rk4n3