Activate reporter by setting misc_reporter
to true
The reporting service can still be installed without sending automatic reports. This allows an automatic report to be sent after the initial installation. The report can also be triggered by user interaction.
This commit is contained in:
parent
aa9a1fca43
commit
84c7a4d1c6
3 changed files with 654 additions and 650 deletions
1294
inventory.yml
1294
inventory.yml
File diff suppressed because it is too large
Load diff
|
@ -3,6 +3,7 @@ misc_avoid_suspend: true
|
|||
misc_pwroff: true
|
||||
misc_pwroff_idle: true
|
||||
misc_pxe_first: false
|
||||
misc_reporter_serv: ""
|
||||
misc_reporter: false
|
||||
misc_reporter_serv: "localhost 1234"
|
||||
misc_clonescreen: false
|
||||
misc_clonescreen_mode: "1920x1080@60"
|
||||
|
|
|
@ -164,9 +164,8 @@
|
|||
- name: Copy reporter
|
||||
ansible.builtin.template:
|
||||
src: reporter.j2
|
||||
dest: /usr/local/sbin/
|
||||
dest: /usr/local/sbin/reporter
|
||||
mode: '0755'
|
||||
when: misc_reporter_serv | length > 0
|
||||
|
||||
- name: Provide services and timers for reporter
|
||||
ansible.builtin.copy:
|
||||
|
@ -176,13 +175,13 @@
|
|||
loop:
|
||||
- reporter.service
|
||||
- reporter.timer
|
||||
when: misc_reporter_serv | length > 0
|
||||
when: misc_reporter
|
||||
|
||||
- name: Enable reporter.timer
|
||||
ansible.builtin.systemd:
|
||||
name: reporter.timer
|
||||
enabled: true
|
||||
when: misc_reporter_serv | length > 0
|
||||
when: misc_reporter
|
||||
|
||||
# Prepare CloneScreen on Presenter PCs
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue