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
cd643f0d
Commit
cd643f0d
authored
Apr 28, 2014
by
Karol Hosiawa
Committed by
James Cammarata
Aug 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add validate_certs option to apt_repository
parent
3cf0f27f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
library/packaging/apt_repository
+8
-0
No files found.
library/packaging/apt_repository
View file @
cd643f0d
...
...
@@ -55,6 +55,13 @@ options:
required: false
default: "yes"
choices: [ "yes", "no" ]
validate_certs:
description:
- If C(no), SSL certificates for the target repo will not be validated. This should only be used
on personally controlled sites using self-signed certificates.
required: false
default: 'yes'
choices: ['yes', 'no']
author: Alexander Saltanov
version_added: "0.7"
requirements: [ python-apt ]
...
...
@@ -377,6 +384,7 @@ def main():
update_cache
=
dict
(
aliases
=
[
'update-cache'
],
type
=
'bool'
,
default
=
'yes'
),
# this should not be needed, but exists as a failsafe
install_python_apt
=
dict
(
required
=
False
,
default
=
"yes"
,
type
=
'bool'
),
validate_certs
=
dict
(
default
=
'yes'
,
type
=
'bool'
),
),
supports_check_mode
=
True
,
)
...
...
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