aboutsummaryrefslogtreecommitdiff
path: root/roles/signed_certificate/tasks
diff options
context:
space:
mode:
authorGravatar meisterfischy <60467061+meisterfischy@users.noreply.github.com> 2021-12-21 16:27:10 +0100
committerGravatar GitHub <noreply@github.com> 2021-12-21 16:27:10 +0100
commit4ac52292b45bf4724560e88c58520dc64b97663e (patch)
treea768a6edf209c864c5d396d013eb41837718c895 /roles/signed_certificate/tasks
parentd5b4cae435fe04c2370d515cbcf8d89b39366d8a (diff)
downloadansible_collection-4ac52292b45bf4724560e88c58520dc64b97663e.tar.gz
Spelling
Diffstat (limited to 'roles/signed_certificate/tasks')
-rw-r--r--roles/signed_certificate/tasks/main.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/roles/signed_certificate/tasks/main.yml b/roles/signed_certificate/tasks/main.yml
index d5491ac..4e214d2 100644
--- a/roles/signed_certificate/tasks/main.yml
+++ b/roles/signed_certificate/tasks/main.yml
@@ -1,9 +1,9 @@
---
-- name: Unset cert_changed flag
+- name: Unset cert_changed Flag
set_fact:
cert_changed: False
-- name: Instaall crypt libs
+- name: Install crypt libs
apt:
name:
- python3-cryptography
@@ -25,7 +25,7 @@
become: yes
when: key_check.failed
-- name: Check file permissions for Key
+- name: Check File Permissions for Key
file:
path: '{{ key_path }}/{{ cert_name }}.key'
state: file
@@ -35,7 +35,7 @@
become: yes
when: not key_check.failed
-- name: Read existing Certificate
+- name: Read Existing Certificate
community.crypto.x509_certificate_info:
path: '{{ cert_path }}/{{ cert_name }}.pem'
valid_at:
@@ -44,7 +44,7 @@
become: yes
register: existing_cert
-- name: Check certificate
+- name: Check Certificate
assert:
that:
- existing_cert.valid_at.point_1
@@ -56,6 +56,6 @@
ignore_errors: yes
register: cert_assert
-- name: Trigger Cert generation
+- name: Trigger Cert Generation
include: sign.yml
when: cert_assert.failed