Skip to content

Commit

Permalink
roles/rpm_ostree_status: remove tools container on exit (projectatomi…
Browse files Browse the repository at this point in the history
…c#401)

When reusing a test system to validate some other changes, I noticed
that there were a pile of `aht-tools` containers on the host.  This
looks like an oversight when I first started using the tools container
to filter out JSON keys; should make things a little more tidy.
  • Loading branch information
Micah Abbott authored and mike-nguyen committed May 24, 2018
1 parent b834477 commit e3eea1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/rpm_ostree_status/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- name: Get rpm-ostree status output
shell: >
rpm-ostree status --json |
docker run -i docker.io/miabbott/aht-tools
docker run --rm -i docker.io/miabbott/aht-tools
jq 'del(.deployments[]["layered-commit-meta"]["rpmostree.rpmdb.pkglist"],
.deployments[]["base-commit-meta"]["rpmostree.rpmdb.pkglist"])'
register: ros
Expand Down

0 comments on commit e3eea1d

Please sign in to comment.