-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initial commit of the system_settings_general module #21
Conversation
While running the molecule tests in rekup/puzzle.opnsense#1, I noticed that the module fails when the hostname or domain is changed due to a lost connection. I suspect Ansible should wait for the Here the error output:
When running the exact same task again just a few moments later, the playbook runs through without any problems. |
I was able to reproduce the issue. The problem might be related to the opnsense version. The function |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me 👍
OPNsenseConfig
class which returns a dict with the config diff as required by ansible to display diffs using the--diff
flagconfig_utils
which handles the required actions to apply changes in the System -> Settings -> General viewsystem_settings_general
module with the ability to set hostname and domain