Browse Source

format nicely debug messages in openvpn role

python3
Edoardo Putti 7 years ago
parent
commit
6a49fde5bd
1 changed files with 10 additions and 2 deletions
  1. +10
    -2
      roles/openvpn/tasks/main.yaml

+ 10
- 2
roles/openvpn/tasks/main.yaml View File

@ -33,7 +33,11 @@
- name: get pub key
shell: "cat /etc/openvpn/openvpn.csr"
register: pub_key
- debug: var=pub_key verbosity=2
- debug:
var: pub_key
verbosity: 2
- name: generate host request
set_fact:
ca_request:
@ -42,7 +46,11 @@
keyType: 'ssl_host'
hostName: '{{ inventory_hostname }}'
keyData: '{{ pub_key.stdout }}'
- debug: var=cert_request verbosity=2
- debug:
var: cert_request
verbosity: 2
- name: start sign request
include: ca-dialog.yaml


Loading…
Cancel
Save