summaryrefslogtreecommitdiffstats
path: root/tools/ansible (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename heartbeet daemon to ws_heartbeat (#14041)Rick Elrod2023-05-241-4/+4
| | | Signed-off-by: Rick Elrod <rick@elrod.me>
* Fallback on PYTHON path in MakefileJesse Wattenbarger2023-04-211-2/+1
| | | | | | | | | | | | | | - Change default PYTHON in Makefile to be ranked choice - Fix `PYTHON_VERSION` target that expects just a word - Use native GNU Make `$(subst ,,)` instead of `sed` - Add 'version-for-buildyml' target to simplify ci If I understand correctly, this change should make '$(PYTHON)' work how we want it to everywhere. Before this change, on develpers' machines that don't have a 'python3.9' in their path, make would fail. With this change, we will prefer python3.9 if it's available, but we'll take python3 otherwise.
* Remove unnecessary egg-link linkingHao Liu2023-04-191-3/+2
| | | | | | we link awx.egg-link from `tools/docker-compose/awx.egg-link` to `/tmp/awx.egg-link` than we move `/tmp/awx.egg-link` to `/var/lib/awx/venv/awx/lib/python3.9/site-packages/awx.egg-link` bonus... now we dont have to set PYTHON=python3.9
* Merge pull request #13856 from TheRealHaoLiu/kube-dev-autoreloadHao Liu2023-04-193-2/+39
|\ | | | | Auto reload services in kube dev env
| * Auto reload services in kube dev envHao Liu2023-04-193-2/+39
| |
* | Link launch script and supervisor conf in kube devHao Liu2023-04-191-0/+8
|/ | | | Linking launch script and supervisor conf file in kube development environment so we no longer have to rebuild kube devel images for superviosr conf file and launch script changes
* Fix supervisor conf file inconsistancyHao Liu2023-04-054-7/+7
|
* Adding import of centos repo key for dnfJohn Westcott IV2023-04-051-0/+6
|
* Modify dev make target name to clarify intentionHao Liu2023-03-303-3/+3
| | | | | | | | these make targets are for starting the different daemons within the kube/docker development environment updating the name to make it better reflect their intention also added comments above the make target to describe what they do note: these comments show up when run `make help`
* Rename launch script for launch awx webHao Liu2023-03-303-29/+21
| | | | | | | | launch_awx.sh that this PR rename is also now only use for launching awx web container renaming to reflect it's purpose also remove the no longer needed creation of rsyslog conf as rsyslog is no longer in the web container Update Dockerfile.j2
* Rename supervisor.conf.j2 to be descriptiveHao Liu2023-03-303-2/+2
| | | | supervisor.conf.j2 file is the template for supervisor.conf file for the web container rename to supervisor_web.conf make it more clear that it is use for the web container
* Fix cache-clear for kube dev envLila2023-03-301-0/+6
| | | | Missing conditional for when running in kube development environment
* Removed errant comments.Lila2023-03-301-3/+0
|
* Add back missing rsyslog.conf fileHao Liu2023-03-301-0/+1
|
* minor fix-up due to merge conflictHao Liu2023-03-301-1/+0
|
* add wsrelay to tower-processesRick Elrod2023-03-301-1/+1
| | | | Signed-off-by: Rick Elrod <rick@elrod.me>
* initial PoC for wsrelayShane McDonald2023-03-302-6/+22
| | | | Checkpoint
* removed unneeded launch file and Dockerfile changeJessica Mack2023-03-301-22/+0
| | | | Signed-off-by: Jessica Mack <jmack@redhat.com>
* added launch file, docker, and supervisor changesJessica Mack2023-03-303-1/+35
| | | | Signed-off-by: Jessica Mack <jmack@redhat.com>
* update permission to launch_awx_rsyslog.sh permission to +x (#13399)Hao Liu2023-03-301-0/+0
| | | Signed-off-by: Hao Liu <haoli@redhat.com>
* Created new rsyslog launch file. (#13327)Lila Yasin2023-03-305-14/+91
| | | | | | | | * Created new rsyslog launch file. * Rsyslog conf work. * Refining how we're calling rsyslog conf. * Removed rsyslog so it no longer launches in the web container. * Added the new launch_awx_rsyslog.sh to the /usr/bin
* dont user githubusercontent for containers.conf and podman-containers.confjainnikhil302023-03-161-2/+2
|
* Allow serving app from non-root path in dev envShane McDonald2023-02-242-4/+3
| | | | | | | Usage: $ EXTRA_SOURCES_ANSIBLE_OPTS='-e ingress_path=/awx' make docker-compose $ curl http://localhost:8013/awx/api/v2/ping/
* Pin rsyslog to prevent crashShane McDonald2023-01-041-1/+1
| | | | | | | | With the latest version of rsyslog we had a test failing with: AssertionError: Response data: {'error': "b'rsyslog internal message (3,-2455): could not transfer the specified internal posix capabilities settings to the kernel, capng_apply=-5\\n [v8.2102.0-107.el9 try https://www.rsyslog.com/e/2455 ]\\n'"} Downgrading fixes it
* Make sure that the psql pager does not clear the screen afterwardsJeff Bradberry2022-12-061-1/+1
| | | | Also, avoid paging if there is a single page.
* Configure dbshell to use the 'less' pagerJeff Bradberry2022-12-021-1/+2
|
* Add arm64 architecture mapping to image_architecture for m1macHideki Saito2022-10-251-1/+1
| | | | | | * Addresses "make docker-compose-build" failure due to missing architecture mapping. Signed-off-by: Hideki Saito <saito@fgrep.org>
* Merge pull request #12736 from Sunidhi-Gaonkar1/develShane McDonald2022-10-042-2/+8
|\ | | | | Adding ppc64le support parameters
| * Adding ppc64le support parametersSunidhi-Gaonkar12022-09-222-2/+8
| |
* | remove helm from dockerfile templateHao Liu2022-08-311-4/+0
| | | | | | | | Signed-off-by: Hao Liu <haoli@redhat.com>
* | Prevent openldap from getting downgraded during buildShane McDonald2022-08-311-0/+1
|/ | | | We noticed here that openldap was getting downgraded and caused our test suite to blow up https://github.com/ansible/awx/runs/8118323342?check_suite_focus=true
* Remove need for settings.py during image buildShane McDonald2022-08-222-93/+1
|
* Consolidate and refactor logging configuration codeShane McDonald2022-08-191-0/+2
|
* Fix Kubernetes dev environment + update docsShane McDonald2022-08-011-1/+2
|
* Automatically install setuptools-scm in script called from MakefileShane McDonald2022-07-222-4/+5
|
* Transition from setup.py to setup.cfgShane McDonald2022-06-272-2/+2
|
* Alternative code reloader for dev envShane McDonald2022-04-142-1/+3
| | | | I verified what Seth found in https://github.com/ansible/awx/pull/12052, but would really hate to lose this functionality. Curious if folks on the API team can try this and see if it works for them.
* Downgrade min required node LTSnixocio2022-04-071-2/+2
| | | | Downgrade min required node LTS
* Ensure stop signals are forwarded to the correct processesShane McDonald2022-03-292-2/+2
|
* Replace tini with dumb-initShane McDonald2022-03-291-6/+2
| | | | dumb-init is more actively maintained, available on pypi, and already used for both upstream and downstream EEs
* Fix race condition causing rsyslog to crashShane McDonald2022-03-291-0/+7
|
* Use the same settings on each supervisor entryShane McDonald2022-03-292-26/+19
| | | | I didnt see a reason for the weird inconsistencies here.
* Provision the instance before booting anythingShane McDonald2022-03-291-0/+2
| | | | | | | | | | | | | There was a race condition because the callback reciever tried to run this code: File "/awx_devel/awx/main/management/commands/run_callback_receiver.py", line 31, in handle CallbackBrokerWorker(), File "/awx_devel/awx/main/dispatch/worker/callback.py", line 49, in __init__ self.subsystem_metrics = s_metrics.Metrics(auto_pipe_execute=False) File "/awx_devel/awx/main/analytics/subsystem_metrics.py", line 156, in __init__ self.instance_name = Instance.objects.me().hostname Before get_or_register was being called by the dispatcher.
* Kill all control plane processes if one of them fails to bootShane McDonald2022-03-234-11/+21
|
* Remove awx-config-watcher from kube dev envShane McDonald2022-03-231-11/+0
|
* Merge pull request #11734 from shanemcd/fix-image-pushShane McDonald2022-02-171-2/+2
|\ | | | | Fix image push when overriding awx_image_tag
| * Fix image push when overriding awx_image_tagShane McDonald2022-02-121-2/+2
| |
* | Bump node to LTS versionnixocio2022-02-141-1/+1
|/ | | | Bump node to LTS version
* Allow for overriding UWSGI mount pathShane McDonald2022-02-041-1/+9
| | | | This is just one piece of the puzzle as I try to add support for URL prefixing.
* Move production UWSGI config to a fileShane McDonald2022-02-043-1/+13
|