tests/installed: Move tasks into tasks/ directory
It's cleaner to separate test playbooks from their tasks. Closes: #1535 Approved by: jlebon
This commit is contained in:
parent
7357d346c4
commit
b9fc3eaa15
|
|
@ -8,7 +8,10 @@
|
|||
use_git_build: True
|
||||
tests: "."
|
||||
tasks:
|
||||
- import_tasks: overlay-git.yml
|
||||
- import_tasks: tasks/query-host.yml
|
||||
- set_fact:
|
||||
rpmostree_initial_deployment: "{{ rpmostree_status[\"deployments\"][0] }}"
|
||||
- import_tasks: tasks/overlay-git.yml
|
||||
when: use_git_build
|
||||
# Next copy all of the tests/ directory
|
||||
- name: Copy test data
|
||||
|
|
|
|||
|
|
@ -10,7 +10,8 @@
|
|||
# Arbitrary...we want some parallelism
|
||||
batching_factor: 4
|
||||
tasks:
|
||||
- import_tasks: overlay-git.yml
|
||||
- import_tasks: tasks/query-host.yml
|
||||
- import_tasks: tasks/overlay-git.yml
|
||||
when: use_git_build
|
||||
# Next copy all of the tests/ directory
|
||||
- name: Copy test data
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
- command: rpm-ostree status --json
|
||||
changed_when: False
|
||||
register: rpmostree_status_json
|
||||
- set_fact:
|
||||
rpmostree_status: "{{ rpmostree_status_json.stdout | from_json }}"
|
||||
Loading…
Reference in New Issue