From 3e613ce925db36198bbcbfc4c64cc9da2182ee45 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 3 Apr 2024 10:47:17 +0200 Subject: [PATCH] p --- roles/mgrote_lldap/defaults/main.yml | 2 +- roles/mgrote_lldap/tasks/main.yml | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/roles/mgrote_lldap/defaults/main.yml b/roles/mgrote_lldap/defaults/main.yml index 9004a341..e9ddb919 100644 --- a/roles/mgrote_lldap/defaults/main.yml +++ b/roles/mgrote_lldap/defaults/main.yml @@ -1,5 +1,5 @@ --- -lldap_repo_url: "deb http://download.opensuse.org/repositories/home:/Masgalor:/LLDAP/xUbuntu_22.04/ /" +lldap_package_url: "https://download.opensuse.org/repositories/home:/Masgalor:/LLDAP/xUbuntu_22.04/amd64/lldap_0.5.0-1+3.1_amd64.deb" lldap_logging_verbose: false lldap_http_port: "17170" lldap_http_host: "0.0.0.0" diff --git a/roles/mgrote_lldap/tasks/main.yml b/roles/mgrote_lldap/tasks/main.yml index b8d375c0..b9fa14dd 100644 --- a/roles/mgrote_lldap/tasks/main.yml +++ b/roles/mgrote_lldap/tasks/main.yml @@ -1,13 +1,7 @@ --- -- name: Ensure repository exists - ansible.builtin.apt_repository: - repo: "{{ lldap_repo_url }}" - state: present - filename: lldap - - name: Ensure package is installed ansible.builtin.apt: - name: lldap + name: "{{ lldap_package_url }}" update_cache: yes - name: Ensure config is templated