mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 02:17:37 -02:30
Add an example script that will retry a tower callback request if it does not receive a 202. will retry 5 times with a 5 second interval between each run
This commit is contained in:
@@ -16,6 +16,7 @@ recursive-exclude awx/ui/static/lib/ansible *
|
|||||||
recursive-exclude awx/settings local_settings.py*
|
recursive-exclude awx/settings local_settings.py*
|
||||||
include awx/ui/static/js/awx.min.js
|
include awx/ui/static/js/awx.min.js
|
||||||
include awx/ui/static/js/config.js
|
include awx/ui/static/js/config.js
|
||||||
|
include tools/scripts/callback_retry.sh
|
||||||
include COPYING
|
include COPYING
|
||||||
prune awx/public
|
prune awx/public
|
||||||
prune awx/projects
|
prune awx/projects
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -16,6 +16,7 @@ build_timestamp = os.getenv("BUILD",datetime.datetime.now().strftime('-%Y%m%d%H%
|
|||||||
# Paths we'll use later
|
# Paths we'll use later
|
||||||
etcpath = "/etc/awx"
|
etcpath = "/etc/awx"
|
||||||
homedir = "/var/lib/awx"
|
homedir = "/var/lib/awx"
|
||||||
|
sharedir = "/usr/share/awx"
|
||||||
if os.path.exists("/etc/debian_version"):
|
if os.path.exists("/etc/debian_version"):
|
||||||
webconfig = "/etc/apache2/conf.d"
|
webconfig = "/etc/apache2/conf.d"
|
||||||
else:
|
else:
|
||||||
@@ -146,6 +147,7 @@ setup(
|
|||||||
("%s" % webconfig, ["config/awx-httpd-80.conf",
|
("%s" % webconfig, ["config/awx-httpd-80.conf",
|
||||||
"config/awx-httpd-443.conf",
|
"config/awx-httpd-443.conf",
|
||||||
]),
|
]),
|
||||||
|
("%s" % sharedir, ["tools/scripts/callback_retry.sh"]),
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
options = {
|
options = {
|
||||||
|
|||||||
Reference in New Issue
Block a user