This repository was archived by the owner on Jan 31, 2025. It is now read-only.
Add ansible user to enable testing of roles with non-root user#11
Open
percygrunwald wants to merge 1 commit intogeerlingguy:masterfrom
Open
Add ansible user to enable testing of roles with non-root user#11percygrunwald wants to merge 1 commit intogeerlingguy:masterfrom
ansible user to enable testing of roles with non-root user#11percygrunwald wants to merge 1 commit intogeerlingguy:masterfrom
Conversation
… to confirm this fact
|
I would also be interessted in such feature as we cannot test playbooks as a normal user (and using become method) 👍 |
baztian
added a commit
to baztian/ansible-vscode
that referenced
this pull request
Feb 8, 2021
until geerlingguy/docker-ubuntu1804-ansible#11 has been merged
|
@geerlingguy Any opinion on this? This is a needed feature to write complete tests with molecule. |
Owner
|
I do like this idea; the PR would need a bit of an update to work with the latest version, and I will only merge once I've had time to get it working across my other docker/ansible images (ubuntu 2004, 2204, debian 9/10/11 at least) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Another change that I wanted to check if you'd consider merging.
Adds a non-root sudoer called
ansibleand ensures thatsudodoes not require a password to match how these images are set up in cloud providers like AWS/Azure/GCP.Can be used with molecule/Docker like this: