@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
28 lines (24 loc) • 737 B
YAML
- name: "Ensure {{ app_name }} is installed"
become: false
community.general.homebrew_cask:
name: keybase
state: "{{ app_state | default('present') }}"
accept_external_apps: "{{ allow_external_apps | default(false) }}"
sudo_password: "{{ ansible_become_pass }}"
- name: Ensure /etc/keybase directory exists
file:
path: /etc/keybase
state: directory
mode: 0755
- name: Ensure setting to disable root redirector exists
copy:
dest: /etc/keybase/config.json
content: |
{
"disable-root-redirector": true
}
mode: 0644
- name: "Ensure keybase-redirector permissions are updated" # noqa 301
become_user: "{{ ansible_user }}"
command: keybase uninstall -c redirector