diff --git a/users.yml b/users.yml index 689e935d..e68e20ca 100644 --- a/users.yml +++ b/users.yml @@ -38,6 +38,7 @@ pre_tasks: - set_fact: IP_subject_alt_name: "{{ IP_subject }}" + easyrsa_p12_export_password: "{{ (ansible_date_time.iso8601_basic|sha1|to_uuid).split('-')[0] }}" roles: - { role: ssh_tunneling, tags: [ 'ssh_tunneling' ], when: ssh_tunneling_enabled is defined and ssh_tunneling_enabled == "y" } @@ -47,9 +48,6 @@ - name: Gather Facts setup: - - set_fact: - easyrsa_p12_export_password: "{{ (ansible_date_time.iso8601_basic|sha1|to_uuid).split('-')[0] }}" - - name: Cheking the signature algorithm local_action: > shell openssl x509 -text -in certs/82.196.1.93.crt | grep 'Signature Algorithm' | head -n1