aboutsummaryrefslogtreecommitdiffstats
path: root/roles/ssh/tasks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-19 14:12:20 +0100
committerbinary <me@rgoncalves.se>2020-11-19 14:12:20 +0100
commit036024a564120ea9dd9da2a8136f09275c6b46a8 (patch)
tree510453ec6189e0845c79715bd4d4aeff694242a6 /roles/ssh/tasks
parent668b623654df9af9a0c40478ffd493c17283780f (diff)
downloadinfrastructure-036024a564120ea9dd9da2a8136f09275c6b46a8.tar.gz
Remove unused files
Diffstat (limited to 'roles/ssh/tasks')
-rw-r--r--roles/ssh/tasks/generate_dns.yml8
-rw-r--r--roles/ssh/tasks/main.yml23
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
remember that computers suck.