mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Refactored tasks.py to a package
--- Added 3 new sub-package : awx.main.tasks.system , awx.main.tasks.jobs , awx.main.tasks.receptor --- Modified the functional tests and unit tests accordingly
This commit is contained in:
@@ -86,13 +86,13 @@ appropriate AMQP queue:
|
||||
"uuid": "<some_unique_string>",
|
||||
"args": [1, 1],
|
||||
"kwargs": {},
|
||||
"task": "awx.main.tasks.add"
|
||||
"task": "awx.main.tasks.system.add"
|
||||
}
|
||||
|
||||
When a background worker receives the message, it deserializes it and runs the
|
||||
associated Python code:
|
||||
|
||||
awx.main.tasks.add(123)
|
||||
awx.main.tasks.system.add(123)
|
||||
|
||||
|
||||
Dispatcher Implementation
|
||||
|
||||
Reference in New Issue
Block a user