aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--group_vars/all.yml6
-rw-r--r--roles/ssh_dns/tasks/main.yml6
2 files changed, 12 insertions, 0 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml
index a42d8cc..a8a4543 100644
--- a/group_vars/all.yml
+++ b/group_vars/all.yml
@@ -23,6 +23,7 @@ packages:
alpine:
extra: "shadow"
java: "openjdk8-jre"
+ neovim: "neovim"
node_exporter: "prometheus-node-exporter"
sshfs: "sshfs"
wireguard: "wireguard-virt wireguard-tools ip6tables"
@@ -32,11 +33,13 @@ packages:
java: "jdk-openjdk"
neovim: "neovim python-pynvim"
node_exporter: "prometheus-node-exporter-bin"
+ qutebrowser: "qutebrowser"
sshfs: "sshfs"
wireguard: "wireguard-dkms wireguard-tools"
debian:
extra: ""
+ neovim: "neovim"
node_exporter: "node_exporter"
sshfs: "sshfs"
wireguard: "wireguard"
@@ -44,6 +47,7 @@ packages:
freebsd:
extra: ""
java: ""
+ neovim: "neovim"
node_exporter: "node_exporter"
sshfs: "fusefs-sshfs"
wireguard: "wireguard"
@@ -51,6 +55,8 @@ packages:
openbsd:
extra: ""
java: ""
+ neovim: "neovim"
node_exporter: "node_exporter"
+ qutebrowser: "qutebrowser"
sshfs: "sshfs-fuse"
wireguard: "wireguard-tools"
diff --git a/roles/ssh_dns/tasks/main.yml b/roles/ssh_dns/tasks/main.yml
index c134d1b..0942e68 100644
--- a/roles/ssh_dns/tasks/main.yml
+++ b/roles/ssh_dns/tasks/main.yml
@@ -4,6 +4,12 @@
---
+- name: create config directory
+ file:
+ path: "{{ lookup('env', 'HOME') }}/.ssh/config.d"
+ state: directory
+ mode: 0700
+
- name: Generate template to localhost
template:
src: templates/generate_dns.j2
remember that computers suck.