Creating an Ansible Controller
Basic requirements
2 hosts
- controller
- has ansible
- create ssh key as the ansible user
ssh-copy-id <worker>- should be able to ssh with no password -
ssh <workstation>as ansible user
- worker
- has ansible
- has a known password, but can sudo without one.
-
<user> ALL=(ALL) ALL NOPASSWD:ALLwithin sudoers
-