Skip to content

Commit a2d4410

Browse files
committed
pulp_repository: add support for sync_policy for RPM syncs
This can be used to enable mirror modes rather than the default additive mode. Depends on: pulp/squeezer#86
1 parent 842d724 commit a2d4410

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/pulp_repository/tasks/rpm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@
2929
validate_certs: "{{ pulp_validate_certs | bool }}"
3030
repository: "{{ item.name }}"
3131
remote: "{{ item.name }}-remote"
32+
sync_policy: "{{ item.sync_policy | default(omit) }}"
3233
with_items: "{{ pulp_repository_rpm_repos }}"
3334
when: item.state == "present"

0 commit comments

Comments
 (0)