guhcampos
3/23/2016 - 7:55 PM

ansible_env_not_working_simplified.yml

#!/usr/bin/env ansible-playbook
---

- hosts: localhost

  vars:
    external_roles: ".local/somerolespath"

  roles:
    - { role: "{{ ansible_env.HOME }}/{{ external_roles }}/somerole" }