Skip to content

Commit

Permalink
Fix yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
pdostal committed Jul 21, 2023
1 parent 00536dc commit daf321b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/yamllint.yml

This file was deleted.

5 changes: 0 additions & 5 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
- name: Gather facts
ansible.builtin.setup:

- name: Print some debug information
vars:
msg: |
Expand All @@ -10,7 +9,6 @@
Ansible OS family: {{ ansible_os_family }}
debug:
msg: "{{ msg.split('\n') }}"

# Install
- name: Install latest version on Archlinux
community.general.pacman:
Expand All @@ -28,7 +26,6 @@
name: wireguard-tools
state: present
when: ansible_os_family == "Suse"

# Generate configuration file
- name: Generate configuration file
ansible.builtin.template:
Expand All @@ -39,11 +36,9 @@
mode: '0700'
backup: true
notify: Reload wireguard

# Enable and start
- name: Make sure wireguard is enabled and started
ansible.builtin.service:
name: "wg-quick@{{ network }}"
enabled: true
state: started

0 comments on commit daf321b

Please sign in to comment.