aboutsummaryrefslogtreecommitdiff
path: root/tasks/client_init.yml
blob: 251bee42fd3a74589fbd996bda4b2f010aac8b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- name: generate borg ssh key on client
  openssh_keypair:
    owner: root
    mode: 0400
    path: /root/.ssh/borg
    type: ed25519
  register: borg_ssh_key

- name: reload ansible_local
  setup: filter=ansible_local
  #when: borg_ssh_key.changed