Project

General

Profile

Bug #23879

Ansible REX job shall not update host Configuration status

Added by Marek Hulán over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1589768

Description of problem:
Ansible REX job (contrary to Ansible Play Roles) shall not update host Configuration status.

The only job that shall update Configuration status is Ansible Play roles job

Version-Release number of selected component (if applicable):
6.4.0 Snap6

Steps to Reproduce:
1. Run Ansible Command job that fails
2. Check configuration status is changed to "Error"
3. Run Ansible Command job that succeeds
4. Check configuration status is changed to "Active"

Actual results:
Configuration status is updated by Ansible REX jobs

Expected results:
only Remote execution status is updated


Related issues

Related to Ansible - Bug #30373: Callback plugins are ignored while running a ansible remote jobNew

Associated revisions

Revision ce60ab41 (diff)
Added by Sebastian Gräßl over 2 years ago

Fixes #23879 - Disable Ansible Callback when running commands

When a job is run via ansible and is executing a command
it should not change the configuration status, for this
the callback is disabled via setting 'ANSIBLE_CALLBACK_WHITELIST'
to an empty string and not run any callbacks.

History

#1 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_ansible/pull/180 added

#2 Updated by Anonymous over 2 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#3 Updated by Marek Hulán over 2 years ago

  • Legacy Backlogs Release (now unused) set to 367
  • Subject changed from Ansible REX job shall not update host Configuration status to Ansible REX job shall not update host Configuration status

#4 Updated by Ondřej Ezr 5 months ago

  • Related to Bug #30373: Callback plugins are ignored while running a ansible remote job added

Also available in: Atom PDF