update
This commit is contained in:
parent
5c8eaa0a37
commit
5901141cc3
8 changed files with 51 additions and 41 deletions
20
ansible/roles/devpod/tasks/main.yml
Normal file
20
ansible/roles/devpod/tasks/main.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
- name: Load devpod variables if DEVPOD is true
|
||||
include_vars: "vars/devpod.yml"
|
||||
|
||||
- name: install apt
|
||||
include_tasks: "./scripts/install_apt.yml"
|
||||
|
||||
- name: install brew
|
||||
include_tasks: "./scripts/install_brew.yml"
|
||||
|
||||
#- name: install go
|
||||
# include_tasks: "./scripts/install_go.yml"
|
||||
|
||||
- name: install go apps
|
||||
include_tasks: "./scripts/install_goapps.yml"
|
||||
|
||||
- name: configure bat
|
||||
include_tasks: "./scripts/configure_bat.yml"
|
||||
|
||||
- name: trust internal certs
|
||||
include_tasks: "./scripts/install_local_ca.yml"
|
||||
|
|
@ -1,17 +1,11 @@
|
|||
- name: Load devpod variables if DEVPOD is true
|
||||
- name: Load a variable file
|
||||
include_vars: "{{ item }}"
|
||||
with_first_found:
|
||||
- "vars/devpod.yml"
|
||||
when: DEVPOD
|
||||
- "vars/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
||||
- "vars/{{ ansible_distribution }}.yml"
|
||||
- "vars/{{ ansible_os_family }}.yml"
|
||||
- "vars/defaults.yml"
|
||||
|
||||
#- name: Load a variable file
|
||||
# include_vars: "{{ item }}"
|
||||
# with_first_found:
|
||||
# - "vars/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
||||
# - "vars/{{ ansible_distribution }}.yml"
|
||||
# - "vars/{{ ansible_os_family }}.yml"
|
||||
# - "vars/defaults.yml"
|
||||
# when: not DEVPOD
|
||||
|
||||
- name:
|
||||
- name: "load tasks"
|
||||
include_tasks: "defaults.yml"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue