* linting Signed-off-by: Sebastian Gumprich <[email protected]> * more linting Signed-off-by: Sebastian Gumprich <[email protected]> * change line length issues Signed-off-by: Sebastian Gumprich <[email protected]> * replace yes with true in tasks Signed-off-by: Sebastian Gumprich <[email protected]> * use manual line-wrapping because ansible-lint does not support it correctly. see https://github.com/ansible/ansible-lint/issues/2522 * use manual line-wrapping because ansible-lint does not support it correctly. see https://github.com/ansible/ansible-lint/issues/2522 Signed-off-by: Sebastian Gumprich <[email protected]> * use manual line-wrapping because ansible-lint does not support it correctly. see https://github.com/ansible/ansible-lint/issues/2522 Signed-off-by: Sebastian Gumprich <[email protected]> * add exception for task Signed-off-by: Sebastian Gumprich <[email protected]> * remove trailing whitespace * add back deleted params Signed-off-by: Sebastian Gumprich <[email protected]> * add back deleted params Signed-off-by: Sebastian Gumprich <[email protected]> * add back tasks Signed-off-by: Sebastian Gumprich <[email protected]>
11 lines
381 B
YAML
11 lines
381 B
YAML
---
|
|
- name: Set ciphers according to openssh-version if openssh >= 5.3
|
|
ansible.builtin.set_fact:
|
|
ssh_ciphers: "{{ ssh_ciphers_53_default }}"
|
|
when: sshd_version is version('5.3', '>=')
|
|
|
|
- name: Set ciphers according to openssh-version if openssh >= 6.6
|
|
ansible.builtin.set_fact:
|
|
ssh_ciphers: "{{ ssh_ciphers_66_default }}"
|
|
when: sshd_version is version('6.6', '>=')
|