You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

458 B

Getting Started

sudo ln -s $(realpath hosts) /etc/ansible/hosts

Modify your ~/.ssh/config

Host debian10.dedic106-dhcp.dimti.ru
    Port 22242

Install needed ansible galaxy collections

ansible-galaxy install -g -f -r requirements.yml

Usage

Ping

ansible debian10 -m ping -u root

Playbook

ansible-playbook anygroup.yml

Playbook group only tag

ansible-playbook anygroup.yml -t nginx