0
我試圖替換包含一個反斜槓誤差ansible反斜線取代
- name: Replace test
replace: dest=/tmp/test
regexp="test"
replace="test, \"
我得到ansible以下錯誤的字符串的模式:
The error appears to have been in '/home/deployer/ansible/roles/test/tasks/configuration.yml': line 11, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Replace test
^here