From 2dd3b234f5e0c6ca4b570ec4b527eff6c0853974 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Sun, 3 Mar 2024 18:32:18 -0500 Subject: [PATCH] Ansible Lint fixes --- roles/dnf_conf/meta/main.yml | 47 +++++++++------------------------- roles/dnf_conf/tests/inventory | 2 -- roles/dnf_conf/tests/test.yml | 5 ---- 3 files changed, 12 insertions(+), 42 deletions(-) delete mode 100644 roles/dnf_conf/tests/inventory delete mode 100644 roles/dnf_conf/tests/test.yml diff --git a/roles/dnf_conf/meta/main.yml b/roles/dnf_conf/meta/main.yml index c572acc..d031aa2 100644 --- a/roles/dnf_conf/meta/main.yml +++ b/roles/dnf_conf/meta/main.yml @@ -1,43 +1,20 @@ galaxy_info: - author: your name - description: your role description - company: your company (optional) + author: Chris Hammer + description: Deploys a standard /etc/dnf/dnf.conf - # 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 + license: GPL-2.0-or-later - # Choose a valid license ID from https://spdx.org - some suggested licenses: - # - BSD-3-Clause (default) - # - MIT - # - GPL-2.0-or-later - # - GPL-3.0-only - # - Apache-2.0 - # - CC-BY-4.0 - license: license (GPL-2.0-or-later, MIT, etc) + min_ansible_version: "2.14.0" - min_ansible_version: 2.1 + platforms: + - name: Fedora + versions: + - all - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 + - name: EL + versions: + - "8" + - "9" galaxy_tags: [] # List tags for your role here, one per line. A tag is a keyword that describes diff --git a/roles/dnf_conf/tests/inventory b/roles/dnf_conf/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/dnf_conf/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/dnf_conf/tests/test.yml b/roles/dnf_conf/tests/test.yml deleted file mode 100644 index 4105919..0000000 --- a/roles/dnf_conf/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - dnf_conf