Proxy nginx + torrent client
This commit is contained in:
@@ -2,5 +2,7 @@
|
||||
# defaults file for create_user
|
||||
primary_group: "{{ user }}"
|
||||
secondary_groups: ''
|
||||
password: ''
|
||||
shell: "/bin/bash"
|
||||
home: "/home/{{ user }}"
|
||||
create_home: "{{ 'false' if (home == '/nonexistent') else 'true'}}"
|
||||
@@ -3,6 +3,7 @@
|
||||
- name: Adding group
|
||||
ansible.builtin.group:
|
||||
name: "{{ primary_group }}"
|
||||
gid: "{{ gid }}"
|
||||
state: present
|
||||
|
||||
- name: Adding user
|
||||
@@ -14,6 +15,7 @@
|
||||
groups: "{{ secondary_groups }}"
|
||||
home: "{{ home }}"
|
||||
password: "{{ password }}"
|
||||
create_home: "{{ create_home }}"
|
||||
|
||||
- name: Dowload ssh key
|
||||
ansible.builtin.uri:
|
||||
|
||||
Reference in New Issue
Block a user