aboutsummaryrefslogtreecommitdiffstats
path: root/ansible.cfg
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-02-14 00:18:24 +0800
committerAaron LI <aly@aaronly.me>2018-02-14 00:20:47 +0800
commit7a63ffd9493b0a8b636de26b8f0954cf08a2b9d9 (patch)
treeba9e2c9005f630814681b3a10bfc9a00a2e3bac4 /ansible.cfg
downloadansible-dfly-vps-7a63ffd9493b0a8b636de26b8f0954cf08a2b9d9.tar.bz2
Init ansible playbook for DFly VPS bootstrap
Diffstat (limited to 'ansible.cfg')
-rw-r--r--ansible.cfg20
1 files changed, 20 insertions, 0 deletions
diff --git a/ansible.cfg b/ansible.cfg
new file mode 100644
index 0000000..5ad3e6e
--- /dev/null
+++ b/ansible.cfg
@@ -0,0 +1,20 @@
+#
+# Ansible local config file
+# See `/etc/ansible/ansible.cfg' for the global config file.
+#
+# Aaron LI
+# 2018-02-12
+#
+
+[defaults]
+inventory = ./hosts.yml
+
+# uncomment this to disable SSH key host checking
+#host_key_checking = False
+
+[ssh_connection]
+pipelining = True
+
+# SSH arguments to use
+# Add 'IdentitiesOnly=yes'
+ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s -o IdentitiesOnly=yes