Linus Sehn linus
linus commented on issue fsfe-system-hackers/inventory#1 2021-02-12 08:58:40 +00:00
Make inventory dynamic (i.e. emit JSON)

Ok, I got a first version done in bash. It's quite slow (1+ sec.) on my 6core. I noticed my bash-fu sucks because I basically try to write python (with the only difference being that I need to…

linus pushed to dynamic-inventory at fsfe-system-hackers/inventory 2021-02-12 08:52:32 +00:00
f2ef450ae0 gotta read documentation and specify desired output correctly
linus pushed to dynamic-inventory at fsfe-system-hackers/inventory 2021-02-11 15:07:28 +00:00
53c6b39bcb add stout
linus pushed to dynamic-inventory at fsfe-system-hackers/inventory 2021-02-11 15:00:58 +00:00
38dcda77a6 move cleaning to beginning, still slow... just read about bash for-loops
linus pushed to dynamic-inventory at fsfe-system-hackers/inventory 2021-02-11 14:45:58 +00:00
7b25e9a379 script working but slow, need to learn more about bash
linus pushed to master at fsfe-system-hackers/unattended-upgrades 2021-02-11 14:11:33 +00:00
f8ae615d5b enlarge reboot window from 30m to 60m
linus pushed to dynamic-inventory at fsfe-system-hackers/inventory 2021-02-11 12:06:53 +00:00
2166659dee removed test
linus pushed to dynamic-inventory at fsfe-system-hackers/inventory 2021-02-11 12:06:14 +00:00
7794f068a9 added all hosts to "all:"
linus pushed to dynamic-inventory at fsfe-system-hackers/inventory 2021-02-11 09:32:05 +00:00
823b24fd39 added ansible_hosts array
linus pushed to dynamic-inventory at fsfe-system-hackers/inventory 2021-02-11 09:00:28 +00:00
4cf6f6d6d4 added sample inventory in json
linus commented on issue fsfe-system-hackers/inventory#1 2021-02-11 08:37:39 +00:00
Make inventory dynamic (i.e. emit JSON)

I will get to work on this.

linus closed issue fsfe-system-hackers/unattended-upgrades#1 2021-02-11 08:19:23 +00:00
bad time when minutes for reboot are below 10
linus commented on issue fsfe-system-hackers/unattended-upgrades#1 2021-02-11 08:19:20 +00:00
bad time when minutes for reboot are below 10

Perhaps increasing the range to 60min would be a good idea anyway as there is a good chance with 20+ hosts that they'll reboot at the same time if the range is just 30. I'll make this change and…

linus commented on issue fsfe-system-hackers/unattended-upgrades#1 2021-02-09 17:21:42 +00:00
bad time when minutes for reboot are below 10

just found out it's apparently not an issue:

even with 3:2, I'm getting the following:

Shutdown msg: b"Shutdown scheduled for Wed 2021-02-10 03:02:00 CET, use 'shutdown -c' to…
linus opened issue fsfe-system-hackers/unattended-upgrades#1 2021-02-09 17:08:47 +00:00
bad time when minutes for reboot are below 10
linus pushed to master at fsfe-system-hackers/unattended-upgrades 2021-02-09 14:24:51 +00:00
67f668dc39 shifted file deletion to configure-timers
linus pushed to master at fsfe-system-hackers/unattended-upgrades 2021-02-09 14:24:11 +00:00
867d95edeb updated timeline
linus pushed to master at fsfe-system-hackers/unattended-upgrades 2021-02-09 14:24:04 +00:00
824adc71a6 randomised minutes after the hour for reboot
linus pushed to master at fsfe-system-hackers/unattended-upgrades 2021-02-09 14:23:25 +00:00
16729f21c8 shifted position of role-call and put file deletion into configure-timers
linus pushed to master at fsfe-system-hackers/unattended-upgrades 2021-02-09 11:56:35 +00:00
7826f32cb5 bumped inventory