Skip to content

Commit a6e8d24

Browse files
committed
pulp_repository: add validate_certs for all tasks
1 parent 4c35766 commit a6e8d24

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

roles/pulp_repository/tasks/deb.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
pulp_url: "{{ pulp_url }}"
55
username: "{{ pulp_username }}"
66
password: "{{ pulp_password }}"
7+
validate_certs: "{{ pulp_validate_certs | bool }}"
78
name: "{{ item.name }}"
89
state: "{{ item.state }}"
910
with_items: "{{ pulp_repository_deb_repos }}"
@@ -13,6 +14,7 @@
1314
pulp_url: "{{ pulp_url }}"
1415
username: "{{ pulp_username }}"
1516
password: "{{ pulp_password }}"
17+
validate_certs: "{{ pulp_validate_certs | bool }}"
1618
name: "{{ item.name }}-remote"
1719
url: "{{ item.url }}"
1820
architectures: "{{ item.architectures }}"
@@ -27,6 +29,7 @@
2729
pulp_url: "{{ pulp_url }}"
2830
username: "{{ pulp_username }}"
2931
password: "{{ pulp_password }}"
32+
validate_certs: "{{ pulp_validate_certs | bool }}"
3033
repository: "{{ item.name }}"
3134
remote: "{{ item.name }}-remote"
3235
with_items: "{{ pulp_repository_deb_repos }}"

roles/pulp_repository/tasks/python.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
pulp_url: "{{ pulp_url }}"
55
username: "{{ pulp_username }}"
66
password: "{{ pulp_password }}"
7+
validate_certs: "{{ pulp_validate_certs | bool }}"
78
name: "{{ item.name }}"
89
state: "{{ item.state }}"
910
with_items: "{{ pulp_repository_python_repos }}"
@@ -13,6 +14,7 @@
1314
pulp_url: "{{ pulp_url }}"
1415
username: "{{ pulp_username }}"
1516
password: "{{ pulp_password }}"
17+
validate_certs: "{{ pulp_validate_certs | bool }}"
1618
name: "{{ item.name }}-remote"
1719
url: "{{ item.url }}"
1820
policy: "{{ item.policy }}"
@@ -24,6 +26,7 @@
2426
pulp_url: "{{ pulp_url }}"
2527
username: "{{ pulp_username }}"
2628
password: "{{ pulp_password }}"
29+
validate_certs: "{{ pulp_validate_certs | bool }}"
2730
repository: "{{ item.name }}"
2831
remote: "{{ item.name }}-remote"
2932
with_items: "{{ pulp_repository_python_repos }}"

roles/pulp_repository/tasks/rpm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
pulp_url: "{{ pulp_url }}"
55
username: "{{ pulp_username }}"
66
password: "{{ pulp_password }}"
7+
validate_certs: "{{ pulp_validate_certs | bool }}"
78
name: "{{ item.name }}"
89
state: "{{ item.state }}"
910
with_items: "{{ pulp_repository_rpm_repos }}"
@@ -13,6 +14,7 @@
1314
pulp_url: "{{ pulp_url }}"
1415
username: "{{ pulp_username }}"
1516
password: "{{ pulp_password }}"
17+
validate_certs: "{{ pulp_validate_certs | bool }}"
1618
name: "{{ item.name }}-remote"
1719
url: "{{ item.url }}"
1820
policy: "{{ item.policy }}"
@@ -24,6 +26,7 @@
2426
pulp_url: "{{ pulp_url }}"
2527
username: "{{ pulp_username }}"
2628
password: "{{ pulp_password }}"
29+
validate_certs: "{{ pulp_validate_certs | bool }}"
2730
repository: "{{ item.name }}"
2831
remote: "{{ item.name }}-remote"
2932
with_items: "{{ pulp_repository_rpm_repos }}"

0 commit comments

Comments
 (0)