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
8dae9fa5
Commit
8dae9fa5
authored
Oct 07, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix module formatting in the pkgutil module.
parent
37970112
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
library/packaging/pkgutil
+8
-8
No files found.
library/packaging/pkgutil
View file @
8dae9fa5
...
...
@@ -46,17 +46,17 @@ options:
description:
- Whether to install (C(present)), or remove (C(absent)) a package.
- The upgrade (C(latest)) operation will update/install the package to the latest version available.
- "
Beware: (C(latest)) only works for one package
."
- "
Note: The module has a limitation that (C(latest)) only works for one package, not lists of them
."
required: true
choices: ["present", "absent", "latest"]
'''
EXAMPLES
=
'''
# Install a package
pkgutil: name=CSWcommon state=present
examples:
- pkgutil: name=CSWcommon state=present
description: Install a package
- pkgutil: 'name=CSWnrpe site=ftp://myinternal.repo/opencsw/kiel state=latest'
description: If a package is not installed or not installed in the latest version, it will be installed with the newest version from a specified repository.
- pkgutil: name=CSWaspell state=absent
description: Ensure that a package is not installed.
# Install a package from a specific repository
pkgutil: name=CSWnrpe site='ftp://myinternal.repo/opencsw/kiel state=latest'
'''
import
os
...
...
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