Skip to content

Commit

Permalink
ansible enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
iamckn authored Jul 6, 2019
1 parent e0ede9e commit 0109d41
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions gate/wireguard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
apt_repository:
repo: 'ppa:wireguard/wireguard'

- name: Install WireGuard and other requirements
apt:
name:
- linux-headers-{{ kernel_release.stdout }}
- linux-headers-generic
- wireguard-dkms
- wireguard-tools
- python2.7
state: present
update_cache: true
- name: Install WireGuard and other requirements
apt:
name:
- linux-headers-{{ kernel_release.stdout }}
- linux-headers-generic
- wireguard-dkms
- wireguard-tools
- python2.7
state: present
update_cache: true

- name: Generate private and public keys for the client and server
shell: umask 077; wg genkey | tee {{ item.private }} | wg pubkey > {{ item.public }}
Expand Down

0 comments on commit 0109d41

Please sign in to comment.