Normalize bools in tests (#5996)

* Normalize bools in tests.

* Fix typo.
This commit is contained in:
Felix Fontein 2023-02-15 22:55:23 +01:00 committed by GitHub
parent 4c4ef80ca9
commit 24efe9ee9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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