Proxy nginx + torrent client

This commit is contained in:
git
2024-02-22 15:07:50 +01:00
parent 77dffb383d
commit b46cd74c72
7 changed files with 120 additions and 32 deletions

View File

@@ -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'}}"

View File

@@ -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: