summaryrefslogtreecommitdiffstats
path: root/configure.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-04-24 01:01:42 +0200
committerAhmed Abdelhalim <[email protected]>2026-04-24 01:01:42 +0200
commitb7095cb5da0ce3381c2b2e4f8681df200ad1b16c (patch)
tree0dfe1dcad9a856fe98a0f7740d969efa17e78d18 /configure.yml
parent0013ad5002806d6fec9b02b86de0554573320c5b (diff)
Fix warning about loop var
Diffstat (limited to 'configure.yml')
-rw-r--r--configure.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/configure.yml b/configure.yml
index 173111ca..fc307868 100644
--- a/configure.yml
+++ b/configure.yml
@@ -8,7 +8,9 @@
tasks:
- name: "Common"
ansible.builtin.include_role:
- name: "{{ item }}"
+ name: "{{ role }}"
+ loop_control:
+ loop_var: "role"
loop:
- "locales"
- "timezone"
@@ -56,7 +58,9 @@
- name: "Archlinux"
when: ansible_distribution == 'Archlinux'
ansible.builtin.include_role:
- name: "{{ item }}"
+ name: "{{ role }}"
+ loop_control:
+ loop_var: "role"
loop:
- "yay"
- "mpv"
@@ -68,7 +72,9 @@
- name: "Ubuntu"
when: ansible_distribution == 'Ubuntu'
ansible.builtin.include_role:
- name: "{{ item }}"
+ name: "{{ role }}"
+ loop_control:
+ loop_var: "role"
loop:
- "gnome"