-
-
Save chbrown13/296ecbe78d7eb1f27b611a89f34b5105 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Testing nailgun entities | |
vars: | |
name: SyncPlan | |
desc: Nailgun test | |
update_desc: Updated description | |
actions: | |
- model: Organization | |
register: org | |
data: | |
name: My Org | |
- model: SyncPlan | |
register: test_entity | |
data: | |
name: "{{ name }}" | |
description: satellite-populate test | |
interval: daily | |
enabled: True | |
organization: | |
from_registry: org | |
- action: update | |
register: test_entity | |
model: SyncPlan | |
data: | |
description: "{{ update_desc }}" | |
search_query: | |
name: "{{ name }}" | |
- action: assertion | |
operation: eq | |
data: | |
- from_registry: test_entity.description | |
- "{{ update_desc }}" | |
- action: delete | |
model: SyncPlan | |
search_query: | |
name: "{{ name }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment