当前位置: 首页 > ansible
  • the offending line appears to be errors on ansible roles

    ansible errors:the offending line appears to be error。使用 roles 方式可以自动加载指定目录树中的vars, files, tasks, 和 handlers。在实际中执行playbook有上述错误出现,开始以为是缩进的问题,后来发现指定目录中的main.yml中会把目录的名字自动认为对应的key:value中的key,yml中应该去掉该key值!

    阅读全文
    作者:u2 | 分类:linux, 系统 | 标签:
    the offending line appears to be errors on ansible roles已关闭评论