Skip to content

Instantly share code, notes, and snippets.

@Barolina
Last active June 16, 2022 14:01
Show Gist options
  • Save Barolina/fa9c9ae326b96df8cb0ee67bc4c03e72 to your computer and use it in GitHub Desktop.
Save Barolina/fa9c9ae326b96df8cb0ee67bc4c03e72 to your computer and use it in GitHub Desktop.
ansible

установка

sudo apt install ansible

для доступа к машине по логину и паролю, для выполнения команды, поребуется усановить

на машину с ansible

apt-get install sshpass

наипростейшая команда на удаленной машине

ansible all -i '192.168.1.35, ' -u user --ask-pass -m ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment