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:
### ALSA Config ###
@ -87,15 +87,15 @@
state: present
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:
path: "/opt/repos/"
state: "{{ item }}"
path: "/opt/repos/{{ item }}"
state: "absent"
owner: nobody
group: nogroup
loop:
- "absent"
- "directory"
- "tinyalsa"
- "q6voiced"
- name: "Clone tinyalsa repo"
ansible.builtin.git:

View file

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