Force config with var "ssh_hardening_force"
This commit is contained in:
parent
d21c59007b
commit
63895750ca
|
@ -11,8 +11,14 @@
|
||||||
register: ssh_hardening_version
|
register: ssh_hardening_version
|
||||||
|
|
||||||
|
|
||||||
|
- name: Read forced config file
|
||||||
|
include_vars: "ssh_{{ ssh_hardening_force }}.yml"
|
||||||
|
when: ssh_hardening_force is defined
|
||||||
|
|
||||||
|
|
||||||
- name: Read SSH version config file
|
- name: Read SSH version config file
|
||||||
include_vars: "ssh_{{ ssh_hardening_version.stdout_lines.0 }}.yml"
|
include_vars: "ssh_{{ ssh_hardening_version.stdout_lines.0 }}.yml"
|
||||||
|
when: ssh_hardening_force is not defined
|
||||||
|
|
||||||
|
|
||||||
- name: Read distribution specific variables
|
- name: Read distribution specific variables
|
||||||
|
|
Loading…
Reference in a new issue