Advertisement
Guest User

Untitled

a guest
Jan 6th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. ********************ansible.cfg****************
  2. [defaults]
  3. inventory = inventory
  4.  
  5. # This is a convenient setting for a brand-new Streisand server that
  6. # you are connecting to for the first time. However, this line should be
  7. # commented out if you are connecting to an existing server where a
  8. # known_hosts entry has already been created. Host key checking happens
  9. # by default in Ansible.
  10. # host_key_checking = False
  11.  
  12. # Workaround for https://github.com/ansible/ansible/issues/13401
  13. scp_if_ssh = True
  14.  
  15. # Some providers take a long time to actually begin accepting
  16. # connections even after the OpenSSH daemon has started.
  17. timeout = 100
  18.  
  19. [ssh_connection]
  20. pipelining = True
  21.  
  22. ****************************iventory file************************
  23. [localhost]
  24. localhost ansible_python_interpreter=python
  25.  
  26. # Uncomment the following lines and update the IP address if you would
  27. # like to use Streisand to configure a server that is already running
  28. # (e.g. a server at a provider not natively supported by Streisand).
  29. #
  30. # Multiple servers can be configured simultaneously if multiple IP
  31. # addresses are defined.
  32. #
  33. # If you already have SSH fingerprints for the hosts you are configuring
  34. # (e.g. using `ssh-keyscan`) then you should also comment out the
  35. # 'host_key_checking = False' line in the ansible.cfg file. That setting
  36. # is only sensible and convenient when connecting to a brand-new host.
  37. #
  38. #
  39. # If the SSH user to be used to login is not "root", specify it here with
  40. # the ansible_user directive. Streisand will sudo automatically. If sudo
  41. # requires a password, use the --ask-become-pass command line option.
  42. #
  43. 10.10.10.10
  44. 255.255.255.255 ansible_user=user
  45. --ask-become-pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement