When i run below command
If the first character of the set is '^', all the characters that are not in the set will be matched.
For example, [^5] will match any character except '5', and [^^] will match any character except '^'.
^ has no special meaning if it’s not the first character in the set.
it gives the following error
[ansible@] $ ansible localhost -vvv -m setup
Using /etc/ansible/ansible.cfg as config file
答案 0 :(得分:0)
您似乎正在使用ansible< 2.3并点击issues #18843:您的group_vars
个文件中存在语法错误。
尝试升级到更新版本的ansible,错误应该会显示有关语法错误的更多信息。