File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,12 @@ Example playbook
4242 base_path: pulp/pulp
4343 repository: pulp/pulp
4444 state: present
45- # Distribute version 2 of the pulp/pulp repository.
45+ # Distribute version 2 of the pulp/pulp repository with a content guard .
4646 - name: pulp/pulp
4747 base_path: pulp/pulp
4848 repository: pulp/pulp
4949 version: 2
50+ content_guard: secure-content-guard
5051 state: present
5152 pulp_distribution_deb:
5253 # Distribute the latest version of the ubuntu-focal repository.
@@ -60,10 +61,11 @@ Example playbook
6061 repository: ubuntu-focal-security
6162 version: 2
6263 state: present
63- # Distribute the same publication as the ubuntu-focal distribution.
64+ # Distribute the same publication as the ubuntu-focal distribution with a content guard .
6465 - name: ubuntu-focal-production
6566 base_path: ubuntu-focal-production
6667 distribution: ubuntu-focal
68+ content_guard: secure-content-guard
6769 state: present
6870 pulp_distribution_rpm:
6971 # Distribute the latest version of the centos-baseos repository.
@@ -77,9 +79,10 @@ Example playbook
7779 repository: centos-appstream
7880 version: 2
7981 state: present
80- # Distribute the same publication as the centos-baseos distribution.
82+ # Distribute the same publication as the centos-baseos distribution with a content guard .
8183 - name: centos-baseos-production
8284 base_path: centos-baseos-production
8385 distribution: centos-baseos
86+ content_guard: secure-content-guard
8487 state: present
8588```
Original file line number Diff line number Diff line change 99 base_path : " {{ item.base_path }}"
1010 repository : " {{ item.repository }}"
1111 version : " {{ item.version | default(omit) }}"
12+ content_guard : " {{ item.content_guard | default(omit) }}"
1213 state : " {{ item.state }}"
1314 with_items : " {{ pulp_distribution_container }}"
Original file line number Diff line number Diff line change 4646 name : " {{ item.name }}"
4747 base_path : " {{ item.base_path }}"
4848 publication : " {{ pubs[0].pulp_href if item.state == 'present' else omit }}"
49+ content_guard : " {{ item.content_guard | default(omit) }}"
4950 state : " {{ item.state }}"
5051 with_items : " {{ pulp_distribution_deb }}"
5152 when : >-
Original file line number Diff line number Diff line change 4646 name : " {{ item.name }}"
4747 base_path : " {{ item.base_path }}"
4848 publication : " {{ pubs[0].pulp_href if item.state == 'present' else omit }}"
49+ content_guard : " {{ item.content_guard | default(omit) }}"
4950 state : " {{ item.state }}"
5051 with_items : " {{ pulp_distribution_rpm }}"
5152 when : >-
You can’t perform that action at this time.
0 commit comments