mirror of
https://github.com/willshersystems/ansible-sshd
synced 2025-01-11 09:40:18 +01:00
Set explicit path to the main configuration file to work well with the drop-in directory
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
parent
295f1930d4
commit
9345faa5a1
2 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
- /etc/ssh/sshd_config.d/00-ansible_system_role.conf
|
- /etc/ssh/sshd_config.d/00-ansible_system_role.conf
|
||||||
- /etc/ssh/sshd_config_custom
|
- /etc/ssh/sshd_config_custom
|
||||||
- /etc/ssh/sshd_config_custom_second
|
- /etc/ssh/sshd_config_custom_second
|
||||||
|
- /tmp/ssh_host_ecdsa_key
|
||||||
tasks:
|
tasks:
|
||||||
- name: "Backup configuration files"
|
- name: "Backup configuration files"
|
||||||
include_tasks: tasks/backup.yml
|
include_tasks: tasks/backup.yml
|
||||||
|
@ -52,6 +53,7 @@
|
||||||
include_role:
|
include_role:
|
||||||
name: ansible-sshd
|
name: ansible-sshd
|
||||||
vars:
|
vars:
|
||||||
|
sshd_config_file: /etc/ssh/sshd_config
|
||||||
sshd:
|
sshd:
|
||||||
Banner: /etc/issue
|
Banner: /etc/issue
|
||||||
Ciphers: aes192-ctr
|
Ciphers: aes192-ctr
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
- /etc/ssh/sshd_config.d/00-ansible_system_role.conf
|
- /etc/ssh/sshd_config.d/00-ansible_system_role.conf
|
||||||
- /etc/ssh/sshd_config_custom
|
- /etc/ssh/sshd_config_custom
|
||||||
- /etc/ssh/sshd_config_custom_second
|
- /etc/ssh/sshd_config_custom_second
|
||||||
|
- /tmp/ssh_host_ecdsa_key
|
||||||
tasks:
|
tasks:
|
||||||
- name: "Backup configuration files"
|
- name: "Backup configuration files"
|
||||||
include_tasks: tasks/backup.yml
|
include_tasks: tasks/backup.yml
|
||||||
|
@ -57,6 +58,7 @@
|
||||||
roles:
|
roles:
|
||||||
- ansible-sshd
|
- ansible-sshd
|
||||||
vars:
|
vars:
|
||||||
|
sshd_config_file: /etc/ssh/sshd_config
|
||||||
sshd:
|
sshd:
|
||||||
Banner: /etc/issue
|
Banner: /etc/issue
|
||||||
Ciphers: aes192-ctr
|
Ciphers: aes192-ctr
|
||||||
|
|
Loading…
Reference in a new issue