feat ansible ssh configuration
This commit is contained in:
6
ansible/roles/myInfra.dev.homesrv01/handlers/main.yml
Normal file
6
ansible/roles/myInfra.dev.homesrv01/handlers/main.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- import_tasks: services.ssh.yml
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: SSH - Restart Service
|
||||
become: true
|
||||
ansible.builtin.service:
|
||||
daemon_reload: true
|
||||
name: ssh
|
||||
enabled: true
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user