mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
bitwarden
This commit is contained in:
parent
a8d2bb861b
commit
8d81bf6450
@ -24,6 +24,11 @@
|
|||||||
debug:
|
debug:
|
||||||
var: key.stdout
|
var: key.stdout
|
||||||
|
|
||||||
|
- name: Ensure we have our own comment added to /etc/services
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
path: "cat {{ ansible_env.HOME }}/.ssh/authorized_keys"
|
||||||
|
line: key.stdout
|
||||||
|
|
||||||
- name: Print
|
- name: Print
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "the value of foo.txt is {{ lookup('ansible.builtin.file', '/home/jd/.ssh/id_rsa.pub') }}"
|
msg: "the value of foo.txt is {{ lookup('ansible.builtin.file', '/home/jd/.ssh/id_rsa.pub') }}"
|
Loading…
x
Reference in New Issue
Block a user