--- - name: append iterm2 to caskpkgs set_fact: caskpkgs: "{{ (caskpkgs | default([])) + [ 'iterm2' ] }}"