atomic-host-tests icon indicating copy to clipboard operation
atomic-host-tests copied to clipboard

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

Open miabbott opened this issue 8 years ago • 2 comments

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

https://github.com/projectatomic/rpm-ostree/issues/898#issuecomment-318445339

miabbott avatar Jul 27 '17 18:07 miabbott

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 avatar Jul 27 '17 18:07 miabbott

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

miabbott avatar Jul 27 '17 18:07 miabbott