Compare commits
No commits in common. "f70f907206dd1a8c225c8b57c1469015ee39978f" and "2cf905f09de44588499ebbad58345944c58d008b" have entirely different histories.
f70f907206
...
2cf905f09d
4 changed files with 590 additions and 654 deletions
1206
inventory-fvs.yml
1206
inventory-fvs.yml
File diff suppressed because it is too large
Load diff
|
|
@ -190,26 +190,6 @@
|
||||||
tags:
|
tags:
|
||||||
- baseinstall
|
- baseinstall
|
||||||
|
|
||||||
# Updater
|
|
||||||
|
|
||||||
- name: Provide services and timers for updater
|
|
||||||
ansible.builtin.template:
|
|
||||||
src: "{{ item }}.j2"
|
|
||||||
dest: "/etc/systemd/system/{{ item }}"
|
|
||||||
mode: '0644'
|
|
||||||
loop:
|
|
||||||
- lmn-updater.service
|
|
||||||
- lmn-updater.timer
|
|
||||||
when: misc_updater_repository | default(false) is truthy
|
|
||||||
|
|
||||||
- name: Enable updater.timer
|
|
||||||
ansible.builtin.systemd:
|
|
||||||
name: lmn-updater.timer
|
|
||||||
enabled: true
|
|
||||||
when:
|
|
||||||
- misc_updater_repository | default(false) is truthy
|
|
||||||
- misc_updater_autostart | default(false) is truthy
|
|
||||||
|
|
||||||
# Prepare CloneScreen on Presenter PCs
|
# Prepare CloneScreen on Presenter PCs
|
||||||
|
|
||||||
- name: Fix primary screen for class room PCs with projector
|
- name: Fix primary screen for class room PCs with projector
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Run LMN Client updates via ansible-pull
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
User=root
|
|
||||||
ExecStart=/usr/bin/ansible-pull --verbose --vault-password-file /root/.inventory-pw -l %H -d /root/lmn-client \
|
|
||||||
-i {{ misc_updater_inventory }} --url={{ misc_updater_repository }} -C {{ misc_updater_branch }} lmn-client.yml
|
|
||||||
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Run LMN Updater every day
|
|
||||||
Requires=lmn-updater.service
|
|
||||||
|
|
||||||
[Timer]
|
|
||||||
OnBootSec=5min
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=timers.target
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue