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:
Colin Walters authored and Atomic Bot committed 2018-04-11 19:11:07 +00:00
1 parent 7357d346c4
commit b9fc3eaa15
4 files changed
+11 -2

No files matched your search

+4 -1
View File
@@ -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
+2 -1
View File
@@ -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
File renamed without changes.
+5
View File
@@ -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 }}"