Configuring management jobs outside of GUI

34 views
Skip to first unread message

Purp-E

unread,
Nov 25, 2022, 2:00:55 AM11/25/22
to AWX Project
Hello,

is there a possibility to configure the values inside management jobs outside of the gui? 
I couldn't find anything stating, that i can configure the management jobs before deploying/redeploying my awx instances or changing the defaults.

Thanks
Purp

AWX Project

unread,
Dec 9, 2022, 1:55:53 PM12/9/22
to AWX Project
Hi Purp,

    We're not 100% sure if this will answer your question but the system management jobs run based off of schedules and those schedules should have parameters. So if you hit /api/v2/schedules you should see schedules there for your system jobs and those should have extra data. For example, my cleanup activity steam has extra_data of:
"extra_data": { "days": "355" }

So you could change the parameters to the schedules outside of the GUI using whatever tool you wanted.

Let us know if this is what you were looking to do.

-The AWX Team

Purp-E

unread,
Jan 12, 2023, 6:04:58 AMJan 12
to AWX Project
Thanks for the answer,

I was looking into changing the default values of the parameters. My goal is to deploy awx automatically without having to do manual changes afterwards via gui or api.
As of right now I first have to deploy AWX and then make manual configurations, but I'm looking into configuring these parameters beforehand.

Best Purp

AWX Project

unread,
Jan 13, 2023, 2:09:09 PMJan 13
to AWX Project

So there no good way to set these before deploying the app. This will need to be a day two sort of operation to set these values.

Might be a good feature request, so I'd encourage you to open an AWX github issue describing the use case.

AWX Team

Wei-Yen Tan

unread,
Jan 13, 2023, 3:06:39 PMJan 13
to awx-p...@googlegroups.com
I use redhat-cop-aap-configuration roles to manage my controller after install

Sent from Outlook for iOS

From: AWX Project <awx-p...@googlegroups.com>
Sent: Saturday, January 14, 2023 8:09:09 AM
To: AWX Project <awx-p...@googlegroups.com>
Subject: [awx-project] Re: Configuring management jobs outside of GUI
 
--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/0048e313-2dfe-4900-ae5d-f1faffbf9f32n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages