< Back

Invoke-AnsibleJob

Fri Jan 10, 2020 8:10 pm

NAME Invoke-AnsibleJob



SYNTAX

Invoke-AnsibleJob -JobTemplate <JobTemplate> [<CommonParameters>]



Invoke-AnsibleJob -id <int> [<CommonParameters>]





PARAMETERS

-JobTemplate <JobTemplate>



Required? true

Position? Named

Accept pipeline input? true (ByPropertyName)

Parameter set name ByObj

Aliases None

Dynamic? false



-id <int>



Required? true

Position? Named

Accept pipeline input? true (ByPropertyName)

Parameter set name ById

Aliases None

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

AnsibleTower.JobTemplate

System.Int32





OUTPUTS

System.Object



ALIASES

None





REMARKS

None





syntax : @{syntaxItem=@{name=Invoke-AnsibleJobTemplate; parameter=@{name=id; parameterValue=Int32;

required=true; globbing=false; pipelineInput=true (ByPropertyName); position=1}}}

parameters : @{parameter=@{defaultValue=0; parameterValue=Int32; name=id; type=@{name=Int32}; required=true;

globbing=false; pipelineInput=true (ByPropertyName); position=1}}

examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=Connect-AnsibleTower

-Credential (get-credential) -TowerUrl "https://mytower" -DisableCertificateVerification;

remarks=System.Management.Automation.PSObject[]; title=-------------------------- EXAMPLE 1

--------------------------}}

details : @{name=Invoke-AnsibleJobTemplate; description=System.Management.Automation.PSObject[]}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : Invoke-AnsibleJobTemplate

Category : Function

Synopsis : Invokes an Ansible Job Template

Component :

Role :

Functionality :

ModuleName : AnsibleTower