Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ********************ansible.cfg****************
- [defaults]
- inventory = inventory
- # This is a convenient setting for a brand-new Streisand server that
- # you are connecting to for the first time. However, this line should be
- # commented out if you are connecting to an existing server where a
- # known_hosts entry has already been created. Host key checking happens
- # by default in Ansible.
- # host_key_checking = False
- # Workaround for https://github.com/ansible/ansible/issues/13401
- scp_if_ssh = True
- # Some providers take a long time to actually begin accepting
- # connections even after the OpenSSH daemon has started.
- timeout = 100
- [ssh_connection]
- pipelining = True
- ****************************iventory file************************
- [localhost]
- localhost ansible_python_interpreter=python
- # Uncomment the following lines and update the IP address if you would
- # like to use Streisand to configure a server that is already running
- # (e.g. a server at a provider not natively supported by Streisand).
- #
- # Multiple servers can be configured simultaneously if multiple IP
- # addresses are defined.
- #
- # If you already have SSH fingerprints for the hosts you are configuring
- # (e.g. using `ssh-keyscan`) then you should also comment out the
- # 'host_key_checking = False' line in the ansible.cfg file. That setting
- # is only sensible and convenient when connecting to a brand-new host.
- #
- #
- # If the SSH user to be used to login is not "root", specify it here with
- # the ansible_user directive. Streisand will sudo automatically. If sudo
- # requires a password, use the --ask-become-pass command line option.
- #
- 10.10.10.10
- 255.255.255.255 ansible_user=user
- --ask-become-pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement