mirror of
https://github.com/morten-olsen/configs.git
synced 2026-02-08 00:46:24 +01:00
cleanup
This commit is contained in:
20
playbooks/roles/env_develop/tasks/main.yml
Normal file
20
playbooks/roles/env_develop/tasks/main.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: "Load vars : {{ context }}"
|
||||
ansible.builtin.include_vars: "{{ item }}"
|
||||
tags:
|
||||
- install
|
||||
with_first_found:
|
||||
- files:
|
||||
- "{{ ansible_distribution }}-{{ ansible_distribution_release }}.yml"
|
||||
- "{{ ansible_distribution }}.yml"
|
||||
- "{{ ansible_os_family }}.yml"
|
||||
- default.yml
|
||||
paths: ../vars
|
||||
skip: true
|
||||
|
||||
- name: "Install dependencies"
|
||||
tags:
|
||||
- install
|
||||
when: env_develop_pkgs
|
||||
ansible.builtin.package:
|
||||
name: "{{ env_develop_pkgs }}"
|
||||
Reference in New Issue
Block a user