Skip to content
Snippets Groups Projects
Commit 87962c09 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Linting [skip-ci]

parent a88bc68a
No related branches found
No related tags found
No related merge requests found
......@@ -6,25 +6,27 @@
- name: Apache Modules
apache2_module:
state='present'
name='{{ item }}'
state: present
name: '{{ item }}'
with_items:
- proxy
- proxy_http
notify:
- "Apache | Restart Apache"
- "Restart Apache"
- name: Apache Configuration File
template:
src='vhost.conf'
dest='/etc/apache2/sites-available/zammad_{{ domain.id }}{{ apache_conf_ext }}'
owner='root'
group='root'
mode='664'
src: vhost.conf
dest: /etc/apache2/sites-available/zammad_{{ domain.id }}{{ apache_conf_ext }}
owner: root
group: root
mode: 0664
notify:
- "Apache | Restart Apache"
- "Restart Apache"
- name: Apache enable site
command: a2ensite zammad_{{ domain.id }} creates=/etc/apache2/sites-enabled/zammad_{{ domain.id }}{{ apache_conf_ext }}
command: a2ensite zammad_{{ domain.id }}
args:
creates: /etc/apache2/sites-enabled/zammad_{{ domain.id }}{{ apache_conf_ext }}
notify:
- "Apache | Restart Apache"
- "Restart Apache"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment