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
c6a709a9
Commit
c6a709a9
authored
Apr 25, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new apt options and replace 'ensure' with 'state'
parent
26fb8eeb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
rst/modules.rst
+9
-4
No files found.
rst/modules.rst
View file @
c6a709a9
...
...
@@ -44,7 +44,7 @@ Manages apt-packages (such as for Debian/Ubuntu).
*pkg*:
* A package name or package specifier with version, like
name-
1.0
* A package name or package specifier with version, like
foo=
1.0
*state*:
...
...
@@ -61,12 +61,17 @@ Manages apt-packages (such as for Debian/Ubuntu).
* Will force purge of configuration file for when ensure is set to '
removed
'.
Defaults to '
no
'.
*default-release*:
* Corresponds to the -t option for apt, and sets pin priorities
Example action from Ansible :doc:`playbooks`::
apt pkg=foo update-cache=yes
apt pkg=foo ensure=removed
apt pkg=foo ensure=installed
apt pkg=foo ensure=latest update-cache=yes
apt pkg=foo state=removed
apt pkg=foo state=installed
apt pkg=foo=1.00 state=installed
apt pkg=nginx state=latest default-release=squeeze-backports update-cache=yes
NOTE: the apt module cannot currently request installation of a specific software version, as the yum
...
...
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