Skip to content

Only use datadog_zypper_repo variable for one purpose #453

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

Merged
merged 1 commit into from
Aug 17, 2022
Merged
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 tasks/pkg-suse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@
owner: "root"
group: "root"
mode: 0644
register: datadog_zypper_repo
register: datadog_zypper_repo_template

# refresh zypper repos only if the template changed
- name: refresh Datadog zypper_repos # noqa 503
command: zypper refresh datadog
when: datadog_zypper_repo.changed and not ansible_check_mode
when: datadog_zypper_repo_template.changed and not ansible_check_mode
args:
warn: false # silence warning about using zypper directly

Expand Down