Using ansible.builtin where possible

This commit is contained in:
Charles Wright
2022-08-05 13:44:56 -05:00
parent 47caba38fb
commit 0ee44adde8
5 changed files with 11 additions and 11 deletions

View File

@ -11,7 +11,7 @@
until: result is not failed
- name: Ensure Conduit configuration installed
template:
ansible.builtin.template:
src: "{{ role_path }}/templates/conduit/conduit.toml.j2"
dest: "{{ matrix_conduit_config_path }}/conduit.toml"
mode: 0644
@ -19,13 +19,13 @@
group: "{{ matrix_user_groupname }}"
- name: Ensure matrix-conduit.service installed
template:
ansible.builtin.template:
src: "{{ role_path }}/templates/conduit/systemd/matrix-conduit.service.j2"
dest: "{{ matrix_systemd_path }}/matrix-conduit.service"
mode: 0644
register: matrix_conduit_systemd_service_result
- name: Ensure systemd reloaded after matrix-conduit.service installation
service:
ansible.builtin.systemd:
daemon_reload: true
when: "matrix_conduit_systemd_service_result.changed|bool"