zuul-jobs/roles/ensure-cabal
Ian Wienand 8c6512107c
Standarise block/when ordering
Newer ansbile-lint finds "when" or "become" statements that are at the
end of blocks.  Ordering these before the block seems like a very
logical thing to do, as we read from top-to-bottom so it's good to see
if the block will execute or not.

This is a no-op, and just moves the places the newer linter found.

Change-Id: If4d1dc4343ea2575c64510e1829c3fe02d6c273f
2022-11-07 10:37:53 +11:00
..
tasks Standarise block/when ordering 2022-11-07 10:37:53 +11:00
README.rst cabal-test: add build target job variable 2020-05-08 13:38:17 +00:00

Ensure cabal is installed

This role installs the cabal-install package and ensures the hackage packages list exists. This role uses the Fedora copr package.