Disable the Signature Algorithm check and add default vars. Fixes #525

This commit is contained in:
Jack Ivanov 2017-05-08 21:40:23 +02:00
parent 27f9cda361
commit 0031d2809e
2 changed files with 1 additions and 13 deletions

View File

@ -18,6 +18,7 @@
become: true
vars_files:
- config.cfg
- roles/vpn/defaults/main.yml
pre_tasks:
- name: Get the OS

View File

@ -4,19 +4,6 @@
- name: Include system based facts and tasks
include: systems/main.yml
- name: Checking the signature algorithm
local_action: >
shell openssl x509 -text -in certs/{{ IP_subject_alt_name }}.crt | grep 'Signature Algorithm' | head -n1
become: no
register: sig_algo
args:
chdir: "configs/{{ IP_subject_alt_name }}/pki/"
- name: Change the algorithm to RSA
set_fact:
Win10_Enabled: "Y"
when: '"ecdsa" not in sig_algo.stdout'
- name: Install prerequisites
package: name="{{ item }}" state=present
with_items: