Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,16 @@

- name: Set keepcache=1
lineinfile: dest=/etc/yum.conf regexp=^keepcache= line=keepcache=1

- name: Correct Subsystem option
lineinfile: dest=/etc/ssh/sshd_config
regexp="^Subsystem"
line="Subsystem sftp internal-sftp"
notify:
- restart sshd

handlers:
- name: restart sshd
service:
name: sshd
state: restarted