Skip to content
Snippets Groups Projects
Commit 6cec15f8 authored by Klaus Frank's avatar Klaus Frank
Browse files

Add changed detection

parent 3bac01f1
No related branches found
No related tags found
No related merge requests found
- name: PREREQUIREMENTS | Update package index
raw: pacman -Sy
register: command_res
changed_when: false
- name: PREREQUIREMENTS | Install packages
raw: pacman --noconfirm -S {{ item }}
raw: pacman --needed --noconfirm -S {{ item }}
with_items: '{{ ansible_prerequirements_packages }}'
register: command_res
changed_when: "'Es gibt nichts zu tun' not in command_res.stdout"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment