ansible_deploy/tasks/main.yml
GnomeZworc 5f977df8f3
add git gestion
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2025-11-21 22:47:37 +01:00

15 lines
No EOL
400 B
YAML

---
- name: Install package {{ item.key }}
apt:
name: "{{ item.key }}"
install_recommends: no
update_cache: yes
cache_valid_time: 60
loop: "{{ __packages | dict2items }}"
- name: Cloner un two_with_git
ansible.builtin.git:
repo: "https://{{ __git.__user }}:{{ __git.__token }}@{{ __git.__host }}/syonad/two_with_bash.git"
dest: "/opt/two_with_bash"
version: "main"