ansible-playbook yaml 问题报错

来源:5-3 Freestyle job实战 - 编写playbook脚本实现静态网页远程部署

慕标4577186

2020-07-07

写回答

1回答

慕标4577186

提问者

2020-07-07

已经找到错误,谢谢老师

0
1
smniuhe
我也遇到了问题,是下面这个语法问题么 ``` The error appears to have been in '/home/deploy/test_playbooks/roles/testbox/tasks/main.yml': line 1, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Print server name and user to remote testbox ^ here
2020-07-12
共1条回复

Jenkins+Ansible+Gitlab-三剑合璧掌握自动化部署

整合三大工具解决自动化部署&持续交付问题

1290 学习 · 319 问题

查看课程