[ansible-project] Ansible ssh connection issue

2019-07-10 Thread Jim Griffiths
Hi All Ansible is not able to connect to certain servers in my environment. Setting up ssh keys is not really an option because I do not have write access. Even if I did, there are 1300 servers. :-) Please let me know what the issue is and what I can do to resolve. Thank you in advance!

Re: [ansible-project] How to cast stat.mtime (float) to readable date-time

2019-04-11 Thread Jim Griffiths
t something like this: > > - debug: > msg: "Timestamp of {{ path }}: {{ '%c'|strftime(reg.stat.mtime) }}" > > Documentation about the strftime filter can be found at > https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html > > > On

[ansible-project] How to cast stat.mtime (float) to readable date-time

2019-04-11 Thread Jim Griffiths
I need to display the date-time that a file was last updated. The value can be obtained with stat on the file: - name: Get file stats stat: path="{{ path_of_file }}" register: reg - debug: msg: “Timestamp of {{path}}: {{reg.stat.mtime}}” However the output is meaningless be

[ansible-project] test

2018-09-25 Thread Jim Griffiths
test -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@google