fixed it the way GG wants it fixed
This commit is contained in:
parent
be8b356174
commit
34cc100e7c
16
main.yml
16
main.yml
@ -22,23 +22,27 @@
|
|||||||
tags: ['mas']
|
tags: ['mas']
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: tasks/ansible-setup.yml
|
- import_tasks: tasks/ansible-setup.yml
|
||||||
|
tags: ['setup']
|
||||||
|
|
||||||
- include_tasks: tasks/sudoers.yml
|
- import_tasks: tasks/sudoers.yml
|
||||||
when: configure_sudoers
|
when: configure_sudoers
|
||||||
|
tags: ['sudoers']
|
||||||
|
|
||||||
- include_tasks: tasks/terminal.yml
|
- import_tasks: tasks/terminal.yml
|
||||||
when: configure_terminal
|
when: configure_terminal
|
||||||
|
tags: ['terminal']
|
||||||
|
|
||||||
- include_tasks: tasks/osx.yml
|
- import_tasks: tasks/osx.yml
|
||||||
when: configure_osx
|
when: configure_osx
|
||||||
tags: ['osx']
|
tags: ['osx']
|
||||||
|
|
||||||
- include_tasks: tasks/extra-packages.yml
|
- import_tasks: tasks/extra-packages.yml
|
||||||
tags: ['extra-packages']
|
tags: ['extra-packages']
|
||||||
|
|
||||||
- name: Run configured post-provision ansible task files.
|
- name: Run configured post-provision ansible task files.
|
||||||
include_tasks: "{{ outer_item }}"
|
import_tasks: "{{ outer_item }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: outer_item
|
loop_var: outer_item
|
||||||
with_fileglob: "{{ post_provision_tasks|default(omit) }}"
|
with_fileglob: "{{ post_provision_tasks|default(omit) }}"
|
||||||
|
tags: ['post']
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
---
|
---
|
||||||
- name: Ensure extra packages
|
|
||||||
block:
|
|
||||||
- name: Install global Composer packages.
|
- name: Install global Composer packages.
|
||||||
composer:
|
composer:
|
||||||
command: "{{ (item.state | default('present') == 'absent') | ternary('remove', 'require') }}"
|
command: "{{ (item.state | default('present') == 'absent') | ternary('remove', 'require') }}"
|
||||||
@ -34,4 +32,3 @@
|
|||||||
user_install: false
|
user_install: false
|
||||||
executable: "{{ item.executable | default(omit) }}"
|
executable: "{{ item.executable | default(omit) }}"
|
||||||
loop: "{{ gem_packages }}"
|
loop: "{{ gem_packages }}"
|
||||||
tags: ['extra-packages']
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user