Ansible-OpenShift-Provisioning icon indicating copy to clipboard operation
Ansible-OpenShift-Provisioning copied to clipboard

File server with root userid fails

Open ryoung1us opened this issue 2 years ago • 0 comments

If a userid of root is used, the path of /home/root is attempted. If the use of root is allowed, it should use /root not /home/root. If root is not "supported", it should be rejected by the code and it should be documented as never to use, instead of not recommended.

TASK [Set libvirt management to libvirt group instead of root.] **************************************************************************************************** changed: [rdbkkvm4] TASK [Create file for user's custom libvirt configurations.] ******************************************************************************************************* fatal: [rdbkkvm4]: FAILED! => {"changed": false, "msg": "Error, could not touch target: [Errno 2] No such file or directory: b'/home/root/.config/libvirt/libvirt.conf'", "path": "/home/root/.config/libvirt/libvirt.conf"} PLAY RECAP ********************************************************************************************************************************************************* 127.0.0.1 : ok=9 changed=4 unreachable=0 failed=0 skipped=31 rescued=0 ignored=0
rdbkkvm4 : ok=12 changed=7 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0

ryoung1us avatar Jun 01 '23 12:06 ryoung1us