arch-install/roles/07_user/tasks/rbw.yml

17 lines
526 B
YAML
Raw Permalink Normal View History

2024-06-10 14:23:13 +00:00
---
- 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 }}"