Ensure space around pipe character for ansible-lint

This commit is contained in:
Charles Wright 2022-08-05 13:48:45 -05:00
parent 0ee44adde8
commit 5799b95c01
4 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@
mode: 0750
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
when: "matrix_conduit_enabled|bool"
when: "matrix_conduit_enabled | bool"
- name: Ensure Conduit data path exists
ansible.builtin.file:
@ -16,10 +16,10 @@
mode: 0770
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
when: "matrix_conduit_enabled|bool"
when: "matrix_conduit_enabled | bool"
- import_tasks: "{{ role_path }}/tasks/conduit/setup_install.yml"
when: matrix_conduit_enabled|bool
when: "matrix_conduit_enabled | bool"
- import_tasks: "{{ role_path }}/tasks/conduit/setup_uninstall.yml"
when: "not matrix_conduit_enabled|bool"
when: "not matrix_conduit_enabled | bool"

View File

@ -28,4 +28,4 @@
- name: Ensure systemd reloaded after matrix-conduit.service installation
ansible.builtin.systemd:
daemon_reload: true
when: "matrix_conduit_systemd_service_result.changed|bool"
when: "matrix_conduit_systemd_service_result.changed | bool"

View File

@ -2,4 +2,4 @@
- ansible.builtin.set_fact:
matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-conduit.service'] }}"
when: matrix_conduit_enabled|bool
when: matrix_conduit_enabled | bool

View File

@ -5,7 +5,7 @@
- always
- import_tasks: "{{ role_path }}/tasks/conduit/setup.yml"
when: run_setup|bool
when: run_setup | bool
tags:
- setup-all
- setup-conduit