Skip to content

Commit

Permalink
Update playbook.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lvnilesh authored Apr 4, 2022
1 parent cfe294f commit b966254
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@

- name: Create wg server and client keys
ansible.builtin.shell: wg genkey | sudo tee /etc/wireguard/keys/server.key | wg pubkey | sudo tee /etc/wireguard/keys/server.key.pub
args:
creates: /etc/wireguard/keys/server.key.pub

- name: Get server key
become: true
Expand Down

0 comments on commit b966254

Please sign in to comment.