Important CLI commands
ssh-keygen
- generate new ssh-keyssh-copy-id [ip-address]
- copy ssh-key to target hostansible -m ping all
- ping all hosts defined in the ansible hosts fileansible -m shell -a 'hostname' all
- execute a command in bash on all hostsansible-playbook [playbook-name]
- execute the given playbook
Keys are added to ~/.ssh/known_hosts