🚨: yamllint conformity

This commit is contained in:
VC
2024-07-05 11:53:53 +02:00
parent 8ee9a0f8ef
commit 192bf6dfcd
48 changed files with 103 additions and 95 deletions

View File

@@ -6,7 +6,7 @@
dest: "{{ garage_bin }}"
owner: root
group: root
mode: 0755
mode: "0o755"
force: true
notify:
- Restart garage
@@ -15,13 +15,13 @@
ansible.builtin.template:
src: garage.service.j2
dest: /etc/systemd/system/garage.service
mode: 0644
mode: "0o644"
- name: Put garage.toml conf file
ansible.builtin.template:
src: garage.toml.j2
dest: /etc/garage.toml
mode: 0644
mode: "0o644"
vars:
cluster_group: "{{ group_names | map('regex_search', '.+_cluster') | select('string') | first }}"
cluster_group_length: "{{ groups[cluster_group] | reject('search', 'gw') | length }}"