mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
Normalize bools in tests (#5996)
* Normalize bools in tests. * Fix typo.
This commit is contained in:
parent
4c4ef80ca9
commit
24efe9ee9a
182 changed files with 770 additions and 770 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue