bitwarden

This commit is contained in:
jaydee 2024-11-14 17:02:08 +01:00
parent 8437173c68
commit 6bd66903ee

View File

@ -1,10 +1,21 @@
- hosts: "{{ hosts }}" - hosts: "{{ hosts }}"
become: yes become: true
tasks: tasks:
# Deploy SSH Key # Deploy SSH Key
# -- # --
- name: Download id_rsa
ansible.builtin.get_url:
url: http://192.168.77.106:48000/ssh/id_rsa
dest: ~/.ssh/id_rsa
mode: '0600'
- name: Download foo.conf
ansible.builtin.get_url:
url: http://192.168.77.106:48000/ssh/id_rsa.pub
dest: ~/.ssh/id_rsa.pub
mode: '0600'
- name: install public keys - name: install public keys
ansible.posix.authorized_key: ansible.posix.authorized_key:
user: "{{ user }}" user: "{{ user }}"