[PR #5996/24efe9ee backport][stable-6] Normalize bools in tests (#5997)

Normalize bools in tests (#5996)

* Normalize bools in tests.

* Fix typo.

(cherry picked from commit 24efe9ee9a)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2023-02-16 06:42:27 +01:00
committed by GitHub
parent 4f71c9384e
commit ec7f885e2f
182 changed files with 770 additions and 770 deletions

View File

@@ -36,7 +36,7 @@
- name: Fail for required argument
community.general.ssh_config:
ssh_config_file: "{{ ssh_config_test }}"
ignore_errors: yes
ignore_errors: true
register: host_required
- name: Check if ssh_config fails for required parameter host
@@ -53,7 +53,7 @@
port: '2223'
state: present
register: host_add
check_mode: yes
check_mode: true
- name: Check if changes are made in check mode
assert:
@@ -179,7 +179,7 @@
port: '2223'
state: present
register: mut_ex
ignore_errors: yes
ignore_errors: true
- name: Check mutual exclusive test - user and ssh_config_file
assert:

View File

@@ -18,7 +18,7 @@
host_key_algorithms: "+ssh-rsa"
state: present
register: options_add
check_mode: yes
check_mode: true
- name: Options - Check if changes are made in check mode
assert:
@@ -91,7 +91,7 @@
ssh_config_file: "{{ ssh_config_test }}"
host: "options.example.com"
proxycommand: "ssh new-jumphost.example.com -W %h:%p"
forward_agent: no
forward_agent: false
host_key_algorithms: "+ssh-ed25519"
state: present
register: options_update
@@ -111,7 +111,7 @@
ssh_config_file: "{{ ssh_config_test }}"
host: "options.example.com"
proxycommand: "ssh new-jumphost.example.com -W %h:%p"
forward_agent: no
forward_agent: false
host_key_algorithms: "+ssh-ed25519"
state: present
register: options_update