mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 01:38:50 -03:30
Merge pull request #1777 from matburt/ad_hoc_extra_vars
Implement extra vars on ad-hoc commands
This commit is contained in:
@@ -84,6 +84,12 @@ class AdHocCommand(UnifiedJob):
|
||||
editable=False,
|
||||
through='AdHocCommandEvent',
|
||||
)
|
||||
extra_vars = models.TextField(
|
||||
blank=True,
|
||||
default='',
|
||||
)
|
||||
|
||||
extra_vars_dict = VarsDictProperty('extra_vars', True)
|
||||
|
||||
def clean_inventory(self):
|
||||
inv = self.inventory
|
||||
|
||||
Reference in New Issue
Block a user