Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions tests/playbooks/deb_remote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@
name: "test_deb_remote"
policy: "on_demand"
tls_validation: false
architectures:
- "arm64"
- "mips"
components:
- "vanaheimr"
- "muspelheim"
distributions:
- "ginnungagap"
state: "present"
register: "result"
- name: "Verify modify remote"
Expand All @@ -81,12 +89,22 @@
- "result.changed == true"
- "result.remote.policy == 'on_demand'"
- "result.remote.tls_validation == false"

- "result.remote.architectures == 'arm64 mips'"
- "result.remote.components == 'vanaheimr muspelheim'"
- "result.remote.distributions == 'ginnungagap'"
- name: "Modify remote (2nd try)"
pulp.squeezer.deb_remote:
name: "test_deb_remote"
policy: "on_demand"
tls_validation: false
architectures:
- "arm64"
- "mips"
components:
- "vanaheimr"
- "muspelheim"
distributions:
- "ginnungagap"
state: "present"
register: "result"
- name: "Verify modify remote (2nd try)"
Expand Down Expand Up @@ -141,9 +159,9 @@
- "result.changed == false"
- "result.remote.name == 'test_deb_remote'"
- "result.remote.url == 'https://example.org/deb/'"
- "result.remote.architectures == 'arm ppc64'"
- "result.remote.components == 'asgard jotunheimr'"
- "result.remote.distributions == 'ragnarok'"
- "result.remote.architectures == 'arm64 mips'"
- "result.remote.components == 'vanaheimr muspelheim'"
- "result.remote.distributions == 'ginnungagap'"
- "result.remote.proxy_url == 'http://proxy.int:3128'"
- "result.remote.tls_validation == false"

Expand Down