c0sco / ansible-modules-bitwarden

Bitwarden integrations for Ansible
GNU General Public License v3.0
109 stars 45 forks source link

Feature/custom+attachments #25

Open atta opened 2 years ago

atta commented 2 years ago

this patch will allow custome fields and attachments used with Organization and Collection

simonsd commented 2 years ago

+1 Cleaner and much more intuitive handling of fields/attachments imho

ansible-galaxy install git+https://github.com/citynetwork/ansible-modules-bitwarden,feature/custom\+attachments

- hosts: foo
   roles:
   - ansible-modules-bitwarden
   tasks:
   - ansible.builtin.copy:
      dest:  ~/.ssh/id_rsa.pub
      content: "{{ lookup('bitwarden', 'id_rsa', field='id_rsa.pub', type='attachment') }}"