atomic-host-tests
atomic-host-tests copied to clipboard
fix sanity test to use active user when running 'rpm-ostree status'
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
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
Yeah, we should rework the command_user_verify role to use that ⬆️