diff --git a/ansible/audio.yml b/ansible/audio.yml index 539fd9f..f3ffb1d 100644 --- a/ansible/audio.yml +++ b/ansible/audio.yml @@ -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: diff --git a/ansible/workarounds.yml b/ansible/workarounds.yml index 9a3e92d..2f29fc1 100644 --- a/ansible/workarounds.yml +++ b/ansible/workarounds.yml @@ -1,6 +1,6 @@ --- -- hosts: 10.66.0.1, +- hosts: all, tasks: