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
81773f56
Commit
81773f56
authored
Apr 25, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rebuild
parent
c6a709a9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
modules.html
+9
-4
searchindex.js
+0
-0
No files found.
modules.html
View file @
81773f56
...
@@ -207,7 +207,7 @@ noted, any given module does support change hooks.</p>
...
@@ -207,7 +207,7 @@ noted, any given module does support change hooks.</p>
<p>
Manages apt-packages (such as for Debian/Ubuntu).
</p>
<p>
Manages apt-packages (such as for Debian/Ubuntu).
</p>
<p><em>
pkg
</em>
:
</p>
<p><em>
pkg
</em>
:
</p>
<ul
class=
"simple"
>
<ul
class=
"simple"
>
<li>
A package name or package specifier with version, like
name-
1.0
</li>
<li>
A package name or package specifier with version, like
foo=
1.0
</li>
</ul>
</ul>
<p><em>
state
</em>
:
</p>
<p><em>
state
</em>
:
</p>
<ul
class=
"simple"
>
<ul
class=
"simple"
>
...
@@ -224,11 +224,16 @@ package operation or as a seperate step.</li>
...
@@ -224,11 +224,16 @@ package operation or as a seperate step.</li>
<li>
Will force purge of configuration file for when ensure is set to
‘
removed
’
.
<li>
Will force purge of configuration file for when ensure is set to
‘
removed
’
.
Defaults to
‘
no
’
.
</li>
Defaults to
‘
no
’
.
</li>
</ul>
</ul>
<p><em>
default-release
</em>
:
</p>
<ul
class=
"simple"
>
<li>
Corresponds to the -t option for apt, and sets pin priorities
</li>
</ul>
<p>
Example action from Ansible
<a
class=
"reference internal"
href=
"playbooks.html"
><em>
Playbooks
</em></a>
:
</p>
<p>
Example action from Ansible
<a
class=
"reference internal"
href=
"playbooks.html"
><em>
Playbooks
</em></a>
:
</p>
<div
class=
"highlight-python"
><pre>
apt pkg=foo update-cache=yes
<div
class=
"highlight-python"
><pre>
apt pkg=foo update-cache=yes
apt pkg=foo ensure=removed
apt pkg=foo state=removed
apt pkg=foo ensure=installed
apt pkg=foo state=installed
apt pkg=foo ensure=latest update-cache=yes
</pre>
apt pkg=foo=1.00 state=installed
apt pkg=nginx state=latest default-release=squeeze-backports update-cache=yes
</pre>
</div>
</div>
<p>
NOTE: the apt module cannot currently request installation of a specific software version, as the yum
<p>
NOTE: the apt module cannot currently request installation of a specific software version, as the yum
module can. This should be available in a future release.
</p>
module can. This should be available in a future release.
</p>
...
...
searchindex.js
View file @
81773f56
This diff is collapsed.
Click to expand it.
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