diff options
author | binary <me@rgoncalves.se> | 2020-11-19 14:12:20 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-19 14:12:20 +0100 |
commit | 036024a564120ea9dd9da2a8136f09275c6b46a8 (patch) | |
tree | 510453ec6189e0845c79715bd4d4aeff694242a6 /roles/ssh/tasks | |
parent | 668b623654df9af9a0c40478ffd493c17283780f (diff) | |
download | infrastructure-036024a564120ea9dd9da2a8136f09275c6b46a8.tar.gz |
Remove unused files
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 |