I'm unable to create a mail profile in my remote windows machine which has Outlook 2016. I havw to create it using ansible.
I tried this:
- name: Manage windows server
hosts: win
tasks:
- name: Setting up default account
ansible.windows.win_command: outlook.exe /PIM Default
args:
chdir: C:\Program Files (x86)\Microsoft Office\root\Office16\
This task just hangs and the profile is not created. Is there any alternative to create a profile through ansible?