feat: update Ansible configuration and add 1Password lookup plugin for secret management
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user