File tree Expand file tree Collapse file tree 6 files changed +20
-11
lines changed
Expand file tree Collapse file tree 6 files changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ This role configures and synchronizes Pulp server repositories.
66Role variables
77--------------
88
9- * ` pulp_url ` : URL of Pulp server
10- * ` pulp_username ` : Username used to access Pulp server
11- * ` pulp_password ` : Password used to access Pulp server
12- * ` pulp_validate_certs ` : Whether to validate Pulp server certificate
13- * ` pulp_repository_rpm_repos ` : List of RPM repositories
14- * ` pulp_repository_python_repos ` : List of PyPI repositories
15- * ` pulp_repository_deb_repos ` : List of Deb respositories
9+ * ` pulp_url ` : URL of Pulp server. Default is ` https://localhost:8080 `
10+ * ` pulp_username ` : Username used to access Pulp server. Default is ` admin `
11+ * ` pulp_password ` : Password used to access Pulp server. Default is unset
12+ * ` pulp_validate_certs ` : Whether to validate Pulp server certificate. Default is ` true `
13+ * ` pulp_repository_rpm_repos ` : List of RPM repositories. Default is an empty list.
14+ * ` pulp_repository_python_repos ` : List of PyPI repositories. Default is an empty list.
15+ * ` pulp_repository_deb_repos ` : List of Deb respositories. Default is an empty list.
1616
1717Example playbook
1818----------------
Original file line number Diff line number Diff line change 11---
2- pulp_url : https://localhost:24817
2+ pulp_url : https://localhost:8080
33pulp_username : admin
4- pulp_password : password
5- validate_certs : true
4+ pulp_password :
5+ pulp_validate_certs : true
66
77pulp_repository_deb_repos : []
88pulp_repository_python_repos : []
Original file line number Diff line number Diff line change 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 }}"
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 }}"
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 }}"
Original file line number Diff line number Diff line change 44 pulp_url : " {{ pulp_url }}"
55 username : " {{ pulp_username }}"
66 password : " {{ pulp_password }}"
7- validate_certs : " {{ pulp_validate_certs | default(true) }}"
7+ validate_certs : " {{ pulp_validate_certs | bool }}"
88 refresh_api_cache : true
Original file line number Diff line number Diff line change 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 }}"
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 }}"
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 }}"
Original file line number Diff line number Diff line change 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 }}"
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 }}"
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 }}"
You can’t perform that action at this time.
0 commit comments