fix tags issue 97

This commit is contained in:
dspolleke 2021-04-11 19:57:38 +02:00 committed by Paul van Noort
parent 58632588cd
commit 87dd16f677
2 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,6 @@
---
- name: Ensure extra packages are installed
block:
block:
- name: Install global Composer packages.
composer:
command: "{{ (item.state | default('present') == 'absent') | ternary('remove', 'require') }}"
@ -8,7 +8,7 @@
# Ansible 2.4 supports `global_command` making `working_dir` optional.
working_dir: "{{ lookup('env', 'COMPOSER_HOME') | default('~/.composer', true) }}"
loop: "{{ composer_packages }}"
- name: Install global NPM packages.
ansible.builtin.npm:
name: "{{ item.name | default(item) }}"
@ -17,7 +17,7 @@
global: true
executable: "{{ item.executable | default(omit) }}"
loop: "{{ npm_packages }}"
- name: Install global Pip packages.
ansible.builtin.pip:
name: "{{ item.name | default(item) }}"
@ -25,7 +25,7 @@
version: "{{ item.version | default(omit) }}"
executable: "{{ pip_executable | default(omit) }}"
loop: "{{ pip_packages }}"
- name: Install global Ruby gems.
ansible.builtin.gem:
name: "{{ item.name | default(item) }}"

View file

@ -3,3 +3,4 @@
- name: Run .osx dotfiles.
command: "{{ osx_script }}"
changed_when: false
tags: ['osx']