ningyougang opened a new issue #3443: ansible TASK [gen hosts if 'local' env is 
used] failed
URL: https://github.com/apache/incubator-openwhisk/issues/3443
 
 
   #### my env
   ansible:2.4.2.0
   
   #### execute below ansible task failed
   ```
   TASK [gen hosts if 'local' env is used] 
****************************************
   Thursday 15 March 2018  16:21:33 +0900 (0:00:00.790)       0:00:00.953 
******** 
   fatal: [localhost]: FAILED! => {"msg": "The conditional check 
''environments/local' in hosts_dir' failed. The error was: 'ascii' codec can't 
decode byte 0xc2 in position 17: ordinal not in range(128)\n\nThe error appears 
to have been in 
'/home1/irteamsu/.jenkins/workspace/lambda-test/ansible/setup.yml': line 6, 
column 5, but may\nbe elsewhere in the file depending on the exact syntax 
problem.\n\nThe offending line appears to be:\n\n  tasks:\n  - name: gen hosts 
if 'local' env is used\n    ^ here\n"}
   
   The conditional check ''environments/local' in hosts_dir' failed. The error 
was:
   'ascii' codec can't decode byte 0xc2 in position 17: ordinal not in 
range(128)
   The error appears to have been in '/home1/irteamsu/.jenkins/workspace/lambda-
   test/ansible/setup.yml': line 6, column 5, but may be elsewhere in the file
   depending on the exact syntax problem.  The offending line appears to be:
   tasks:   - name: gen hosts if 'local' env is used     ^ here
   ```
   If i downgrade ansible version from `2.4.2.0` to `2.3.0.0`
   Above problem gone.
   
   Anyone know the reason?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to