summaryrefslogtreecommitdiff
path: root/chaos-at-home/ch-jump.yml
blob: 5c170e07eee67cb5784b8a4b34c6a4a1328bc8b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
- name: Basic Setup
  hosts: ch-jump
  roles:
  - role: apt-repo/base
  - role: core/base
  - role: core/sshd
  - 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