diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-02-04 20:05:23 +0000 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-02-04 20:05:23 +0000 |
commit | 3610ce270fcd849d9e9da66c6d590552b73cc342 (patch) | |
tree | e94b836cf3a3949830650f0c4859c84cbe47ab5d | |
parent | 272b7ed063f79abb368b0eb511dad98d010086ab (diff) | |
download | infra-3610ce270fcd849d9e9da66c6d590552b73cc342.tar.gz infra-3610ce270fcd849d9e9da66c6d590552b73cc342.tar.bz2 infra-3610ce270fcd849d9e9da66c6d590552b73cc342.zip |
Add user d to http group
-rw-r--r-- | essential.yml | 4 | ||||
-rw-r--r-- | roles/users/tasks/main.yml | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/essential.yml b/essential.yml index e8cc8f2..c2705d7 100644 --- a/essential.yml +++ b/essential.yml @@ -3,6 +3,8 @@ roles: - { role: minimal } - { role: sshd } - - { role: users } - { role: sudo } - { role: atop } + # Users should come last in case other roles install packages with system + # user and/or groups creation to achieve proper reentrancy. + - { role: users } diff --git a/roles/users/tasks/main.yml b/roles/users/tasks/main.yml index 83e43f8..864934a 100644 --- a/roles/users/tasks/main.yml +++ b/roles/users/tasks/main.yml @@ -11,6 +11,8 @@ home: /home/d groups: - wheel + # Group http required to deploy websites with rsync under personal + # username. - http - name: Setup SSH directory for Dmitry Ilvokhin |