Skip to content

Commit fae9c99

Browse files
committed
pulp_distribution: make repository optional for container distributions
This allows us to update an existing distribution that was auto-created for a container-push repository.
1 parent 9ad638a commit fae9c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/pulp_distribution/tasks/container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
validate_certs: "{{ pulp_validate_certs | bool }}"
88
name: "{{ item.name }}"
99
base_path: "{{ item.base_path }}"
10-
repository: "{{ item.repository }}"
10+
repository: "{{ item.repository | default(omit) }}"
1111
version: "{{ item.version | default(omit) }}"
1212
content_guard: "{{ item.content_guard | default(omit) }}"
1313
state: "{{ item.state }}"

0 commit comments

Comments
 (0)