-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
onr(get): add task to ensure user and group exist
Otherwise this role fails - as it's setting permissions for users and groups which may not exist yet.
- Loading branch information
1 parent
a77c659
commit 3f49db9
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
- name: Ensure {{ boe_install_group }} group exists | ||
ansible.builtin.group: | ||
name: {{ boe_install_group }} | ||
|
||
- name: Ensure {{ boe_install_user }} user exists | ||
ansible.builtin.user: | ||
name: {{ boe_install_user }} | ||
group: {{ boe_install_group }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters