aboutsummaryrefslogblamecommitdiffstats
path: root/roles/setup_wireguard/tasks/main.yml
blob: 8e760785c1fd32d1dea39c2fc88f3732bc184edf (plain) (tree)


















                                                                                  

# =========================================================================== #
#                   __                   _                                      __
#       _________  / /__       _      __(_)_______  ____ ___  ______ __________/ /
#      / ___/ __ \/ / _ \     | | /| / / / ___/ _ \/ __ `/ / / / __ `/ ___/ __  / 
#     / /  / /_/ / /  __/     | |/ |/ / / /  /  __/ /_/ / /_/ / /_/ / /  / /_/ /  
#    /_/   \____/_/\___(_)    |__/|__/_/_/   \___/\__, /\__,_/\__,_/_/   \__,_/   
#                                                /____/
#
# =========================================================================== #

---
- name: Check installation for wireguard
  package:
    name: wireguard-go wireguard-tools
    state: present
  when: "'-DC-' in inventory_hostname"

- name: Generate config file for domain controller
remember that computers suck.