Thanks for the note on the "Become" double hop snafu's, found another post
from a year or so ago where you helped someone else with resolving their
become issues and used that to muddle through it myself.
solution
- name: Create DFS links
win_shell: |
. C:\scripts\USERNAME\dfsadd_func.ps1
dfsadd -junction "{{ vol_junction }}" -obj_name "{{ obj_name }}"
-prd_vserver
"{{ prd_vserver }}" -dr_vserver "{{ dr_vserver }}" -prd_state "{{ prd_state
}}" -dr_state "{{ dr_state }}"
become: yes
become_method: runas
become_user: "[email protected]"
I really appreciate the assist.
On Thursday, March 5, 2020 at 5:05:13 PM UTC-5, Jesse Lyon wrote:
>
> Jordan,
>
> The methodology I was following was "if it worked through ise, why's this
> not pass it properly?", I knew I was doing something wrong, I just didn't
> know what yet.
>
> I'll give this a shot in the morning and report back.
>
> After 12 punches on the card of "Jordan saves the day" do you earn a
> prize?
>
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/d2bca78b-f3bc-4c90-8645-113438df0b43%40googlegroups.com.