Skip to content
Snippets Groups Projects
Commit 27ba9b14 authored by Chris Croome's avatar Chris Croome
Browse files

Only debug pkg when local pkg present

parent 342cb7b6
Branches
Tags
1 merge request!1Merge Sury
Pipeline #22507 passed
......@@ -35,6 +35,10 @@
ansible.builtin.debug:
msg:
- "{{ php.packages | difference(ansible_local.php.packages) }}"
verbosity: 2
when:
- ansible_local.php.packages is defined
- ansible_local.php.packages | length > 0
- name: PHP packages present
ansible.builtin.apt:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment