Additional note, only fails if the inventory_hostname in question at the 
time is a windows server, I can work around that with a when clause.

On Thursday, January 14, 2016 at 8:36:45 AM UTC-5, Michael Baydoun wrote:
>
> Worked in 1.9.x, fails with error in 2.0 (see subject line for error)
>
> roles/x/vars/main.yml
> --- 
> dotNetAgentVersion: 5.3.90.0
> javaAgentVersion: 3.18.0
> binaryFiles:
>   - "NewRelicAgent_x64_{{ dotNetAgentVersion }}.msi" 
>   - "newrelic-java-{{ javaAgentVersion }}.zip" 
>   - "newrelic-sysmond-2.1.0.124-1.x86_64.rpm"
>
> roles/x/tasks/main.yml
> ---
> - name: binary file permissions
>   file:
>    path: /var/www/html/{{ item }}
>    group: apache
>    mode: 0744
>    owner: apache
>    setype: httpd_sys_content_t
>    seuser: system_u
>    delegate_to: LinuxWebServer
>    run_once: yes
>    sudo: yes
>    with_items: binaryFiles
>

-- 
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/7d7ca8cc-6896-4003-a0d0-c42d827104a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to