Tiwhat powershell version, version of Windows Management Framework and 
version of windows are you running this against?



On Wednesday, January 6, 2016 at 4:55:54 PM UTC, Joseph Jenkins wrote:
>
> So I updated to Ansible 2.0 had to fix a few things like log_path is now 
> required, but I am getting this error when running:
>
> An exception occurred during task execution. The full traceback is:
> At 
> C:\Users\jjenkins_da\AppData\Local\Temp\ansible-tmp-1452099077.0-277924138780563\win_updates.ps1:536
>  
> char:6
> +   if($schedjob.RunAsTask) {
> +      ~~~~~~~~~~~~~~~~~~~
> fatal: [caveeam3.hottopic.com]: FAILED! => {"changed": false, "failed": 
> true, "msg": "Property 'RunAsTask' cannot be found on this object. Make 
> sure that it exists.”}
>
>
>
> On Jan 6, 2016, at 7:15 AM, Joseph Jenkins <[email protected] 
> <javascript:>> wrote:
>
> I am running 1.9.4. I also as a test setup kerberos auth and ran the 
> process with a Domain Admin account, but that didn’t work either. Same 
> issue. Let me try getting 2.0 and see if that solves it.
>
> On Jan 6, 2016, at 7:06 AM, J Hawkesworth <[email protected] 
> <javascript:>> wrote:
>
> Which ansible version are you using?
>
> If I recall 1.9.1 didn't always set correct execution policy.
>
> I would recommend 1.9.4 at least and try 2.0 if you can.
>
> On Friday, January 1, 2016 at 2:54:52 PM UTC, Joseph Jenkins wrote:
>>
>> I am logging with the local administrator account does that not suffice 
>> to get an administrator shell? 
>>
>>
>> Joe 
>>
>> > On Dec 31, 2015, at 10:53 PM, Brian Coca <[email protected]> wrote: 
>> > 
>> > Currently Ansible does not support 'run as' so you have to login with 
>> > a user with admin privileges if you need them. 
>> > 
>> > 
>> > -- 
>> > Brian Coca 
>> > 
>> > -- 
>> > You received this message because you are subscribed to a topic in the 
>> Google Groups "Ansible Project" group. 
>> > To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/ansible-project/ryvTWUb0Kvg/unsubscribe. 
>>
>> > To unsubscribe from this group and all its topics, send an email to 
>> [email protected]. 
>> > To post to this group, send email to [email protected]. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3DC%2BH-Y1xfnB%2Bts0ZeCvXx0RL1T_A1huhBoDyxxhvnL4Q%40mail.gmail.com.
>>  
>>
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>
> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/ansible-project/ryvTWUb0Kvg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/389ec4a2-0a2e-4ab3-af14-9b15857c48be%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/ansible-project/389ec4a2-0a2e-4ab3-af14-9b15857c48be%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/ansible-project/ryvTWUb0Kvg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/101E954F-49CE-44E7-AC80-D45ADDA392B2%40me.com
>  
> <https://groups.google.com/d/msgid/ansible-project/101E954F-49CE-44E7-AC80-D45ADDA392B2%40me.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f1640928-792a-4729-8944-c0ac947661a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to