Skip to content

Commit

Permalink
Merge pull request #23 from jpiron/multiple_match_blocks
Browse files Browse the repository at this point in the history
Allow multiple match blocks
  • Loading branch information
Johan Meiring authored Dec 9, 2017
2 parents 833e3e0 + d8dd18c commit eb63a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
- name: SFTP-Server | Add sshd_config block
blockinfile:
dest: /etc/ssh/sshd_config
marker: '# {mark} SFTP-Server block'
marker: '# {mark} SFTP-Server {{ sftp_group_name }} block'
block: |
Match Group {{ sftp_group_name }}
ChrootDirectory %h
Expand Down

0 comments on commit eb63a70

Please sign in to comment.