ansible-role-bootstrap
ansible-role-bootstrap copied to clipboard
Alma 8 Failing Bootstrap install bootstrap packages (package)
Describe the bug
Failing to complete install bootstrap packages (package)
with Alma Linux 8 (and I'm assuming CentOS 8) with the following error
Output
failed: [almalinux8] (item=sudo) => {"ansible_loop_var": "item", "changed": false, "item": "sudo", "msg": "This command has to be run under the root user.", "results": []}
Solution
Change to become: yes
https://github.com/robertdebock/ansible-role-bootstrap/blob/ab0109effdc67fc4fec3062b77b425588f78d643/tasks/main.yml#L52