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
c4df662a
Commit
c4df662a
authored
Apr 23, 2013
by
Ingo Gottwald
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated apt module documentation string with a cache_valid_time explanation
parent
375e9d97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
library/apt
+7
-0
No files found.
library/apt
View file @
c4df662a
...
@@ -44,6 +44,11 @@ options:
...
@@ -44,6 +44,11 @@ options:
required: false
required: false
default: "no"
default: "no"
choices: [ "yes", "no" ]
choices: [ "yes", "no" ]
cache_valid_time:
description:
- If C(update_cache) is specified and the last run is less or equal than I(cache_valid_time) seconds ago, the C(update_cache) gets skipped.
required: false
default: "no"
purge:
purge:
description:
description:
- Will force purging of configuration files if the module state is set to I(absent).
- Will force purging of configuration files if the module state is set to I(absent).
...
@@ -96,6 +101,8 @@ examples:
...
@@ -96,6 +101,8 @@ examples:
description
:
Update
all
packages
to
the
latest
version
description
:
Update
all
packages
to
the
latest
version
-
code
:
"apt: update_cache=yes"
-
code
:
"apt: update_cache=yes"
description
:
Run
the
equivalent
of
C
(
apt
-
get
update
)
as
a
separate
step
description
:
Run
the
equivalent
of
C
(
apt
-
get
update
)
as
a
separate
step
-
code
:
"apt: update_cache=yes cache_valid_time=3600"
description
:
Only
run
C
(
apt
-
get
update
)
if
the
last
one
is
more
than
more
than
3600
seconds
ago
requirements
:
[
python
-
apt
,
aptitude
]
requirements
:
[
python
-
apt
,
aptitude
]
'''
'''
...
...
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