Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NetData
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
NetData
Commits
4d7787d0
Commit
4d7787d0
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Linting [skip-ci]
parent
a86cbdca
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
handlers/main.yml
+4
-4
4 additions, 4 deletions
handlers/main.yml
tasks/apache.yml
+9
-4
9 additions, 4 deletions
tasks/apache.yml
tasks/configure.yml
+2
-1
2 additions, 1 deletion
tasks/configure.yml
with
15 additions
and
9 deletions
handlers/main.yml
+
4
−
4
View file @
4d7787d0
...
...
@@ -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
This diff is collapsed.
Click to expand it.
tasks/apache.yml
+
9
−
4
View file @
4d7787d0
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
tasks/configure.yml
+
2
−
1
View file @
4d7787d0
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment