pkl-mufqi / regat-test

0 stars 0 forks source link

[Test] This is only a test #101

Open mufqiuwais opened 2 years ago

regatapp[bot] commented 2 years ago
Policy has been added successfully
Policy's Name: Issue 101
mufqiuwais commented 2 years ago

@regat-app workaround add adhoc -a "test adhoc action" -i "Demo Inventory" -c "Demo Credential" -l "localhost" -m "ping" -M cmd="test=true" args2=val2 -e key1="test=value1" key2=eaga --help

regatapp[bot] commented 2 years ago
Usage: @regat-app workaround add adhoc [options]

adding new adhoc workaround

Options:
  -a, --action-name <action-name>     action name for opsgenie (mandatory)
  -i, --inventory <inventory>         AWX inventory name (mandatory)
  -c, --credential <credential>       AWX credential name (mandatory)
  -l, --limit <limit>                 target host(s) (mandatory)
  -m, --module-name <module-name>     module name from AWX (mandatory)
  -p, --privilege-escalation          module args for the adhoc (default: false)
  -M, --module-args [module-args...]  module args for the adhoc
  -e, --extra-vars [extra-vars...]    extra variables for the AWX job
  -h, --help                          display help for command
mufqiuwais commented 2 years ago

@regat-app workaround add adhoc -a "test adhoc action" -i "Demo Inventory" -c "Demo Credential" -l "localhost" -m "ping" -M cmd="test=true" args2=val2 -e key1="test=value1" key2=eaga -p

regatapp[bot] commented 2 years ago
Action has been added successfully.
{"parameters":[{"key":"key1","value":"test=value1"},{"key":"key2","value":"eaga"}],"stringParameters":"key1=\"test=value1\" key2=eaga","module_args":"cmd=\"test=true\" args2=val2","actionName":"test adhoc action","type":"adhoc","inventoryName":"Demo Inventory","limit":"localhost","credentialName":"Demo Credential","org":"Intern","module_name":"ping","privilegeEscalation":true,"inventory":3,"credential":1}
mufqiuwais commented 2 years ago

@regat-app workaround add --help

regatapp[bot] commented 2 years ago
Usage: @regat-app workaround add [command] [options]

adding new workaround

Options:
  -h, --help             display help for command

Commands:
  adhoc [options]        adding new adhoc workaround
  jobTemplate [options]  adding new job template workaround
  help [command]         display help for command
mufqiuwais commented 2 years ago

@regat-app workaround add adhoc --help

regatapp[bot] commented 2 years ago
Usage: @regat-app workaround add adhoc [options]

adding new adhoc workaround

Options:
  -a, --action-name <action-name>     action name for opsgenie (mandatory)
  -i, --inventory <inventory>         AWX inventory name (mandatory)
  -c, --credential <credential>       AWX credential name (mandatory)
  -l, --limit <limit>                 target host(s) (mandatory)
  -m, --module-name <module-name>     module name from AWX (mandatory)
  -p, --privilege-escalation          module args for the adhoc (default: false)
  -M, --module-args [module-args...]  module args for the adhoc
  -e, --extra-vars [extra-vars...]    extra variables for the AWX job
  -h, --help                          display help for command
mufqiuwais commented 2 years ago

@regat-app workaround add jobTemplate --help

regatapp[bot] commented 2 years ago
Usage: @regat-app workaround add jobTemplate [options]

adding new job template workaround

Options:
  -a, --action-name <action-name>   action name for opsgenie (mandatory)
  -T, --template-id <template-id>   template id from AWX (mandatory)
  -e, --extra-vars [extra-vars...]  extra variables for the AWX job
  -h, --help                        display help for command