Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"become: yes" is missing in various places #106

Open
lindt opened this issue Jul 24, 2019 · 0 comments
Open

"become: yes" is missing in various places #106

lindt opened this issue Jul 24, 2019 · 0 comments

Comments

@lindt
Copy link
Contributor

lindt commented Jul 24, 2019

Using the ansible roles without --become is impossible. Many steps currently require super user privileges. Would prefer to run the ansible roles without executing everything as super user and just use super user privileges when needed.

- yum:
    name: icinga2
    state: present

Expected Behavior

- yum:
    name: icinga2
    state: present
  become: yes .   # would prefer this explicit super user privileges

Possible Solution

Adding behave: yes to places where super user privileges are required.

Steps to Reproduce (for bugs)

Execute the roles without --become

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

No branches or pull requests

1 participant