From 1259534b286cec4705a386f90950f3b8801020ac Mon Sep 17 00:00:00 2001 From: Ullli Date: Wed, 17 May 2023 17:02:22 +0200 Subject: [PATCH 1/1] erstellt --- library/helpdesk.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 library/helpdesk.yml diff --git a/library/helpdesk.yml b/library/helpdesk.yml new file mode 100644 index 0000000..aaa1bb4 --- /dev/null +++ b/library/helpdesk.yml @@ -0,0 +1,13 @@ +--- +- name: install fusioninventory-agent + ansible.builtin.apt: + pkg: + - fusioninventory-agent +- name: create fusioninventory-agent config-file + ansible.builtin.copy: + dest: /etc/fusioninventory/conf.d/01server.cfg + content: | + server = http://"{{ helpdeskserver }}"/plugins/fusioninventory/ +- name: start fusioninventory-agent + command: fusioninventory-agent +... -- 2.39.5