summaryrefslogtreecommitdiff
path: root/chaos-at-home/ch-jump.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-04-11 04:33:35 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-04-11 04:33:35 +0200
commit0977596360b0a2c6a875114624d4afc8b9823718 (patch)
treed18204036e54b553311b108936ee802223d4efcc /chaos-at-home/ch-jump.yml
parentch-jump: finalize config (diff)
add new config file barrier for core/sshd
Diffstat (limited to 'chaos-at-home/ch-jump.yml')
-rw-r--r--chaos-at-home/ch-jump.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/chaos-at-home/ch-jump.yml b/chaos-at-home/ch-jump.yml
index 38d794ab..5c170e07 100644
--- a/chaos-at-home/ch-jump.yml
+++ b/chaos-at-home/ch-jump.yml
@@ -8,3 +8,12 @@
- role: core/zsh
- role: core/ntp
- role: core/admin-users
+ post_tasks:
+ - name: blub
+ blockinfile:
+ marker: "# {mark} ansible jump-host specific config"
+ block: |
+ Match user blub
+ PasswordAuthentication no
+ insertafter: '^### ansible core/sshd config barrier ###'
+ dest: /etc/ssh/sshd_config