konstruktoid / ansible-role-docker-rootless

Ansible role to install a rootless Docker server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The conditional check 'not docker_user_bashrc.stat.exists' failed. The error was: error while evaluating conditional

mbwmbw1337 opened this issue · comments


TASK [ansible-roles/ansible-role-docker-rootless : Create Docker user .bashrc] **************************************************************************************************************************************
fatal: [65.75.210.202]: FAILED! => {"msg": "The conditional check 'not docker_user_bashrc.stat.exists' failed. The error was: error while evaluating conditional (not docker_user_bashrc.stat.exists): 'bool object' has no attribute 'stat'. 'bool object' has no attribute 'stat'\n\nThe error appears to be in '/Users/michael/Scripts/provision-server/ansible-roles/ansible-role-docker-rootless/tasks/bashrc.yml': line 8, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create Docker user .bashrc\n  ^ here\n"}

Thanks! I'll have a look as soon as possible

Which distribution (and version) are you running on the target host?