Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

fix sanity test to use active user when running 'rpm-ostree status' #214

Open
miabbott opened this issue Jul 27, 2017 · 2 comments
Open

Comments

@miabbott
Copy link
Collaborator

miabbott commented Jul 27, 2017

rpm-ostree has changed to only allow active users to run rpm-ostree status

We need to update the role/test accordingly.

See this comment (and the linked commits) for more detail

coreos/rpm-ostree#898 (comment)

@miabbott
Copy link
Collaborator Author

I think we can do this with a combination of adduser on the host and the become_user Ansible directive.

http://docs.ansible.com/ansible/latest/become.html

@miabbott
Copy link
Collaborator Author

Yeah, we should rework the command_user_verify role to use that ⬆️

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant