mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 05:07:06 +01:00
bitwarden
This commit is contained in:
1 parent
8d81bf6450
commit
358fa2c9b1
1 file changed
+2
-2
@@ -26,9 +26,9 @@
|
|||||||
|
|
||||||
- name: Ensure we have our own comment added to /etc/services
|
- name: Ensure we have our own comment added to /etc/services
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: "cat {{ ansible_env.HOME }}/.ssh/authorized_keys"
|
path: "{{ ansible_env.HOME }}/.ssh/authorized_keys"
|
||||||
line: key.stdout
|
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') }}"
|
||||||
Reference in new issue
Block a user