You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If authorized_key is going to be executed via sudo, like in solution of 2nd exercise ,make sure that the collection is available for root.
sudo ansible-galaxy collection list ansible.posix
Otherwise will get below error. "The module authorized_key was redirected to ansible.posix.authorized_key, which could not be loaded."
To fix just re-run collection installation through sudo
authorized_key and openssh_keypair are not part of ansible-core.
And need to be installed separately
If authorized_key is going to be executed via sudo, like in solution of 2nd exercise ,make sure that the collection is available for root.
sudo ansible-galaxy collection list ansible.posix
Otherwise will get below error.
"The module authorized_key was redirected to ansible.posix.authorized_key, which could not be loaded."
To fix just re-run collection installation through sudo
sudo ansible-galaxy collection install ansible.posix
The text was updated successfully, but these errors were encountered: