1 Rookie
•
41 Posts
0
933
April 23rd, 2023 11:00
Powerscale Ansible - ansible_debug.log creation issue
Hi @jennifer_john,
I think I found the issue with ansible_debug.log file not being created.
It looks like the log file requires in the playbook a connection type of connection: local.
We never use this connection type in our playbooks and I'm hoping you would agree that this should not be a requirement for the debug log file to be created.
Let me know if there is a workaround we can use in the meantime.
thanks.
glenn.
No Events found!
jennifer_john
1 Rookie
•
79 Posts
0
April 24th, 2023 13:00
Hi @gdny
I just tried with connection: ssh with hosts: (host where the playbook execution happens) and the log file is generated at the root folder of the specified host in hosts variable
ansible@ansible-vm:~$ ls
ansible_powerscale.log
Could you also verify if the log is generated at the specified remote host?
Thanks,
Jennifer
gdny
1 Rookie
•
41 Posts
0
April 24th, 2023 07:00
Hi @jennifer_john ,
I don't set connection so I'm guessing the default is used "ssh".
the "hosts" value never changes, so I'm sure that's not the issue.
hope this is what you were looking for.
thanks.
glenn.
jennifer_john
1 Rookie
•
79 Posts
0
April 24th, 2023 07:00
gdny
1 Rookie
•
41 Posts
0
April 25th, 2023 06:00
@jennifer_john ,
Thanks, I did finally find the file. It wasn't in the root folder of the remote host, but it was in the $HOME directory for that user. I didn't find it before, even though I looked because I was using a service account and apparently my user did not have access to that users home directory.
thanks for helping me find it.
glenn.