diff options
Diffstat (limited to 'roles/ssh/tasks')
-rw-r--r-- | roles/ssh/tasks/generate_dns.yml | 8 | ||||
-rw-r--r-- | roles/ssh/tasks/main.yml | 23 |
2 files changed, 0 insertions, 31 deletions
diff --git a/roles/ssh/tasks/generate_dns.yml b/roles/ssh/tasks/generate_dns.yml deleted file mode 100644 index 60a21bd..0000000 --- a/roles/ssh/tasks/generate_dns.yml +++ /dev/null @@ -1,8 +0,0 @@ - -# ssh ~~ tasks/local_dns.yml - -- name: Generate template to localhost - template: - src: templates/generate_dns.j2 - dest: "{{ lookup('env', 'HOME') }}/.ssh/config.d/ssh_dns" - delegate_to: 127.0.0.1 diff --git a/roles/ssh/tasks/main.yml b/roles/ssh/tasks/main.yml deleted file mode 100644 index 0fc2dee..0000000 --- a/roles/ssh/tasks/main.yml +++ /dev/null @@ -1,23 +0,0 @@ - -# ssh ~~ tasks/main.yml - ---- - -- name: Generate sshd configuration - template: - src: templates/sshd_config.j2 - dest: /etc/ssh/sshd_config - owner: root - group: "{{ group_root }}" - mode: "0644" - -- name: Restart sshd - service: - name: sshd - state: restarted - -- name: Check ssh connection - wait_for: - port: 22 - delay: 1 - state: started |