Skip to content

Commit ba0e088

Browse files
Added handlers for apache
Signed-off-by: Abhishek Dubey <abhishekbhardwaj510@gmail.com>
1 parent 5d6b308 commit ba0e088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/configure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
notify: Reload Apache
1919

2020
- name: Enable new site
21-
ansible.builtin.shell: "/usr/sbin/a2ensite /etc/apache2/sites-available/{{ item | basename | regex_replace('\\.j2$', '') }}"
21+
ansible.builtin.shell: "/usr/sbin/a2ensite {{ item | basename | regex_replace('\\.j2$', '') }}"
2222
with_fileglob:
2323
- "../templates/conf/*.j2"
2424
notify: Reload Apache

0 commit comments

Comments
 (0)