WIP: feat(sharkey): add ansible role for deployment
This commit is contained in:
10
roles/sharkey/tasks/configure.yml
Normal file
10
roles/sharkey/tasks/configure.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: Ensure sharkey user '{{ sharkey_user }}' is {{ sharkey_state }}
|
||||
ansible.builtin.user:
|
||||
name: "{{ sharkey_user }}"
|
||||
state: "{{ sharkey_state }}"
|
||||
system: "{{ sharkey_user_system }}"
|
||||
create_home: "{{ sharkey_user_create_home }}"
|
||||
groups: "{{ sharkey_user_groups }}"
|
||||
append: "{{ sharkey_user_append_groups }}"
|
||||
register: sharkey_user_info
|
||||
Reference in New Issue
Block a user