diff --git a/apps.yaml b/apps.yaml index bab8fa6..11d7fd0 100644 --- a/apps.yaml +++ b/apps.yaml @@ -6,7 +6,7 @@ roles: - role: githubixx.ansible_role_wireguard - when: applications.wireguard.enabled | bool + when: applications.wireguard.enabled | default(false) | bool tags: wireguard, apps - name: Application Deployment @@ -16,28 +16,32 @@ serial: 1 roles: + - role: robertdebock.dnsmasq + when: applications.dnsmasq.enabled | default(false) | bool + tags: dnsmasq, apps + - role: borgbase.ansible_role_borgbackup - when: applications.borgbackup.enabled | bool + when: applications.borgbackup.enabled | default(false) | bool tags: borgbackup, apps - role: artis3n.tailscale.machine - when: applications.tailscale.enabled | bool + when: applications.tailscale.enabled | default(false) | bool vars: state: "{{ applications.tailscale.state | default('latest') }}" tags: tailscale, apps - role: salt - when: applications.salt.enabled | bool + when: applications.salt.enabled | default(false) | bool tags: salt, apps - role: dokploy - when: (applications.dokploy.enabled and containers.docker.enabled) | bool + when: (applications.dokploy.enabled | default(false) and containers.docker.enabled | default(false)) | bool vars: dokploy_state: "{{ applications.dokploy.state | default('present') }}" tags: dokploy, apps - role: coolify - when: (applications.coolify.enabled and containers.docker.enabled) | bool + when: (applications.coolify.enabled | default(false) and containers.docker.enabled | default(false)) | bool vars: coolify_state: "{{ applications.coolify.state | default('present') }}" tags: coolify, apps diff --git a/group_vars/all/all.yaml b/group_vars/all/all.yaml index 50a108f..d227404 100644 --- a/group_vars/all/all.yaml +++ b/group_vars/all/all.yaml @@ -43,6 +43,8 @@ applications: enabled: false wireguard: enabled: false + dnsmasq: + enabled: false salt: enabled: false coolify: diff --git a/requirements.yaml b/requirements.yaml index 29deba8..af80420 100644 --- a/requirements.yaml +++ b/requirements.yaml @@ -26,3 +26,5 @@ roles: - src: https://github.com/githubixx/ansible-role-wireguard.git name: githubixx.ansible_role_wireguard version: 19.0.0 + - src: robertdebock.dnsmasq + version: 2.2.0