mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-01 02:33:10 +01:00
15 lines
311 B
YAML
15 lines
311 B
YAML
- name: create sshd_config
|
|
template:
|
|
src: "sshd_config.j2"
|
|
dest: /etc/ssh/sshd_config
|
|
owner: root
|
|
group: root
|
|
mode: '0644'
|
|
notify: sshd restart
|
|
when: run_once_sshd is not defined
|
|
|
|
- name: run the sshd tasks once
|
|
set_fact:
|
|
run_once_sshd: true
|
|
when: run_once_sshd is not defined
|