thirdparty-ops
thirdparty-ops copied to clipboard
Check ansible_user variable
- name: Check ansible_user variable fail: msg="ansible_user == 'root' is not supported, please ssh via normal user" when: ansible_user == 'root'
请问为什么要判断ansible_user不能是root?