File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,9 @@ def to_ood_regex(items):
49
49
return '|' .join (r )
50
50
51
51
def appliances_repo_to_subpath (repo_entry ):
52
- return repo_entry ['path' ]+ '/' + repo_entry ['timestamp' ]
52
+ """ Take an element from appliances_pulp_repos and convert it to a pulp path. This assumes that the remote and local pulp structures are the same
53
+ """
54
+ return repo_entry ['path' ] + '/' + repo_entry ['timestamp' ]
53
55
54
56
class FilterModule (object ):
55
57
''' Ansible core jinja2 filters '''
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ pulp_site_default_upstream_suffix: "{{ pulp_site_target_arch }}/os"
7
7
pulp_site_validate_certs : false
8
8
pulp_site_install_dir : ' /home/rocky/pulp'
9
9
pulp_site_selinux_suffix : " {{ ':Z' if ansible_selinux.status == 'enabled' else '' }}"
10
- pulp_site_target_facts : " {{ hostvars[groups['builder '][0]]['ansible_facts'] }}"
10
+ pulp_site_target_facts : " {{ hostvars[groups['pulp '][0]]['ansible_facts'] }}"
11
11
pulp_site_target_distribution_version : " {{ pulp_site_target_facts['distribution_version'] }}"
12
12
pulp_site_target_distribution_version_major : " {{ pulp_site_target_facts['distribution_major_version'] }}"
13
13
You can’t perform that action at this time.
0 commit comments