Open gamethis opened 3 years ago
I cannot replicate this, I've created a test playbook that did the various permutations on 2 runs of the role; True -> False
, True -> True
, False -> True
, and False -> False
and they all acted as expected. Both lines were present when opt_openssh_shared_admin_key: True
and only the Match Group administrators
line is set when opt_openssh_shared_admin_key: False
which is the expected behaviour. Are you sure you set the variable to True
in the 2nd run?
when running 2nd time with
opt_openssh_shared_admin_key: true
the following lines in c:\programdata\ssh\sshd_config and in the c:\program files\Openssh\sshd_config_defaults:
get changed to :
this causes authorized keys in the
administrators_authorized_keys
file to be ignored.