mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Added tasks conditional
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
- name: Enable faster connection to devices
|
- name: Enable faster connection to devices
|
||||||
|
when: ansible_system == 'Linux'
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: "/etc/bluetooth/main.conf"
|
path: "/etc/bluetooth/main.conf"
|
||||||
@@ -16,6 +17,7 @@
|
|||||||
create: true
|
create: true
|
||||||
backup: true
|
backup: true
|
||||||
- name: Enable all controllers as soon as they are found
|
- name: Enable all controllers as soon as they are found
|
||||||
|
when: ansible_system == 'Linux'
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: "/etc/bluetooth/main.conf"
|
path: "/etc/bluetooth/main.conf"
|
||||||
|
|||||||
Reference in New Issue
Block a user