mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
[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:
@@ -24,7 +24,7 @@
|
||||
cert_alias: default
|
||||
keystore_path: "{{ remote_tmp_dir }}/{{ test_keystore_path }}"
|
||||
keystore_pass: changeme_keystore
|
||||
keystore_create: yes
|
||||
keystore_create: true
|
||||
state: present
|
||||
register: result_success
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
cert_alias: default_new
|
||||
keystore_path: "{{ remote_tmp_dir }}/{{ test_keystore_path }}"
|
||||
keystore_pass: changeme_keystore
|
||||
keystore_create: yes
|
||||
keystore_create: true
|
||||
state: present
|
||||
ignore_errors: true
|
||||
register: result_wrong_pass
|
||||
@@ -58,7 +58,7 @@
|
||||
cert_alias: default
|
||||
keystore_path: "{{ remote_tmp_dir }}/{{ test_keystore_path }}"
|
||||
keystore_pass: changeme_keystore
|
||||
keystore_create: yes
|
||||
keystore_create: true
|
||||
state: present
|
||||
ignore_errors: true
|
||||
register: result_excl_params
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
pkcs12_password: "{{ test_keystore2_password }}"
|
||||
keystore_path: "{{ test_keystore2_path }}"
|
||||
keystore_pass: "{{ test_keystore2_password }}"
|
||||
keystore_create: yes
|
||||
keystore_create: true
|
||||
|
||||
- name: List newly created keystore content
|
||||
ansible.builtin.command:
|
||||
@@ -138,8 +138,8 @@
|
||||
pkcs12_password: "{{ test_keystore2_password }}"
|
||||
keystore_path: "{{ test_keystore2_path }}"
|
||||
keystore_pass: "{{ test_keystore2_password }}"
|
||||
keystore_create: yes
|
||||
ignore_errors: yes
|
||||
keystore_create: true
|
||||
ignore_errors: true
|
||||
register: result_x509_changed
|
||||
|
||||
- name: Verify the x509 status is failed
|
||||
@@ -153,7 +153,7 @@
|
||||
cert_path: "{{ test_cert_path }}"
|
||||
keystore_path: "{{ test_keystore2_path }}"
|
||||
keystore_pass: "{{ test_keystore2_password }}"
|
||||
keystore_create: yes
|
||||
keystore_create: true
|
||||
state: present
|
||||
register: result_x509_changed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user