arch-install/roles/07_user/tasks/rbw.yml
Ariejan de Vroom e3aaee336c
Some checks failed
Lint / Lint (3.10) (push) Failing after 16s
Lint / Lint (3.11) (push) Failing after 19s
Update to macos install
2024-06-10 16:23:13 +02:00

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 }}"