mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-02 02:43:01 +02:00
set LANG=c to the p12 password generation task
This commit is contained in:
parent
42a4a2aa58
commit
5485d486ba
1 changed files with 3 additions and 1 deletions
|
@ -7,10 +7,12 @@
|
|||
- name: Generate p12 export password
|
||||
shell: >
|
||||
openssl rand 8 |
|
||||
python -c 'import sys,string; chars=string.ascii_letters + string.digits + "_@"; print("".join([chars[ord(c) % 64] for c in list(sys.stdin.read())]))'
|
||||
python3 -c 'import sys,string; chars=string.ascii_letters + string.digits + "_@"; print("".join([chars[ord(c) % 64] for c in list(sys.stdin.read())]))'
|
||||
register: p12_password_generated
|
||||
when: p12_password is not defined
|
||||
tags: update-users
|
||||
environment:
|
||||
LANG: C
|
||||
become: false
|
||||
delegate_to: localhost
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue