mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-10-29 17:40:08 +01:00
bitwarden
This commit is contained in:
@@ -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