Hi

According to the documentation, for SharePointDCS modules to work, we have 
to specify PsDscRunAsCredentials in win_dcs module:
- name: set shell admin for farmaccount
  win_dsc:
    resource_name: SPShellAdmins
    IsSingleInstance: "Yes"
    MembersToInclude: "farmadmin_user"
    AllDatabases: true
    PsDscRunAsCredential_username: '{{ ansible_user }}'
    PsDscRunAsCredential_password: '{{ ansible_password }}'


But we're running ansible with a kerberos configuration with our personal 
serveradmin user:
ansible_user="<personaladmin>@domain.local"
ansible_connection=winrm
ansible_winrm_transport=kerberos
ansible_winrm_kerberos_delegation=true

Therefore ansible_password does not work.


And we can't specify a seperate user, because this user would have to be 
member of the SPShellAdmins, which is not possible because we can't specify 
a seperate user ;-)
Omitting these parameters does not work either.
So we must be able to run the module with the personal serveradmin account, 
only this account is member of the SPShellAdmins at this moment.

Is there a way to tell PsDscRunAsCredentials somehow to take the kerberos 
credentials?
Or is there another approach for this?

Thank you very much

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f3b61acf-adb6-4884-9d58-f00b9826d35a%40googlegroups.com.

Reply via email to