Skip to content
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
2 changes: 1 addition & 1 deletion ansible/host-package-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
name: "{{ host_package_update_packages }}"
security: "{{ host_package_update_security | bool if ansible_facts.os_family == 'RedHat' else omit }}"
state: latest
update_cache: "{{ True if ansible_facts.os_family == 'Debian' else omit }}"
update_cache: True
become: true
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def _ensure_rule_present(module, client):
if not response.ok:
if response.status_code != 404:
module.fail_json(msg="Failed retrieving Inspector rule %s: %s"
% (module.params['uuid'], repr(e)))
% (module.params['uuid'], response.text))
else:
rule = response.json()
# Check whether the rule differs from the request.
Expand Down
6 changes: 3 additions & 3 deletions doc/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Installation
============

Kayobe can be installed via the released Python packages on PyPI, or from
source. Installing from PyPI ensures the use of well used and tested software,
whereas installing from source allows for the use of unreleased or patched
code. Installing from a Python package is supported from Kayobe 5.0.0 onwards.
source. Installing from source using stable branches is recommended over PyPI
packages, as it provides access to bug fixes that have been merged to stable
branches since the last PyPI release.

Prerequisites
=============
Expand Down
5 changes: 5 additions & 0 deletions releasenotes/notes/bug-2162058-17526c834c348df3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Fixes displaying the error when a failure to retrieve an inspection rule
occurs. `LP#2162058 <https://bugs.launchpad.net/kayobe/+bug/2162058>`__
5 changes: 5 additions & 0 deletions releasenotes/notes/update-dnf-cache-63b0249549118a3e.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
features:
- |
Adds support for updating cache during host package update on all
supported systems.
2 changes: 1 addition & 1 deletion roles/kayobe-ci-prep/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

- name: Install kernel-modules-extra for running kernel
ansible.builtin.dnf:
name: "kernel-modules-extra"
name: "kernel-modules-extra-{{ ansible_facts.kernel }}"
state: present

when: ansible_facts.os_family == 'RedHat'
Expand Down