make the playbooks a tiny bit cleaner

This commit is contained in:
erebion 2024-09-01 01:32:07 +02:00
parent 9b27745f2e
commit 2f7d7b8ffd
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
--- ---
- hosts: 10.66.0.1 - hosts: all
tasks: tasks:
### ALSA Config ### ### ALSA Config ###
@ -87,15 +87,15 @@
state: present state: present
update_cache: true update_cache: true
- name: "Create directory for the repos (first delete it to make it empty)" - name: "Remove repos that already exist"
ansible.builtin.file: ansible.builtin.file:
path: "/opt/repos/" path: "/opt/repos/{{ item }}"
state: "{{ item }}" state: "absent"
owner: nobody owner: nobody
group: nogroup group: nogroup
loop: loop:
- "absent" - "tinyalsa"
- "directory" - "q6voiced"
- name: "Clone tinyalsa repo" - name: "Clone tinyalsa repo"
ansible.builtin.git: ansible.builtin.git:

View file

@ -1,6 +1,6 @@
--- ---
- hosts: 10.66.0.1, - hosts: all,
tasks: tasks: