- name: {{ users.googleauth_dir }} | - name: {{ users.googleauth_dir }} | ||||
{%- endif %} | {%- endif %} | ||||
sshd: | |||||
service.running: | |||||
- watch: | |||||
- file: /etc/ssh/sshd_config | |||||
sshd_config: | |||||
file.replace: | |||||
- name: /etc/ssh/sshd_config | |||||
- pattern: '^(ChallengeResponseAuthentication|KbdInteractiveAuthentication).*' | |||||
- repl: '\1 yes' | |||||
{%- endif %} | {%- endif %} |