network/roles/firewall_master/tasks/user.yml

15 lines
291 B
YAML
Raw Normal View History

2023-12-18 10:22:14 +00:00
- name: Create friwall group
group:
name: friwall
system: yes
- name: Create friwall user
user:
name: friwall
system: yes
home: /srv/friwall
shell: /sbin/nologin
generate_ssh_key: yes
ssh_key_comment: "{{ inventory_hostname }}"
ssh_key_type: ed25519