Skip to content
Snippets Groups Projects
  • Benjamin Bertrand's avatar
    e000c2f0
    Trigger AWX inventory update on database change · e000c2f0
    Benjamin Bertrand authored
    A job running in AWX prevents an inventory sync (of the same
    inventory). This restricts AWX to run only one job at a time as
    the inventory is always updated on launch.
    To prevent this issue, the inventory is updated from AWX when needed.
    
    - The update is triggered on any model modification that is used in the
    inventory (AnsibleGroup, Cname, Domain, Host, Network, NetworkScope)
    - For Interface, the inventory sync is triggered by the
    trigger_core_services function as it depends on it
    - The inventory update job is put on the "high" queue so that it takes
    precedence over all other jobs.
    
    JIRA INFRA-887 #action In Progress
    e000c2f0
    History
    Trigger AWX inventory update on database change
    Benjamin Bertrand authored
    A job running in AWX prevents an inventory sync (of the same
    inventory). This restricts AWX to run only one job at a time as
    the inventory is always updated on launch.
    To prevent this issue, the inventory is updated from AWX when needed.
    
    - The update is triggered on any model modification that is used in the
    inventory (AnsibleGroup, Cname, Domain, Host, Network, NetworkScope)
    - For Interface, the inventory sync is triggered by the
    trigger_core_services function as it depends on it
    - The inventory update job is put on the "high" queue so that it takes
    precedence over all other jobs.
    
    JIRA INFRA-887 #action In Progress
Code owners
Assign users and groups as approvers for specific file changes. Learn more.