"no action detected in task" usually means the module you want wasn't 
found. In your case, I'm guessing you're not using Ansible 2.2 (check the 
docs for win_command, it was only added in 2.2).

-Matt

On Friday, November 11, 2016 at 12:32:21 PM UTC-8, [email protected] 
wrote:
>
> I have a role to install different softwares on win host.
>  i am getting this error:
>  
>
> ERROR! no action detected in task. This often indicates a misspelled 
> module name, or incorrect module path.
>
> The error appears to have been in 
> '/etc/ansible/playbooks/windows/roles/config/tasks/main.yml': line 41, 
> column 3, but may
> be elsewhere in the file depending on the exact syntax problem.
>
> The offending line appears to be:
>> #
>> - name: installing qualys
>>   ^ here
>
>
>
> The role has following command:
>
> - name: installing qualys
>>   win_command: 'C:\Users\Administrator\Downloads\QualysCloudAgent.exe 
>> CustomerId={a8c4085a-07e0-c2ac-82e0-d34bc40c6f72} 
>> ActivationId={98041a26-0e07-44eb-96cc-02196bf7d46d}'
>>   args:
>>     creates: C:\Program Files (x86)\Qualys\QualysAgent\QualysAgent.exe
>
>
>>

-- 
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/677e6d52-d956-427d-ad1a-28fa0b5fff52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to