Skip to content

Commit

Permalink
fix: Use of correct template in repository role
Browse files Browse the repository at this point in the history
  • Loading branch information
kurik committed Jun 20, 2024
1 parent b802629 commit 095d435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/repository/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

- name: Ensure PCP package repository is configured for RPMs
template:
src: artifactory.rpms.j2
src: packagecloud.rpms.j2
dest: /etc/yum.repos.d/performancecopilot.repo
mode: "0600"
when:
- ansible_facts['os_family'] == 'RedHat'

- name: Ensure PCP package repository is configured for DEBs
file:
src: artifactory.debs.j2
src: packagecloud.debs.j2
dest: /etc/apt/sources.list.d/performancecopilot.sources
mode: "0600"
when:
Expand Down

0 comments on commit 095d435

Please sign in to comment.