Switch more modern syntax with loop

This commit is contained in:
Alexander Gorelyshev
2025-12-28 20:01:24 +04:00
parent 883ddb0184
commit 42c149111f

View File

@@ -8,7 +8,7 @@
state: present
- name: "Install | Create directories {{ item }}"
with_items:
loop:
- "{{ alertmanager_config_dir }}"
- "{{ alertmanager_storage_dir }}"
ansible.builtin.file:
@@ -43,7 +43,7 @@
remote_src: true
- name: "Install | Put the binaries under the PATH"
with_items:
loop:
- alertmanager
- amtool
ansible.builtin.copy: