Unified config and variable use
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: add drone http site
|
||||
template:
|
||||
src: etc/apache2/sites-available/ci_domain.conf.j2
|
||||
src: etc/apache2/sites-available/ansible_domain.conf.j2
|
||||
dest: /etc/apache2/sites-available/{{ ci_domain}}.conf
|
||||
owner: root
|
||||
group: root
|
||||
@@ -26,7 +26,7 @@
|
||||
when: ansible_domain == 'dev'
|
||||
- name: add drone https site
|
||||
template:
|
||||
src: etc/apache2/sites-available/ci_domain-le-ssl.conf.j2
|
||||
src: etc/apache2/sites-available/ansible_domain-le-ssl.conf.j2
|
||||
dest: /etc/apache2/sites-available/{{ ci_domain }}-le-ssl.conf
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
Reference in New Issue
Block a user