Merge pull request #13200 from shanemcd/disable-work-signing

Disable work signing by default in dev env
This commit is contained in:
Shane McDonald
2022-11-16 11:23:53 -05:00
committed by GitHub
6 changed files with 14 additions and 5 deletions

View File

@@ -86,11 +86,13 @@
command: openssl genrsa -out {{ work_sign_private_keyfile }} {{ receptor_rsa_bits }}
args:
creates: "{{ work_sign_private_keyfile }}"
when: sign_work | bool
- name: Generate public RSA key for signing work
command: openssl rsa -in {{ work_sign_private_keyfile }} -out {{ work_sign_public_keyfile }} -outform PEM -pubout
args:
creates: "{{ work_sign_public_keyfile }}"
when: sign_work | bool
- name: Include LDAP tasks if enabled
include_tasks: ldap.yml