feat: update Ansible configuration and add 1Password lookup plugin for secret management
Some checks failed
Nix Format Check / check-format (push) Failing after 37s

This commit is contained in:
2025-03-11 15:54:31 +01:00
parent 6816f125eb
commit 47fb912c15
6 changed files with 106 additions and 24 deletions

View File

@@ -18,7 +18,7 @@
dest: /root/.smbcredentials
content: |
username=u451316
password={{ storage_box_password | default('CHANGE_ME') }}
password={{ lookup('onepassword', 'storage-box', field='password') | default('CHANGE_ME') }}
mode: '0600'
- name: Add fstab entry for storage-box
@@ -30,12 +30,6 @@
state: present
notify: Systemctl daemon-reload
- name: Mount storage-box
become: true
ansible.builtin.mount:
path: /mnt/storage-box
src: //u451316.your-storagebox.de/backup
fstype: cifs
- name: Mount storage-box
become: true
ansible.builtin.mount: