Skip to content
Snippets Groups Projects
Commit 4d7787d0 authored by jurgenhaas's avatar jurgenhaas
Browse files

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

parent a86cbdca
No related branches found
No related tags found
No related merge requests found
......@@ -6,10 +6,10 @@
- name: Restart NetData
service:
name='netdata'
state='restarted'
name: netdata
state: restarted
- name: Restart Apache
service:
name='apache2'
state='restarted'
name: apache2
state: restarted
......@@ -5,7 +5,8 @@
apache2_module:
name: status
state: present
notify: "Restart Apache"
notify:
- Restart Apache
- name: Apache Status Site
template:
......@@ -14,11 +15,15 @@
owner: root
group: root
mode: 0644
notify: "Restart Apache"
notify:
- Restart Apache
- name: Enable Apache Status Site
command: a2ensite status creates=/etc/apache2/sites-enabled/status{{ apache_conf_ext|default('.conf') }}
notify: "Restart Apache"
command: a2ensite status
args:
creates: /etc/apache2/sites-enabled/status{{ apache_conf_ext|default('.conf') }}
notify:
- Restart Apache
- name: Weblog Module Configuration
template:
......
......@@ -70,7 +70,8 @@
when: ansible_lsb.major_release == '12'
- name: Check if KSM is available
stat: path='/sys/kernel/mm/ksm'
stat:
path: /sys/kernel/mm/ksm
register: ksm
# Note: copy module doesn't work here because parent directory /sys
......
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