Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make env_data role compliant with ansible-lint production profile #443

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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