Add ansible configuration file 19/94119/2
authorMichal Zegan <m.zegan@samsung.com>
Thu, 22 Aug 2019 13:01:07 +0000 (15:01 +0200)
committerMichal Zegan <m.zegan@samsung.com>
Wed, 4 Sep 2019 09:24:52 +0000 (11:24 +0200)
This commit adds the ansible configuration file, that configures
pretty logging and, handling of connections and inventory, etc to
make the playbook nicer to use.

Change-Id: Ibf9eded62f87d338b4b215e8b0b37d80ec86b219
Issue-ID: OOM-2042
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
tools/cicdansible/ansible.cfg [new file with mode: 0644]

diff --git a/tools/cicdansible/ansible.cfg b/tools/cicdansible/ansible.cfg
new file mode 100644 (file)
index 0000000..e74dda5
--- /dev/null
@@ -0,0 +1,18 @@
+#Ansible configuration used when running the playbook.
+[defaults]
+#Stdout callback.
+stdout_callback=debug
+#Default verbosity level, for logging all module outputs.
+verbosity=1
+
+[inventory]
+#Fail when inventory parsing fails.
+any_unparsed_is_failed=true
+
+[connection]
+#Enable ansible pipelining.
+pipelining=true
+
+[ssh_connection]
+#Increase control persist settings.
+ssh_args=-C -o ControlMaster=auto -o ControlPersist=30m