mirror of
https://github.com/trailofbits/algo.git
synced 2025-04-19 15:47:11 +02:00
fix(update-users): changed generate p12 password task (#1289)
Changed task's module to generic python format for python2 and python3.
This commit is contained in:
parent
b89d406ee0
commit
6233642c66
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
- name: Generate p12 export password
|
||||
local_action:
|
||||
module: 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())])'
|
||||
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())]))'
|
||||
register: p12_password_generated
|
||||
when: p12_password is not defined
|
||||
tags: update-users
|
||||
|
|
Loading…
Add table
Reference in a new issue