I also have https://github.com/rundeck/rundeck/pull/3783 to fix the package default. Since I mount the loginmodule, when the run command detects if it should lay down the rundeck-defaults /etc/rundeck is not empty so it doesn't.
I created a branch that has this file in content/etc/rundeck so it overrides the default and that setup is currently working for me.
Based on the following link the loginmodule.conf.name should point to just the conf file instead of the full path to the file.
https://github.com/rundeck/rundeck/issues/3755
I also have https://github.com/rundeck/rundeck/pull/3783 to fix the package default. Since I mount the loginmodule, when the run command detects if it should lay down the rundeck-defaults /etc/rundeck is not empty so it doesn't.
I created a branch that has this file in content/etc/rundeck so it overrides the default and that setup is currently working for me.