I've tried that with the same results. Hmm On Wednesday, October 17, 2018, Kai Stian Olstad < [email protected]> wrote:
> On 17.10.2018 01:09, 'Chris Bidwell - NOAA Federal' via Ansible Project > wrote: > >> So I simplified my playbook a bit. I disabled selinux on both servers and >> I'm still getting an error. >> >> --- >> - name: Check for reboot >> hosts: baseserver-lx >> become: yes >> >> vars_files: >> - passwd.yml >> - vars.yml >> >> vars: >> script_dir: "~/" >> script: "~/needs-restarting.py" >> > > Tilde for home directory is a concept for the shell not Ansible, you need > to use relative or absolute path. > > > -- > Kai Stian Olstad > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ms > gid/ansible-project/37e8d06cf2ea27fee5845d9be21eb5d9%40olstad.com. > For more options, visit https://groups.google.com/d/optout. > -- Chris Bidwell, CISSP Space Weather Prediction Center National Oceanic Atmospheric Administration email: c <[email protected]>[email protected] office: 303-497-3204 mobile: 720-496-3126 -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAHKi8Ci9tBK27T%2BAbqmfO5po6dufeATUVub9yqtK_h7Yh4LE4g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
