mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-15 08:30:46 +02:00
16 lines
428 B
YAML
16 lines
428 B
YAML
- block:
|
|
- name: Include dependency 'user-administrator'
|
|
include_role:
|
|
name: user-administrator
|
|
when: run_once_user_administrator is not defined
|
|
- name: create sshd_config
|
|
template:
|
|
src: "sshd_config.j2"
|
|
dest: /etc/ssh/sshd_config
|
|
owner: root
|
|
group: root
|
|
mode: '0644'
|
|
notify: sshd restart
|
|
- include_tasks: utils/run_once.yml
|
|
when: run_once_sys_svc_sshd is not defined
|