mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 12:38:11 +00:00
bitwarden
This commit is contained in:
parent
8437173c68
commit
6bd66903ee
@ -1,10 +1,21 @@
|
||||
- hosts: "{{ hosts }}"
|
||||
|
||||
become: yes
|
||||
become: true
|
||||
tasks:
|
||||
|
||||
# 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
|
||||
ansible.posix.authorized_key:
|
||||
user: "{{ user }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user