Skip to content

Commit ada3dc9

Browse files
wtripp180901sjpb
andauthored
Review linting changes
Co-authored-by: Steve Brasier <[email protected]>
1 parent 17499e7 commit ada3dc9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ansible/filter_plugins/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ def to_ood_regex(items):
4949
return '|'.join(r)
5050

5151
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']
5355

5456
class FilterModule(object):
5557
''' Ansible core jinja2 filters '''

ansible/roles/pulp_site/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pulp_site_default_upstream_suffix: "{{ pulp_site_target_arch }}/os"
77
pulp_site_validate_certs: false
88
pulp_site_install_dir: '/home/rocky/pulp'
99
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'] }}"
1111
pulp_site_target_distribution_version: "{{ pulp_site_target_facts['distribution_version'] }}"
1212
pulp_site_target_distribution_version_major: "{{ pulp_site_target_facts['distribution_major_version'] }}"
1313

0 commit comments

Comments
 (0)