exploide / ansible-role-dnf-automatic Goto Github PK
View Code? Open in Web Editor NEWThis role installs, configures and activates dnf-automatic via Ansible on hosts which use the dnf package manager.
License: MIT License
This role installs, configures and activates dnf-automatic via Ansible on hosts which use the dnf package manager.
License: MIT License
Just wanted to let you know after updating to 3.0.0 we got the following error:
TASK [exploide.dnf-automatic : Install dnf-automatic package] ******************
ok: [machine-1]
TASK [exploide.dnf-automatic : Deploy dnf-automatic configuration file] ********
ok: [machine-1]
TASK [exploide.dnf-automatic : Start and enable systemd timer for dnf-automatic] ***
ok: [machine-1]
TASK [exploide.dnf-automatic : Set timer state for auto reboot] ****************
fatal: [machine-1]: FAILED! => changed=false
msg: 'Could not find the requested service dnf-automatic-reboot.timer: host'
We're no longer using the role but thought you'd want to know. Thanks.
I was reading and using the documentation like in the readme file, however the version here in master is newer then the latest release on ansible galaxy, so the new commands documentend in the readme don't work with the role in the readme yet (Swtiching to 'https://github.com/exploide/ansible-role-dnf-automatic.git' as a src for the role does work)
At the moment, the systemd unit dnf-automatic.timer is enabled and started with the command module. While this works in general, it reports "changed" during every run of ansible-playbook.
It would be nice to have something which recognizes the current state of the timer unit and reports "changed" only when it really changed something.
For services there is the service module but I'm not aware of something similar for systemd timers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.