Skip to main content

Creating an Ansible Controller

Basic requirements

2 hosts

  1. controller
    1. has ansible
    2. create ssh key as the ansible user
      1. ssh-copy-id <worker>
      2. should be able to ssh with no password - ssh <workstation> as ansible user
  2. worker
    1. has ansible
    2. has a known password, but can sudo without one.
      1. <user> ALL=(ALL) ALL NOPASSWD:ALL within sudoers
    3.