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
40640637
Commit
40640637
authored
Sep 14, 2015
by
Borys Borysenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use boldface for modules name
parent
f5cfb557
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docsite/rst/playbooks_intro.rst
+4
-4
No files found.
docsite/rst/playbooks_intro.rst
View file @
40640637
...
...
@@ -158,7 +158,7 @@ documentation. The ``remote_user`` is just the name of the user account::
..
note
::
The
``
remote_user
``
parameter
was
formerly
called
just
``
user
``.
It
was
renamed
in
Ansible
1.4
to
make
it
more
distinguishable
from
the
`
user
`
module
(
used
to
create
users
on
remote
systems
).
The
``
remote_user
``
parameter
was
formerly
called
just
``
user
``.
It
was
renamed
in
Ansible
1.4
to
make
it
more
distinguishable
from
the
**
user
**
module
(
used
to
create
users
on
remote
systems
).
Remote
users
can
also
be
defined
per
task
::
...
...
@@ -253,7 +253,7 @@ system to the desired state. This makes it very safe to rerun
the same playbook multiple times. They won'
t
change
things
unless
they
have
to
change
things
.
The
`
command
`
and
`
shell
`
modules
will
typically
rerun
the
same
command
again
,
The
**
command
**
and
**
shell
**
modules
will
typically
rerun
the
same
command
again
,
which
is
totally
ok
if
the
command
is
something
like
``
chmod
``
or
``
setsebool
``,
etc
.
Though
there
is
a
``
creates
``
flag
available
which
can
be
used
to
make
these
modules
also
idempotent
.
...
...
@@ -276,7 +276,7 @@ the service module takes ``key=value`` arguments::
-
name
:
make
sure
apache
is
running
service
:
name
=
httpd
state
=
running
The
`
command
`
and
`
shell
`
modules
are
the
only
modules
that
just
take
a
list
The
**
command
**
and
**
shell
**
modules
are
the
only
modules
that
just
take
a
list
of
arguments
and
don
't use the ``key=value`` form. This makes
them work as simply as you would expect::
...
...
@@ -284,7 +284,7 @@ them work as simply as you would expect::
- name: disable selinux
command: /sbin/setenforce 0
The
command and shell
module care about return codes, so if you have a command
The
**command** and **shell**
module care about return codes, so if you have a command
whose successful exit code is not zero, you may wish to do this::
tasks:
...
...
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