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
3ebf6cb2
Commit
3ebf6cb2
authored
Aug 24, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix uptime API example
parent
b8ba2d30
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
17 additions
and
17 deletions
+17
-17
YAMLSyntax.html
+1
-1
api.html
+2
-2
bestpractices.html
+1
-1
examples.html
+1
-1
faq.html
+1
-1
genindex.html
+1
-1
gettingstarted.html
+1
-1
index.html
+1
-1
moduledev.html
+1
-1
modules.html
+1
-1
patterns.html
+1
-1
playbooks.html
+1
-1
playbooks2.html
+1
-1
rst/api.rst
+1
-1
search.html
+1
-1
searchindex.js
+0
-0
who_uses_ansible.html
+1
-1
No files found.
YAMLSyntax.html
View file @
3ebf6cb2
...
...
@@ -289,7 +289,7 @@ languages:
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
api.html
View file @
3ebf6cb2
...
...
@@ -235,7 +235,7 @@ be used as a framework to rapidly build powerful applications and scripts.</p>
<span
class=
"c"
>
# construct the ansible runner and execute on all hosts
</span>
<span
class=
"n"
>
results
</span>
<span
class=
"o"
>
=
</span>
<span
class=
"n"
>
ansible
</span><span
class=
"o"
>
.
</span><span
class=
"n"
>
runner
</span><span
class=
"o"
>
.
</span><span
class=
"n"
>
Runner
</span><span
class=
"p"
>
(
</span>
<span
class=
"n"
>
pattern
</span><span
class=
"o"
>
=
</span><span
class=
"s"
>
'
*
'
</span><span
class=
"p"
>
,
</span>
<span
class=
"n"
>
forks
</span><span
class=
"o"
>
=
</span><span
class=
"mi"
>
10
</span><span
class=
"p"
>
,
</span>
<span
class=
"n"
>
module_name
</span><span
class=
"o"
>
=
</span><span
class=
"s"
>
'
command
'
</span><span
class=
"p"
>
,
</span>
<span
class=
"n"
>
module_args
</span><span
class=
"o"
>
=
</span><span
class=
"
p"
>
[
</span><span
class=
"s"
>
'
/usr/bin/uptime
'
</span><span
class=
"p"
>
]
,
</span>
<span
class=
"n"
>
module_name
</span><span
class=
"o"
>
=
</span><span
class=
"s"
>
'
command
'
</span><span
class=
"p"
>
,
</span>
<span
class=
"n"
>
module_args
</span><span
class=
"o"
>
=
</span><span
class=
"
s"
>
'
/usr/bin/uptime
'
</span><span
class=
"p"
>
,
</span>
<span
class=
"p"
>
)
</span><span
class=
"o"
>
.
</span><span
class=
"n"
>
run
</span><span
class=
"p"
>
()
</span>
<span
class=
"k"
>
if
</span>
<span
class=
"n"
>
results
</span>
<span
class=
"ow"
>
is
</span>
<span
class=
"bp"
>
None
</span><span
class=
"p"
>
:
</span>
...
...
@@ -468,7 +468,7 @@ e.g.
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
bestpractices.html
View file @
3ebf6cb2
...
...
@@ -340,7 +340,7 @@ different variables to different geographies.</p>
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
examples.html
View file @
3ebf6cb2
...
...
@@ -442,7 +442,7 @@ what their names or IP addresses are).</p>
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
faq.html
View file @
3ebf6cb2
...
...
@@ -409,7 +409,7 @@ tasks – whether for a QA sytem, build system, or anything you can think of
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
genindex.html
View file @
3ebf6cb2
...
...
@@ -204,7 +204,7 @@ s.parentNode.insertBefore(ga, s);
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
gettingstarted.html
View file @
3ebf6cb2
...
...
@@ -410,7 +410,7 @@ explore, but you already have a fully working infrastructure!</p>
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
index.html
View file @
3ebf6cb2
...
...
@@ -419,7 +419,7 @@ Puppet Labs, and is now with <a class="reference external" href="http://rpath.co
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
moduledev.html
View file @
3ebf6cb2
...
...
@@ -511,7 +511,7 @@ the program. Stop by the mailing list to inquire about requirements.</p>
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
modules.html
View file @
3ebf6cb2
...
...
@@ -1800,7 +1800,7 @@ yum name=httpd state=installed</pre>
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
patterns.html
View file @
3ebf6cb2
...
...
@@ -392,7 +392,7 @@ Ansible 0.7. Ansible 0.6 includes a <a class="reference external" href="https:/
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
playbooks.html
View file @
3ebf6cb2
...
...
@@ -550,7 +550,7 @@ can do this:</p>
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
playbooks2.html
View file @
3ebf6cb2
...
...
@@ -725,7 +725,7 @@ place to set such a default is in a group variable.</p>
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
rst/api.rst
View file @
3ebf6cb2
...
...
@@ -56,7 +56,7 @@ The following script prints out the uptime information for all hosts::
# construct the ansible runner and execute on all hosts
results = ansible.runner.Runner(
pattern='*', forks=10,
module_name='command', module_args=
['/usr/bin/uptime']
,
module_name='command', module_args=
'/usr/bin/uptime'
,
).run()
if results is None:
...
...
search.html
View file @
3ebf6cb2
...
...
@@ -221,7 +221,7 @@ s.parentNode.insertBefore(ga, s);
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
searchindex.js
View file @
3ebf6cb2
This diff is collapsed.
Click to expand it.
who_uses_ansible.html
View file @
3ebf6cb2
...
...
@@ -269,7 +269,7 @@ s.parentNode.insertBefore(ga, s);
</p>
<p>
©
Copyright 2012 Michael DeHaan.
<br/>
Last updated on Aug 2
1
, 2012.
<br/>
Last updated on Aug 2
4
, 2012.
<br/>
</p>
</div>
</footer>
...
...
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