mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 18:07:36 -02: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:
@@ -376,7 +376,7 @@ class TowerScheduleState(SingletonModel):
|
||||
|
||||
|
||||
def schedule_policy_task():
|
||||
from awx.main.tasks import apply_cluster_membership_policies
|
||||
from awx.main.tasks.system import apply_cluster_membership_policies
|
||||
|
||||
connection.on_commit(lambda: apply_cluster_membership_policies.apply_async())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user