Initial commit
This commit is contained in:
commit
a50bd9c88e
3 changed files with 51 additions and 0 deletions
20
tasks/main.yml
Normal file
20
tasks/main.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
- name: install git
|
||||
apt:
|
||||
pkg: git
|
||||
|
||||
- debug: var=git
|
||||
|
||||
- name: include repositories (with updates)
|
||||
include_tasks:
|
||||
file: repo.yml
|
||||
apply:
|
||||
tags:
|
||||
- update
|
||||
when: item.value.update|d(true)
|
||||
with_dict: "{{ git }}"
|
||||
|
||||
- name: include repositories (without updates)
|
||||
include_tasks:
|
||||
file: repo.yml
|
||||
when: not item.value.update|d(true)
|
||||
with_dict: "{{ git }}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue