Thanks Paul, that makes sense.

Is it possible to set this behavior within Ansible?  I tried the following 
without any luck...

  shell: rs -z blah_blah
  args:
    creates: "{{ current_flags }}/{{ item }}_{{ ansible_date_time.date }}"
    executable: /bin/bash +O expand_aliases


On Tuesday, October 25, 2016 at 1:29:18 AM UTC-7, Paul Tötterman wrote:
>
> Is there a way to make aliases available in a shell?  I tried sourcing a 
>> file with aliases before invoking my alias with no luck
>>
>
> https://linux.die.net/man/1/bash :
>
>  Aliases  are  not  expanded  when  the shell is not interactive, unless 
>> the expand_aliases shell option is set using shopt
>
>
> Cheers,
> Paul 
>

-- 
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/3dec240a-daac-4307-9409-4d6280dff71e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to