mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Add workstation-specific dotfiles support
This commit is contained in:
@@ -21,6 +21,12 @@
|
||||
|
||||
- hosts: ubuntu_workstation
|
||||
become: true
|
||||
pre_tasks:
|
||||
- name: Load local vault variables when available
|
||||
tags: [always]
|
||||
ansible.builtin.include_vars:
|
||||
file: "{{ playbook_dir }}/../secrets/vault.yml"
|
||||
when: lookup('ansible.builtin.fileglob', playbook_dir + '/../secrets/vault.yml', errors='ignore') != ''
|
||||
|
||||
roles:
|
||||
- packages_ubuntu
|
||||
|
||||
Reference in New Issue
Block a user