Why Red Hat Satellite 6 playing dependent ansible role before every other role ?

Solution Verified - Updated -

Issue

  • Dependent ansible role is executing before every other role. Dependent role should be executed only once during role play.
  • Playing dependent role multiple times makes ansible terribly slow and repetitive.
  • For example:

    Example ansible roles:
    ansible_role_1:   depends on ansible_role_x
    ansible_role_2:  depends on ansible_role_x
    ansible_role_3:  depends on ansible_role_x
    
    Example:
    Before 6.7 upgrade:
    
    Running ansible role ansible_role_x
    Running ansible role ansible_role_1
    Running ansible role ansible_role_2
    Running ansible role ansible_role_3
    
    After 6.7 upgrade:
    Running ansible role ansible_role_x
    Running ansible role ansible_role_1
    Running ansible role ansible_role_x
    Running ansible role ansible_role_2
    Running ansible role ansible_role_x
    Running ansible role ansible_role_3
    

Environment

  • Red Hat Satellite 6.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content