From 4d21f1c19cb6a9d0a3a125ab8a698e6f676fb626 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 6 Mar 2023 23:04:27 +0100 Subject: [PATCH] More bools. (#580) --- plugins/modules/openssh_keypair.py | 2 +- .../integration/targets/ecs_certificate/tasks/main.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/modules/openssh_keypair.py b/plugins/modules/openssh_keypair.py index 274125fc..35ee6d63 100644 --- a/plugins/modules/openssh_keypair.py +++ b/plugins/modules/openssh_keypair.py @@ -160,7 +160,7 @@ EXAMPLES = ''' - name: Force regenerate an OpenSSH keypair if it already exists community.crypto.openssh_keypair: path: /tmp/id_ssh_rsa - force: True + force: true - name: Generate an OpenSSH keypair with a different algorithm (dsa) community.crypto.openssh_keypair: diff --git a/tests/integration/targets/ecs_certificate/tasks/main.yml b/tests/integration/targets/ecs_certificate/tasks/main.yml index 4fbe41f0..ad74aa34 100644 --- a/tests/integration/targets/ecs_certificate/tasks/main.yml +++ b/tests/integration/targets/ecs_certificate/tasks/main.yml @@ -87,7 +87,7 @@ - block: - name: Have ECS generate a signed certificate ecs_certificate: - backup: True + backup: true path: '{{ example1_cert_path }}' full_chain_path: '{{ example1_chain_path }}' csr: '{{ csr_path }}' @@ -115,7 +115,7 @@ - name: Attempt to have ECS generate a signed certificate, but existing one is valid ecs_certificate: - backup: True + backup: true path: '{{ example1_cert_path }}' full_chain_path: '{{ example1_chain_path }}' csr: '{{ csr_path }}' @@ -145,8 +145,8 @@ - name: Force a reissue with no CSR, verify that contents changed ecs_certificate: - backup: True - force: True + backup: true + force: true path: '{{ example1_cert_path }}' full_chain_path: '{{ example1_chain_path }}' cert_type: '{{ example1_cert_type }}' @@ -182,7 +182,7 @@ csr: '{{ csr_path }}' subject_alt_name: '{{ example4_subject_alt_name }}' eku: '{{ example4_eku }}' - ct_log: True + ct_log: true cert_type: '{{ example4_cert_type }}' org: '{{ example4_org }}' ou: '{{ example4_ou }}'