--- # tasks file for bareos_console - name: Import assert.yml ansible.builtin.import_tasks: file: assert.yml run_once: true delegate_to: localhost - name: Install bareos-console ansible.builtin.package: name: bareos-bconsole state: present - name: Place bconsole.conf ansible.builtin.template: src: bconsole.conf.j2 dest: /etc/bareos/bconsole.conf owner: root group: bareos mode: "0640" validate: /usr/sbin/bconsole --test-config --config %s when: - bareos_console_directors is defined