Advertisement
falkowich

Untitled

Nov 23rd, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. 1. make an user with sudo privs on the hosts.
  2. 2. in /etc/ansible/group_vars/all (if this apply to all hosts)
  3. ansible_user: ansible_user
  4. ansible_become: True
  5. ansible_become_pass: super-sercret-password
  6. 3. encrypt with vault (not done yet, only in test)
  7. 4. in /etc/ansible/ansible.cfg
  8. [defaults]
  9. private_key_file = /etc/ansible/keys/id_rsa
  10. retry_files_save_path = /tmp/.ansible/
  11. [ssh_connection]
  12. control_path_dir = /tmp/.ansible/cp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement