mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03: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:
parent
130d1f071f
commit
6b3d857e49
@ -16,6 +16,7 @@ recursive-exclude awx/ui/static/lib/ansible *
|
||||
recursive-exclude awx/settings local_settings.py*
|
||||
include awx/ui/static/js/awx.min.js
|
||||
include awx/ui/static/js/config.js
|
||||
include tools/scripts/callback_retry.sh
|
||||
include COPYING
|
||||
prune awx/public
|
||||
prune awx/projects
|
||||
|
||||
4
setup.py
4
setup.py
@ -16,6 +16,7 @@ build_timestamp = os.getenv("BUILD",datetime.datetime.now().strftime('-%Y%m%d%H%
|
||||
# Paths we'll use later
|
||||
etcpath = "/etc/awx"
|
||||
homedir = "/var/lib/awx"
|
||||
sharedir = "/usr/share/awx"
|
||||
if os.path.exists("/etc/debian_version"):
|
||||
webconfig = "/etc/apache2/conf.d"
|
||||
else:
|
||||
@ -50,7 +51,7 @@ def proc_data_files(data_files):
|
||||
# system paths (mainly useful for running tests via tox).
|
||||
if hasattr(sys, 'real_prefix'):
|
||||
return result
|
||||
|
||||
|
||||
for dir,files in data_files:
|
||||
includes = []
|
||||
for item in files:
|
||||
@ -146,6 +147,7 @@ setup(
|
||||
("%s" % webconfig, ["config/awx-httpd-80.conf",
|
||||
"config/awx-httpd-443.conf",
|
||||
]),
|
||||
("%s" % sharedir, ["tools/scripts/callback_retry.sh"]),
|
||||
]
|
||||
),
|
||||
options = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user