This commit is contained in:
Iwan Clément
2019-03-03 19:19:32 +01:00
parent 5b72b5f894
commit c82c2c6789

View File

@@ -1,14 +1,14 @@
{% if grains['kernel'] == 'Linux' %}
{% set VERA_VERSION = '1.23' %}
{% set VERA_HASH = 'https://launchpad.net/veracrypt/trunk/' + VERA_VERSION + '/+download/veracrypt-1.23-setup.tar.bz2.sig' %}
{% set VERA_URL='https://launchpad.net/veracrypt/trunk/' + VERA_VERSION + '/+download/veracrypt-1.23-setup.tar.bz2' %}
{% set VERA_HASH = 'https://launchpad.net/veracrypt/trunk/' + VERA_VERSION + '/+download/veracrypt-'+VERA_VERSION+'-setup.tar.bz2.sig' %}
{% set VERA_URL='https://launchpad.net/veracrypt/trunk/' + VERA_VERSION + '/+download/veracrypt-'+VERA_VERSION+'-setup.tar.bz2' %}
# 'veracrypt-{{VERA_VERSION}}_copy':
'veracrypt_copy':
file.managed:
- source: {{VERA_URL}}
- source_hash: {{VERA_HASH}}
- name : "/tmp/veracrypt-setup.tar.bz2"
- name : "/tmp/veracrypt-{{VERA_VERSION}}-setup.tar.bz2"
- user: root
- group: root
- mode: 755