Linux/Ansible: Difference between revisions
< Linux
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
</pre></blockquote> | </pre></blockquote> | ||
== Step-by-step == | |||
# Configure SSH Key access (->[[Linux/SSH]]) | |||
# | |||
Revision as of 12:42, 17 May 2019
Other articles |
Install
sudo apt-get install -y software-properties-common sudo add-apt-repository -y ppa:ansible/ansible sudo apt-get update sudo apt-get install -y ansible
Commands
ansible --version
ansible-playbook pb-machinex.yml
ansible hostname -m setup # variables for "hostname"
Step-by-step
- Configure SSH Key access (->Linux/SSH)