Skip to content

Commit

Permalink
Merge pull request #443 from rebtoor/env_data_production_profile
Browse files Browse the repository at this point in the history
Make `env_data` role compliant with ansible-lint `production` profile
  • Loading branch information
openshift-ci[bot] authored Oct 13, 2023
2 parents 1cdd766 + e0fb55c commit 046e93b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/env_data/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ argument_specs:
main:
short_description: The main entry point for the osp.edpm.env_data role.
description:
- Role gathers information about local env and prints it as debug.
- No arguments are expected or necessary.
- Role gathers information about local env and prints it as debug.
- No arguments are expected or necessary.
options: {}
2 changes: 2 additions & 0 deletions roles/env_data/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
- name: Gather repository list
ansible.builtin.command: dnf repolist
register: repo_list
changed_when: false
failed_when: repo_list.rc != 0

- name: Output installed packages
ansible.builtin.debug:
Expand Down

0 comments on commit 046e93b

Please sign in to comment.