renamed customer user group

This commit is contained in:
ladislav.dusa
2025-04-16 12:36:30 +02:00
parent c2ba911536
commit e6ab9ac621
3 changed files with 20 additions and 0 deletions

5
roles/setup/tasks/main.yml Executable file
View File

@ -0,0 +1,5 @@
- name: Setup
become: "{{ 'no' if inventory_hostname == 'nas.home.lan' else 'yes' }}"
block:
- name: Gather facts
ansible.builtin.setup:

View File

@ -0,0 +1,14 @@
- name: SSHD config Setup
become: "{{ false if inventory_hostname == 'nas.home.lan' else true }}"
block:
- name: Reconfigure sshd
ansible.builtin.replace:
path: /etc/ssh/sshd_config
regexp: "^PermitRootLogin"
replace: "#PermitRootLogin"
- name: Restart ssh service
ansible.builtin.service:
name: ssh
state: restarted
daemon_reload: true
enabled: true

View File

@ -0,0 +1 @@
dest_folder: "/tmp/ans_repo"