--- - name: append to pkgs set_fact: syspkgs: "{{ (syspkgs | default([])) + [ 'btop' ] }}"