Skip to content
Snippets Groups Projects
Commit 6c961fa5 authored by lavado's avatar lavado
Browse files

Added log file to Ansible generator


Change-Id: Icff07fa8d30c49133cefad191a6606813e7256f5
Signed-off-by: default avatarlavado <glavado@whitestack.com>
parent 3edf018e
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,8 @@ def create_ansible_cfg():
with open(ansible_config_path, 'w') as f:
f.write('[defaults]\n')
f.write('host_key_checking = False\n')
# logs playbook execution attempts to the specified path
f.write('log_path = /var/log/ansible.log\n')
# Function to find the playbook path
def find(pattern, path):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment