You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collection Version
----------------- -------
community.general 5.8.0
# /opt/ansible/lib/python3.9/site-packages/ansible_collections
Collection Version
----------------- -------
community.general 7.3.0
OS / ENVIRONMENT
Windows Machines (ALL)
STEPS TO REPRODUCE
- name: Make sure user profile existscommunity.windows.win_user_profile:
username: robb.starkstate: present
- name: Create Filebecome: trueansible.windows.win_copy:
src: file.txtdest: C:\Users\robb.stark\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\file.txt
EXPECTED RESULTS
Expected that the folder was create by win_user_profile module as this is one of the folders that should get created on user login.
Probably other folders in AppData are also missing.
ACTUAL RESULTS
msg: 'failed to copy file "file.txt": Destination directory ''C:\Users\robb.stark\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup'' does not exist'
operation: file_copy
original_basename: file.txt
size: 34
src: file.txt
The text was updated successfully, but these errors were encountered:
SUMMARY
win_user_profile module does not create the users AppData Folders
ISSUE TYPE
COMPONENT NAME
win_user_profile
ANSIBLE VERSION
COLLECTION VERSION
OS / ENVIRONMENT
Windows Machines (ALL)
STEPS TO REPRODUCE
EXPECTED RESULTS
Expected that the folder was create by win_user_profile module as this is one of the folders that should get created on user login.
Probably other folders in AppData are also missing.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: