ansible/node: Handle both Python 2 and 3 versions of SELinux package
authorMartin Schwenke <martin@meltin.net>
Mon, 18 May 2020 05:18:35 +0000 (15:18 +1000)
committerMartin Schwenke <martin@meltin.net>
Tue, 26 May 2020 03:32:12 +0000 (13:32 +1000)
commitfcb4807846d6921fb0f7c727d19c3752f2b3cc4c
tree7e4a81b50468e8debc7590913146eb67816024a0
parentf6e9806e495c8e343e8f1a35b8e72e0b0999df1b
ansible/node: Handle both Python 2 and 3 versions of SELinux package

Have tried "neater" ways involving setting a fact such as rh7
containing a bool value to keep the logic compact.  However, figuring
out how to treat what ends up as a string "True" or "False" as a bool
seems insanely difficult.

Signed-off-by: Martin Schwenke <martin@meltin.net>
ansible/node/roles/common/tasks/redhat/packages.yml