From 5b197fbca6b960060c1b3ade5560b4cfbc1c4848 Mon Sep 17 00:00:00 2001
From: Petr OspalĂ˝
Date: Tue, 15 Jan 2019 10:49:30 +0100
Subject: Fix logging problem for ansible-playbook
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Ansible could not write to the log because the ansible is run inside
a chroot env. and on read-only fs - this is solved by adding new rw mount.
Change-Id: I874063ad99948a55f9227d5e7eae05d3eaabe535
Issue-ID: OOM-1575
Signed-off-by: Petr OspalĂ˝
---
ansible/ansible.cfg | 1 +
1 file changed, 1 insertion(+)
(limited to 'ansible/ansible.cfg')
diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg
index c2ee3ff3..0978b814 100644
--- a/ansible/ansible.cfg
+++ b/ansible/ansible.cfg
@@ -6,3 +6,4 @@
# relative path ./application is mapped into ansible container under
# /ansible/application where application roles should be found
roles_path = /ansible/application
+log_path = /ansible/log/ansible.log
--
cgit 1.2.3-korg