vaulttec/ansible-role-zsh

clones tasks problems

Closed this issue · 2 comments

Some tasks like "Clone oh-my-zsh repository" are not to point to zsh_user variable, but they are point to user who is running the playbook. Is this not incoherent? given that we define the explicitly the user who should be the zsh configured...

the user who is running playbook can be different from user defined as variable.

Guys,

This approach in an old version on this role allowed to configure zsh to multiple users at once and it did not use global variable of current user who is running the playbook:

https://github.com/vaulttec/ansible-role-zsh/blob/efb5c13fa0f2e065fcfbb574327493ecb9fd33c9/tasks/main.yml