+++ This bug was initially created as a clone of Bug #1674000 +++
Description of problem:
Satellite 6 requires variables to be listed in defaults/main.yml in order to import/display them in UI. Some of variables such as the one for setting the policy is not listed there and default is hardcoded in tasks/main.yml. After a discussion with pcahyna, it should be posible to extract all of them.
Version-Release number of selected component (if applicable):
last released version, 1.0.0
Steps to Reproduce:
1. look at role directory
defaults directory is missing
all variables have entry in defaults/main.yml
in master branch, some of variables are already there
--- Additional comment from Red Hat Bugzilla Rules Engine on 2019-02-08 17:00:20 UTC ---
Since this bug report was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
--- Additional comment from Pavel Cahyna on 2019-02-08 17:05:45 UTC ---
The easy cases are there (in master), what is missing is selinux_state and selinux_policy, whose absence has a special meaning. It would be needed to let "null" have this special meaning instead and set the defaults to null.
test is available as tests/tests_default_vars.yml in the selinux role
... and in the timesync role for the analogous problem in timesync
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.