summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inventory/host_vars/sk-torrent.yml2
-rw-r--r--roles/sshd/tasks/main.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/inventory/host_vars/sk-torrent.yml b/inventory/host_vars/sk-torrent.yml
index cd691259..631e7dca 100644
--- a/inventory/host_vars/sk-torrent.yml
+++ b/inventory/host_vars/sk-torrent.yml
@@ -21,7 +21,7 @@ install:
interfaces:
- bridge: br-public
name: primary0
- autostart: False
+ autostart: True
network:
nameservers: "{{ hostvars[vm_host].vm_host.network.dns }}"
diff --git a/roles/sshd/tasks/main.yml b/roles/sshd/tasks/main.yml
index 9d35e750..2977d20b 100644
--- a/roles/sshd/tasks/main.yml
+++ b/roles/sshd/tasks/main.yml
@@ -17,7 +17,7 @@
loop_control:
label: "{{ item.key }} = {{ item.value }}"
lineinfile:
- regexp: "^#?\\s*{{ item.key }}"
+ regexp: "^#?\\s*{{ item.key }}\\s"
line: "{{ item.key }} {{ item.value }}"
dest: /etc/ssh/sshd_config
mode: 0644