Skip to content

Commit

Permalink
Last-minute fixes to ansible roles
Browse files Browse the repository at this point in the history
  • Loading branch information
ndokos committed Jun 28, 2023
1 parent c75b419 commit 187591f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion agent/ansible/collection/galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace: pbench
name: agent

# The version of the collection. Must be compatible with semantic versioning
version: 1.0.7
version: 1.0.10

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:

- tag: "{{ pbench_aux_repo_name }}"
user: "{{ fedoraproject_username }}"
baseurl: "{{ pbench_repo_url_prefix }}/{{ pbench_aux_repo_name }}/{{distrodir}}"
baseurl: "{{ pbench_repo_url_prefix }}/{{ pbench_aux_repo_name }}/{{ distrodir }}"
gpgkey: "{{ pbench_repo_url_prefix }}/{{ pbench_aux_repo_name }}/pubkey.gpg"
gpgcheck: 1
enabled: "{{ enable_copr_aux_repo }}"
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
# Install pbench.repo
- name: Assert pbench_repo_name is defined
assert:
ansible.builtin.assert:
that:
- pbench_repo_name is defined
fail_msg: "Please specify the COPR repository name to use in the `pbench_repo_name` variable"
quiet: true

- name: Ensure we have the pbench.repo file properly in place
ansible.builtin.template:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% for repo in repos %}

[copr-{{ repo.name }}-{{ repo.user }}]
name=COPR {{ repo.name }} ({{ repo.user }}) repo
[copr-{{ repo.tag }}-{{ repo.user }}]
name=COPR {{ repo.tag }} ({{ repo.user }}) repo
baseurl={{ repo.baseurl }}
gpgcheck={{ repo.gpgcheck }}
gpgkey={{ repo.gpgkey }}
Expand Down

0 comments on commit 187591f

Please sign in to comment.