diff options
author | Aaditya Dhruv <[email protected]> | 2025-06-06 11:16:42 -0500 |
---|---|---|
committer | Aaditya Dhruv <[email protected]> | 2025-06-06 11:17:00 -0500 |
commit | 5fcb99d7c16029ee0495a437a7bbe7b003dda023 (patch) | |
tree | c4074843eaf86869d5902be30a0c5068c3740dd2 /src/system/tasks/main.yaml | |
parent | 97f21912d5f087dfa15cdba7de04e500ea08743a (diff) |
Cleanup configs
Diffstat (limited to 'src/system/tasks/main.yaml')
-rw-r--r-- | src/system/tasks/main.yaml | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/src/system/tasks/main.yaml b/src/system/tasks/main.yaml index f03c02b..626f70a 100644 --- a/src/system/tasks/main.yaml +++ b/src/system/tasks/main.yaml @@ -1,26 +1,4 @@ -- name: Wireguard Setup - block: - - name: Install Wireguard - ansible.builtin.dnf: - name: wireguard-tools - state: latest - - name: Copy Wireguard configuartion - ansible.builtin.copy: - src: "{{ config.system.wireguard.wg_path }}" - dest: /etc/wireguard/ - backup: yes - - name: Setup WG Systemd service - ansible.builtin.copy: - src: "systemd/sys/wireguard.service" - dest: /etc/systemd/system/ - backup: yes - - name: Enable wireguard service - systemd: - state: started - name: wireguard.service - when: 'config.system.install_wireguard' - -- name: Systemd setups +- name: Setup Systemd Services/Timers - User block: - name: Copying user systemd configs ansible.builtin.copy: @@ -36,6 +14,7 @@ state: started name: "{{ item }}.service" loop: "{{ systemd }}" + ignore_errors: true when: 'config.system.install_systemd' |