summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-06-18 12:10:39 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-06-19 09:28:35 +0000
commiteb121fa655a34e411f344bc51ce6e10dca78233e (patch)
tree61b51072c172d2f6e4e621ed8d09c9ca83b4e297
parentdffea7f8770e40e73880e07689232cecdac0126a (diff)
downloadansible-baserock/pedroalvarez/ansible.tar.gz
Add morph file to enable logging in /var/log/ansiblebaserock/pedroalvarez/ansible
-rw-r--r--ansible.cfg2
-rw-r--r--ansible.morph6
2 files changed, 8 insertions, 0 deletions
diff --git a/ansible.cfg b/ansible.cfg
new file mode 100644
index 0000000000..c9a810d262
--- /dev/null
+++ b/ansible.cfg
@@ -0,0 +1,2 @@
+[defaults]
+log_path=/var/log/ansible/log
diff --git a/ansible.morph b/ansible.morph
new file mode 100644
index 0000000000..439de84ca5
--- /dev/null
+++ b/ansible.morph
@@ -0,0 +1,6 @@
+name: ansible
+kind: chunk
+build-system: python-distutils
+post-install-commands:
+- mkdir -p "$DESTDIR"/var/log/ansible
+- install -D -m644 ansible.cfg "$DESTDIR/etc/ansible/ansible.cfg"