From 80de7b1fbe4ac3be0f4c760ba38e87874e6d7d86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de>
Date: Thu, 10 Nov 2022 11:35:11 +0100
Subject: [PATCH] fix: only run this specific role, no dependencies

---
 ansible.cfg   | 3 ++-
 meta/main.yml | 9 +++------
 site.yml      | 2 --
 3 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/ansible.cfg b/ansible.cfg
index 9889f92..a03a2a6 100644
--- a/ansible.cfg
+++ b/ansible.cfg
@@ -1,7 +1,8 @@
 [defaults]
 # If set, configures the path to the Vault password file as an alternative to
 # specifying --vault-password-file on the command line.
-vault_identity_list = ../lza_install_common.pass, ../lza_server_hardening.pass, ../lza_repair.pass, ../slub_osquery.pass
+#vault_identity_list = ../lza_install_common.pass, ../lza_server_hardening.pass, ../lza_repair.pass, ../slub_osquery.pass
+vault_identity_list = ../lza_repair.pass
 
 # Path to default inventory file
 # Administrators can override this by using the "-i <inventoryfile>" CLI
diff --git a/meta/main.yml b/meta/main.yml
index 126f7e6..868471e 100644
--- a/meta/main.yml
+++ b/meta/main.yml
@@ -7,7 +7,7 @@ galaxy_info:
   # If the issue tracker for your role is not on github, uncomment the next line and provide a value issue_tracker_url: http://example.com/issue/tracker Some suggested licenses: - BSD
   # (default) - MIT - GPLv2 - GPLv3 - Apache - CC-BY
   license: public domain
-  min_ansible_version: 2.4
+  min_ansible_version: "2.4"
   # If this a Container Enabled role, provide the minimum Ansible Container version. min_ansible_container_version: Optionally specify the branch Galaxy will use when accessing the GitHub repo
   # for this role. During role install, if no tags are available, Galaxy will use this branch. During import Galaxy will access files on this branch. If Travis integration is configured, only
   # notifications for this branch will be accepted. Otherwise, in all cases, the repo's default branch (usually master) will be used. github_branch:
@@ -20,14 +20,11 @@ galaxy_info:
   platforms:
     - name: Debian
       versions:
-        - 9
-        - 10
+        - "buster"
+        - "bullseye"
   galaxy_tags: []
     # List tags for your role here, one per line. A tag is a keyword that describes and categorizes the role. Users find roles by searching for tags. Be sure to remove the '[]' above, if you
     # add tags to this list.
     #
     # NOTE: A tag is limited to a single word comprised of alphanumeric characters.
     #       Maximum 20 tags per role.
-  dependencies:
-    # - ansible_lza_install_common
-    # - ansible_lza_server_hardening
diff --git a/site.yml b/site.yml
index 1c62e57..4b4bbcb 100644
--- a/site.yml
+++ b/site.yml
@@ -24,6 +24,4 @@
   strategy: linear
 
   roles:
-    - { role: ansible_lza_install_common, become: true }
-    - { role: ansible_lza_server_hardening, become: true }
     - { role: ansible_lza_repair, become: true }
-- 
GitLab