From 2fe7fb05a002cc8057d7891b2bca8ee9845c911d Mon Sep 17 00:00:00 2001 From: Sergei Petrosian Date: Tue, 21 May 2024 11:10:00 +0200 Subject: [PATCH] Remove unused files --- handlers/main.yml | 7 ------- meta/collection-requirements.yml | 4 ---- vars/CentOS_7.yml | 7 ------- vars/CentOS_8.yml | 7 ------- vars/CentOS_9.yml | 7 ------- vars/Fedora.yml | 7 ------- vars/RedHat_7.yml | 7 ------- vars/RedHat_8.yml | 7 ------- vars/RedHat_9.yml | 7 ------- vars/main.yml | 9 --------- 10 files changed, 69 deletions(-) delete mode 100644 handlers/main.yml delete mode 100644 meta/collection-requirements.yml delete mode 100644 vars/CentOS_7.yml delete mode 100644 vars/CentOS_8.yml delete mode 100644 vars/CentOS_9.yml delete mode 100644 vars/Fedora.yml delete mode 100644 vars/RedHat_7.yml delete mode 100644 vars/RedHat_8.yml delete mode 100644 vars/RedHat_9.yml diff --git a/handlers/main.yml b/handlers/main.yml deleted file mode 100644 index 2820d37..0000000 --- a/handlers/main.yml +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: MIT ---- -- name: Handler for role to restart services - service: - name: "{{ item }}" - state: restarted - loop: "{{ __sudo_services }}" diff --git a/meta/collection-requirements.yml b/meta/collection-requirements.yml deleted file mode 100644 index 0110bbe..0000000 --- a/meta/collection-requirements.yml +++ /dev/null @@ -1,4 +0,0 @@ -# SPDX-License-Identifier: MIT ---- -collections: - - ansible.posix diff --git a/vars/CentOS_7.yml b/vars/CentOS_7.yml deleted file mode 100644 index 24448bc..0000000 --- a/vars/CentOS_7.yml +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: MIT ---- -# Put internal variables here with CentOS 7 specific values. - -# Example: -__template_packages: [] -__template_services: [] diff --git a/vars/CentOS_8.yml b/vars/CentOS_8.yml deleted file mode 100644 index 0fb6af8..0000000 --- a/vars/CentOS_8.yml +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: MIT ---- -# Put internal variables here with CentOS 8 specific values. - -# Example: -__template_packages: [] -__template_services: [] diff --git a/vars/CentOS_9.yml b/vars/CentOS_9.yml deleted file mode 100644 index 7c25b3c..0000000 --- a/vars/CentOS_9.yml +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: MIT ---- -# Put internal variables here with CentOS 9 specific values. - -# Example: -__template_packages: [] -__template_services: [] diff --git a/vars/Fedora.yml b/vars/Fedora.yml deleted file mode 100644 index a783f79..0000000 --- a/vars/Fedora.yml +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: MIT ---- -# Put internal variables here with Fedora specific values. - -# Example: -__template_packages: [] -__template_services: [] diff --git a/vars/RedHat_7.yml b/vars/RedHat_7.yml deleted file mode 100644 index 3815df4..0000000 --- a/vars/RedHat_7.yml +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: MIT ---- -# Put internal variables here with Red Hat Enterprise Linux 7 specific values. - -# Example: -__template_packages: [] -__template_services: [] diff --git a/vars/RedHat_8.yml b/vars/RedHat_8.yml deleted file mode 100644 index 954bf90..0000000 --- a/vars/RedHat_8.yml +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: MIT ---- -# Put internal variables here with Red Hat Enterprise Linux 8 specific values. - -# Example: -__template_packages: [] -__template_services: [] diff --git a/vars/RedHat_9.yml b/vars/RedHat_9.yml deleted file mode 100644 index b367bff..0000000 --- a/vars/RedHat_9.yml +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: MIT ---- -# Put internal variables here with Red Hat Enterprise Linux 9 specific values. - -# Example: -__template_packages: [] -__template_services: [] diff --git a/vars/main.yml b/vars/main.yml index 64437c7..939a517 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,21 +1,12 @@ # SPDX-License-Identifier: MIT --- -# Put the role's internal variables here that are not distribution specific. -# You can override these by defining the same variable with a different -# value in a platform/version specific file in vars/ - -# Examples of non-distribution specific (generic) internal variables: __sudo_sudoers_config: /etc/sudoers __sudo_packages: sudo __sudo_services: [] -# ansible_facts required by the role __sudo_required_facts: - distribution - distribution_major_version - distribution_version - os_family -# the subsets of ansible_facts that need to be gathered in case any of the -# facts in required_facts is missing; see the documentation of -# the 'gather_subset' parameter of the 'setup' module __sudo_required_facts_subsets: "{{ ['!all', '!min'] + __sudo_required_facts }}"