Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix-pull-errors'
Browse files Browse the repository at this point in the history
  • Loading branch information
lrvick committed Dec 30, 2018
2 parents 9f937b7 + 5c1ab4a commit 6ffdde7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions ansible/tasks/dns/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,16 @@

with_items:
- unbound

# TODO This is a hotfix, try and merge with above if possible
- name: Enable & restat services
when: not dockerenv.stat.exists
systemd:
name: "{{ item }}"
enabled: yes
masked: no
state: restarted # TODO: This should be a handler instead

with_items:
- unbound-resolvconf
- resolvconf
2 changes: 1 addition & 1 deletion ansible/tasks/hashbang/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
gpg --keyserver "$server" --recv-keys "{{ item }}" && break || : ; \
done
sshkey=$(gpg --export-ssh-key {{ item }})
if ! grep -q $sshkey /root/.ssh/authorized_keys; then
if ! grep -q "$sshkey" /root/.ssh/authorized_keys; then
echo $sshkey | tee -a /root/.ssh/authorized_keys
fi
args:
Expand Down

0 comments on commit 6ffdde7

Please sign in to comment.