mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-25 04:20:18 +01:00
tests: The new manual pages have different indentation
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
parent
793cca4c97
commit
cea077a704
1 changed files with 3 additions and 3 deletions
|
@ -90,10 +90,10 @@
|
||||||
ansible.builtin.shell: >-
|
ansible.builtin.shell: >-
|
||||||
set -o pipefail && man sshd_config \
|
set -o pipefail && man sshd_config \
|
||||||
| sed 's/\x08.//g' \
|
| sed 's/\x08.//g' \
|
||||||
| grep -o '^ [A-Z][A-Za-z0-9]*\(.\| \)' \
|
| grep -o '^\( \| \)[A-Z][A-Za-z0-9]*\(.\| \)' \
|
||||||
| grep -v "[A-Za-z0-9] $" | grep -v "[^A-Za-z0-9 ]$" \
|
| grep -v "[A-Za-z0-9] $" | grep -v "[^A-Za-z0-9 ]$" \
|
||||||
| awk '{ print $1 }' \
|
| awk '{ print $1 }' \
|
||||||
| grep -v '^$' | grep -v "^Match$"
|
| grep -v '^$' | grep -v "^\(Match\|OpenSSH\|The\|Arguments\|Theo\)$"
|
||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
register: sshd_options
|
register: sshd_options
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
|
|
||||||
- name: Print all the possible options
|
- name: Print all the possible options
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
var: ssh_options.stdout_lines
|
var: sshd_options.stdout_lines
|
||||||
|
|
||||||
- name: Construct the configuration list
|
- name: Construct the configuration list
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|
Loading…
Reference in a new issue