Skip to content

执行ansible-playbook vim-ide.yml出错 #20

@fantastic2085

Description

@fantastic2085

CentOS Linux release 7.7.1908 (Core)
3.10.0-1062.1.1.el7.x86_64
错误:
[WARNING] Ansible is being run in a world writable directory (/home/software/Ansible-VIM-IDE-master), ignoring it as an ansible.cfg source. For more information see https://docs.ansible.com/ansible/devel/reference_appendices/config.html#cfg-in-world-writable-dir
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

ERROR! Syntax Error while loading YAML.
mapping values are not allowed in this context

The error appears to be in '/home/software/Ansible-VIM-IDE-master/roles/vim/tasks/main.yml': line 149, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  • name:拷贝YCM额外配置文件
    copy:
    ^ here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions