From 036024a564120ea9dd9da2a8136f09275c6b46a8 Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 19 Nov 2020 14:12:20 +0100 Subject: Remove unused files --- roles/ssh/tasks/generate_dns.yml | 8 -------- roles/ssh/tasks/main.yml | 23 ----------------------- 2 files changed, 31 deletions(-) delete mode 100644 roles/ssh/tasks/generate_dns.yml delete mode 100644 roles/ssh/tasks/main.yml (limited to 'roles/ssh/tasks') 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 -- cgit v1.2.3