vault: Depend on python3-flask-oidc and use python3 for iddev init
This commit is contained in:
parent
560217c405
commit
b8e917fd06
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
||||||
- vault
|
- vault
|
||||||
- python3-mod_wsgi
|
- python3-mod_wsgi
|
||||||
- python3-psycopg2
|
- python3-psycopg2
|
||||||
|
- python3-flask-oidc
|
||||||
- python2-libsemanage
|
- python2-libsemanage
|
||||||
when: ansible_cmdline.ostree is not defined and deployment_type in ['dev']
|
when: ansible_cmdline.ostree is not defined and deployment_type in ['dev']
|
||||||
|
|
||||||
|
@ -39,7 +40,7 @@
|
||||||
seboolean: name=httpd_can_network_connect_db persistent=yes state=yes
|
seboolean: name=httpd_can_network_connect_db persistent=yes state=yes
|
||||||
|
|
||||||
- name: register with iddev
|
- name: register with iddev
|
||||||
command: python /usr/lib/python2.7/site-packages/flask_oidc/registration_util.py https://iddev.fedorainfracloud.org {{ vault_public_url }}
|
command: python3 /usr/lib/python3.7/site-packages/flask_oidc/registration_util.py https://iddev.fedorainfracloud.org {{ vault_public_url }}
|
||||||
args:
|
args:
|
||||||
chdir: /etc/vault
|
chdir: /etc/vault
|
||||||
creates: /etc/vault/client_secrets.json
|
creates: /etc/vault/client_secrets.json
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue