@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
17 lines (15 loc) • 412 B
YAML
- name: Ensure ~/.config/himalaya directory exists
become_user: "{{ user.username }}"
file:
mode: 0700
path: ~/.config/himalaya
state: directory
- name: "Ensure {{ app_name }}'s configuration file is created"
become_user: "{{ user.username }}"
blockinfile:
path: ~/.config/himalaya/config.toml
block: "{{ user.himalaya_config }}"
backup: true
create: true
mode: 0700