mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-21 19:33:03 +00:00
fix tags issue 97
This commit is contained in:
parent
58632588cd
commit
87dd16f677
2 changed files with 5 additions and 4 deletions
|
@ -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) }}"
|
||||
|
|
|
@ -3,3 +3,4 @@
|
|||
- name: Run .osx dotfiles.
|
||||
command: "{{ osx_script }}"
|
||||
changed_when: false
|
||||
tags: ['osx']
|
||||
|
|
Loading…
Reference in a new issue