Skip to content
Snippets Groups Projects
Commit 80e4d78e authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

Fix ansible-lint warnings

parent e3719d19
Branches
Tags v4.1.0
No related merge requests found
Pipeline #135173 passed
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
register: hostkey register: hostkey
changed_when: false changed_when: false
- import_tasks: onserver.yml - name: Create Repo on backup target
ansible.builtin.import_tasks: onserver.yml
vars: vars:
borgbackup_source_key: "{{ hostkey.stdout }}" borgbackup_source_key: "{{ hostkey.stdout }}"
borgbackup_source_host: "{{ ansible_hostname }}" borgbackup_source_host: "{{ ansible_hostname }}"
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
- "{{ hostvars[borgbackup_target_host]['borgbackup_pool'] | default(borgbackup_pool) }}/{{ borgbackup_source_host }}" - "{{ hostvars[borgbackup_target_host]['borgbackup_pool'] | default(borgbackup_pool) }}/{{ borgbackup_source_host }}"
- name: Add public key - name: Add public key
ansible.builtin.authorized_key: ansible.posix.authorized_key:
user: "{{ borgbackup_target_user }}" user: "{{ borgbackup_target_user }}"
key: "{{ borgbackup_source_key }}" key: "{{ borgbackup_source_key }}"
# yamllint disable-line rule:line-length # yamllint disable-line rule:line-length
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment