##################################### ### someone's ansible provisioner ### ##################################### # Part of: https://git.somenet.org/root/pub/somesible.git # 2017-2024 by someone # --- - name: install saslauthd apt: pkg: - sasl2-bin state: present policy_rc_d: 101 tags: "online" ignore_errors: "{{ignore_online_errors | bool}}" - name: copy saslauthd defaults copy: src: "{{item}}" dest: "/etc/default/saslauthd" mode: 0644 owner: "root" group: "root" with_first_found: - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/saslauthd" - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/saslauthd" - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/saslauthd" - "default/saslauthd" notify: restart saslauthd.service - name: enable and start saslauthd.service include_role: name="base/systemd/enable-and-start" vars: service_name: saslauthd.service