You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
298 B
YAML
10 lines
298 B
YAML
2 years ago
|
- name: Install wireguard
|
||
|
package:
|
||
|
name:
|
||
|
- wireguard
|
||
|
state: latest
|
||
|
|
||
|
- name: Check if default-ipv4-address is private
|
||
|
set_fact:
|
||
|
private_ipv4_address: "{{ ansible_facts.default_ipv4.address | regex_search('^((10)|(192\\.168)|(172\\.((1[6-9])|(2[0-9])|(3[0-1])))|(100))\\.') }}"
|