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