Hi, the error seems like missing permissions to access something on a file system to me. Could you take a look what permissions does the /usr/share/foreman/.ansible have? If it is missing, try:
sudo mkdir -p /usr/share/foreman/.ansible sudo chown foreman:foreman /usr/share/foreman/.ansible You can configure the user that Ansible uses to connect to the target system under Settings -> Ansible. Hope this helps, O. On Tue, Dec 5, 2017 at 4:50 PM, <[email protected]> wrote: > Hi, > > Running a playbook in WebGUI Foreman return an error but work in shell > > [WARNING]: Unable to set correct type for configuration entry: > DEFAULT_LOCAL_TMP > > PLAY [all] > ********************************************************************* > > TASK [Gathering Facts] > ********************************************************* > An exception occurred during task execution. To see the full traceback, use > -vvv. The error was: OSError: [Errno 13] Permission denied: '~' > fatal: [sergeylab01.intra.sepaq.com]: FAILED! => {"failed": true, "msg": > "Unexpected failure during module execution.", "stdout": ""} > to retry, use: --limit > @/tmp/d20171205-29739-1syu1wj/foreman-playbook-4d580b6c-738d-4297-9da6-8a5a8e980c95.retry > > PLAY RECAP > *********************************************************************sergeylab01.intra.sepaq.com > : ok=0 changed=0 unreachable=0 failed=1 > > > OSError : Permission denied so maybe the user that run the playbook in the > WebGUI isn't allow to connect to the remote host but where can I fix that. > > Thanks > > Daniel > > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" 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]. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Foreman users" 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]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
