Skip to content

Commit

Permalink
fix: add missing loop_control labels for profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
btravouillon committed Sep 10, 2022
1 parent 158eedd commit b5088b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasks/profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
group: root
mode: '0755'
loop: "{{ cobbler_profiles | subelements('snippets', skip_missing=True) }}"
loop_control:
label: "Create directory /var/lib/cobbler/snippets/per_profile/{{ item.1.name }}"

- name: Copy per_profile snippets
ansible.builtin.copy:
Expand All @@ -74,3 +76,5 @@
mode: '0644'
dest: "/var/lib/cobbler/snippets/per_profile/{{ item.1.name }}/{{ item.0.name }}"
loop: "{{ cobbler_profiles | subelements('snippets', skip_missing=True) }}"
loop_control:
label: "Install snippet /var/lib/cobbler/snippets/per_profile/{{ item.1.name }}/{{ item.0.name }}"

0 comments on commit b5088b4

Please sign in to comment.