machine_setup/ansible/roles/bluetooth/tasks/linux.yaml

31 lines
599 B
YAML
Raw Normal View History

2022-12-02 23:29:13 +00:00
# - name: Build aur packages
# register: buildaur
# become_user: "{{ build_user.name }}"
# command: "aurutils-sync --no-view {{ item }}"
# args:
# creates: "/var/cache/pacman/custom/{{ item }}-*.pkg.tar.*"
# loop:
# - foo
# - name: Update cache
# when: buildaur.changed
# pacman:
# name: []
# state: present
# update_cache: true
2023-02-18 17:19:58 +00:00
- name: Install packages
package:
name:
- bluez
- bluez-utils
state: present
- name: Enable services
systemd:
enabled: yes
name: "{{ item }}"
daemon_reload: yes
loop:
- bluetooth.service