Skip to content

Commit

Permalink
adds support from debian based proxmox (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
rngkll authored Nov 9, 2020
1 parent db7e92d commit 87bba7b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@
when:
- ansible_distribution == "Debian" and debian_enable_backports

- name: Check that is proxmox
stat:
path: /etc/pve
register: is_proxmox
when: ansible_distribution == "Debian"

- name: Install linux headers when debian proxmox
apt:
update_cache: yes
state: present
name: pve-headers
when: is_proxmox.stat.exists

- name: Install wireguard (apt)
apt:
update_cache: yes
Expand Down

0 comments on commit 87bba7b

Please sign in to comment.