Skip to content
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

Add switch that disables repo installation #10

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

florian-asche
Copy link

Hi, on some systems the repo installation failed due to the non existent packages for that distribution or system version. Also it would be cool to disable dev repo and use production instead.

Example:

TASK [sansible.mosquitto : Add Mosquitto repository] ********************************************************************************
fatal: [newfhem]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: E:The repository 'http://ppa.launchpad.net/mosquitto-dev/mosquitto-ppa/ubuntu stretch Release' does not have a Release file."}

I added a switch for that in this PR. Feel free to merge this to development for automated testing and move it to production.

@florian-asche
Copy link
Author

I hope it is ok, that i also added another change in this PR. I made it possible to change the destination for the configuration file. The default configuration file has some values for example persistence. I cannot change that with the sub configuration because its duplicated then. This way i can choose what i want to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant