17 lines
526 B
YAML
17 lines
526 B
YAML
|
---
|
||
|
|
||
|
- name: Configure rbw
|
||
|
ansible.builtin.file:
|
||
|
path: "{{ '~/Library/Application Support/rbw' if ansible_facts['os_family'] == 'Darwin' else '~/.config/rbw' }}"
|
||
|
state: directory
|
||
|
mode: '0755'
|
||
|
become: true
|
||
|
become_user: "{{ user.name }}"
|
||
|
|
||
|
- name: Copy rbw-config.json
|
||
|
ansible.builtin.copy:
|
||
|
src: rbw-config.json
|
||
|
dest: "{{ '~/Library/Application Support/rbw' if ansible_facts['os_family'] == 'Darwin' else '~/.config/rbw' }}/config.json"
|
||
|
mode: '0644'
|
||
|
become: true
|
||
|
become_user: "{{ user.name }}"
|