Skip to content

Conversation

@nikolyabb
Copy link

@nikolyabb nikolyabb commented Apr 22, 2018

To solve #12

  1. Changed sudoers privilege grant from /etc/sudoers to /etc/sudoers.d/username
  2. Delete user step moved from handlers to tasks/main.yml
  3. Added check if replacement user exist

Hope it will also help with #10

@mikolak-net
Copy link
Owner

This is pending setting up a proper CI env.

Copy link
Owner

@mikolak-net mikolak-net left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First of all, terribly sorry for taking so long to get around to this.

Looks good, but for one minor thing.


- name: Verify if replace_user exists
stat:
path: "/etc/sudoers.d/{{ raspi_config_replace_user['name'] }}"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small remark - shouldn't this also include the pseudo-priority prefix, in line with how the directory is organized by default?

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

Successfully merging this pull request may close these issues.

2 participants