start developing module for go_install
not going to be used for a long time Making pkg tasks truly single file
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Add bitwarden
|
||||
when:
|
||||
- bitwarden_configured is undefined
|
||||
block:
|
||||
- name: Load bitwarden config
|
||||
ansible.builtin.include_tasks:
|
||||
file: config/bitwarden.yml
|
||||
|
||||
- name: Append bitwarden to pkg_flatpak
|
||||
when:
|
||||
- bitwarden.method == 'flatpak'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_flatpak: "{{ pkg_flatpak + [bitwarden.pkg] }}"
|
||||
|
||||
- name: Append bitwarden to pkg_appimage
|
||||
when:
|
||||
- bitwarden.method == 'appimage'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_appimage: "{{ pkg_appimage + [bitwarden.pkg] }}"
|
||||
|
||||
- name: Append bitwarden to pkg_cask
|
||||
when:
|
||||
- bitwarden.method == 'cask'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_cask: "{{ pkg_cask + [bitwarden.pkg] }}"
|
||||
|
||||
- name: Set bitwarden_configured
|
||||
ansible.builtin.set_fact:
|
||||
bitwarden_configured: true
|
||||
Reference in New Issue
Block a user