You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/03/15 07:29:43 UTC

[GitHub] ningyougang opened a new issue #3443: ansible TASK [gen hosts if 'local' env is used] failed

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:
users@infra.apache.org


With regards,
Apache Git Services