diff options
author | Colin Walters <walters@verbum.org> | 2018-05-03 17:29:06 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-05-09 20:59:52 +0000 |
commit | 723070bed4fc2eda42f9a35b17cc6192d29901f6 (patch) | |
tree | 735c1677d649f5000cd98d41ea017d991560aa85 /tests/installed/tasks/install-git.yml | |
parent | 02f3ea9d5ef05b1f26d6691ad1eae73b062c8996 (diff) | |
download | ostree-723070bed4fc2eda42f9a35b17cc6192d29901f6.tar.gz |
lib/sysroot: Add OSTREE_EX_STAGE_DEPLOYMENTS environment variabletry
I feel like I'm drowning in a pile of experimental-but-almost-stable
features...
Anyways, since we made the feature opt-in in rpm-ostree in
https://github.com/projectatomic/rpm-ostree/pull/1352
let's mirror that a bit here with an environment variable so people
can play with it more easily.
The tests needed some tweaks; specifically we need to reload the
status fact after making changes. I'm still a bit uncertain
about the Ansible-as-tests.
But we add an upgrade test that uses the new environment variable.
Closes: #1583
Approved by: <try>
Diffstat (limited to 'tests/installed/tasks/install-git.yml')
-rw-r--r-- | tests/installed/tasks/install-git.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/installed/tasks/install-git.yml b/tests/installed/tasks/install-git.yml index 33fe385e..8216afeb 100644 --- a/tests/installed/tasks/install-git.yml +++ b/tests/installed/tasks/install-git.yml @@ -8,7 +8,8 @@ synchronize: src=build/x86_64/ dest=/root/x86_64/ archive=yes - name: Install RPMs shell: rpm-ostree override replace /root/x86_64/*.rpm -- include_tasks: ../tasks/reboot.yml +- import_tasks: ../tasks/reboot.yml +- import_tasks: ../tasks/query-host.yml - command: ostree --version register: ostree_new_version - set_fact: |