Fix variable name

This commit is contained in:
Victor LABORIE 2016-12-22 15:58:40 +01:00
parent b7be16e44b
commit 0ba65cbe05
3 changed files with 3 additions and 5 deletions

View file

@ -5,7 +5,6 @@
owner: root
group: root
mode: 0644
validate: apache2ctl -t
notify: reload apache2
- name: Enable acme challenge conf
@ -15,5 +14,4 @@
state: link
owner: root
group: root
validate: apache2ctl -t
notify: reload apache2

View file

@ -40,7 +40,7 @@
file:
path: /usr/local/bin/certbot
state: absent
when: release is defined
when: evoacme_certbot_release is defined
- block:
- name: Install certbot from source
@ -70,7 +70,7 @@
dest: /etc/sudoers.d/certbot
mode: 0440
validate: '/usr/sbin/visudo -cf %s'
when: release is undefined
when: evoacme_certbot_release is undefined
- name: Remove certbot dpkg cron
file:

View file

@ -12,7 +12,7 @@
- name: Update openssl conf
ini_file:
dest: "{{ crt_dir }}/openssl.cnf"
dest: "{{ evoacme_crt_dir }}/openssl.cnf"
section: 'req_dn'
option: "{{ item.name }}"
value: "{{ item.var }}"