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, 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.
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.