File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,22 @@ apt_repositories: "{{ stackhpc_apt_repositories if 'overcloud' in group_names el
75
75
# repository mirrors are deployed.
76
76
apt_disable_sources_list : " {{ 'overcloud' in group_names }}"
77
77
78
+ # Apt auth configuration for accessing the package repository mirror.
79
+ stackhpc_apt_auth :
80
+ - machine : " {{ stackhpc_repo_mirror_url }}"
81
+ login : " {{ stackhpc_repo_mirror_username }}"
82
+ password : " {{ stackhpc_repo_mirror_password }}"
83
+ filename : " kayobe.conf"
84
+
85
+ # List of Apt auth configurations. Each item is a dict with the following keys:
86
+ # * machine: 'machine' entry in the auth file
87
+ # * login: 'login' entry in the auth file
88
+ # * password: 'password' entry in the auth file
89
+ # * filename: Name of a file in which to store the auth configuration. The
90
+ # extension should be '.conf'.
91
+ # Default is an empty list.
92
+ apt_auth : " {{ stackhpc_apt_auth if 'overcloud' in group_names and stackhpc_repo_mirror_username is truthy else [] }}"
93
+
78
94
# ##############################################################################
79
95
# Dummy variable to allow Ansible to accept this file.
80
96
workaround_ansible_issue_8743 : yes
You can’t perform that action at this time.
0 commit comments