Skip to content

Commit

Permalink
Merge pull request #31 from Master2022E/27-ansible-add-ssh-keys-from-…
Browse files Browse the repository at this point in the history
…server-a-to-all-clients

Ansible: Setup the SSH key on all the servers.
  • Loading branch information
Thomsen96 authored Dec 12, 2022
2 parents 1b5af6f + ce2619e commit 30ccb10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Deployment/Ansible/playbooks/setupSSHKeys.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Copy the ssh key to the remote server

- hosts: clients
- hosts: all
gather_facts: false
tasks:

Expand All @@ -17,7 +17,7 @@
dest: ~/.ssh/id_ecdsa.pub
mode: '0644'

- hosts: server-a
- hosts: all
gather_facts: false
tasks:

Expand Down

0 comments on commit 30ccb10

Please sign in to comment.