Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
a2915bff
Commit
a2915bff
authored
Feb 23, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in svc docs
parent
5b31feb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docsite/rst/bestpractices.rst
+4
-4
No files found.
docsite/rst/bestpractices.rst
View file @
a2915bff
...
@@ -163,8 +163,8 @@ This file is just mapping hosts to the roles they fulfill. Now, below is an exa
...
@@ -163,8 +163,8 @@ This file is just mapping hosts to the roles they fulfill. Now, below is an exa
- restart ntpd
- restart ntpd
tags: ntp
tags: ntp
- name: be sure ntp
is
enabled
- name: be sure ntp
d is running and
enabled
service: name=ntp state=running enabled=yes
service: name=ntp
d
state=running enabled=yes
tags: ntp
tags: ntp
Here is an example handlers file. As a review, handlers are only fired when certain tasks report changes, and are run at the end
Here is an example handlers file. As a review, handlers are only fired when certain tasks report changes, and are run at the end
...
@@ -172,8 +172,8 @@ of each play::
...
@@ -172,8 +172,8 @@ of each play::
---
---
# file: common/handlers/main.yml
# file: common/handlers/main.yml
- name: restart ntp
- name: restart ntp
d
service: name=ntp state=restarted
service: name=ntp
d
state=restarted
What This Organization Enables (Examples)
What This Organization Enables (Examples)
`````````````````````````````````````````
`````````````````````````````````````````
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment