You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
Hii
I am currently logging output of playbook runs by setting in ansbile.cfg:
log_path = ansible.log
What would be the simplest way to have one file per playbook run?
I tried to use jinja in ansible.cfg but that didn't work...
thx
Dick
Brian Coca
unread,
Apr 2, 2024, 11:32:16 AM4/2/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
Most configuration settings are not templatable, but you can always do
it when calling it:
for playname in "play1 play2 play3"; do
ANSIBLE_LOG_PATH="ansilbe.${playname}.log" ansilbe-playbook
"${playname}.yml"; done
--
----------
Brian Coca (he/him/yo)
Dick Visser
unread,
Apr 2, 2024, 3:39:56 PM4/2/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
thx, we already use a shell wrapper anyway so this is easy to do.