ansible / plugins / action / __ init__.py
ansible 2.2.0.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
μμ
x86_64 GNU / 리λ μ€
Linux μμμμ λμ μ€λ μ€λ₯μ python 2.xμμ ꡬν λ¬Έμ κ°μλ κ²μΌλ‘ 보μ΄λ u2018 λ¬Έμκ° ν¬ν¨λμ΄ μμ΅λλ€.
μ°Έμ‘°- '{0}'. format (u'itu2018s μ λ μ½λ ꡬν ν
μ€νΈ ')
μ μΆμ (κ°μ₯ μ΅κ·Ό ν΅ν λ§μ§λ§)
νμΌ "
UnicodeEncodeError : 'ascii'μ½λ±μ μμΉ 7μμ λ¬Έμ u'u2018 'μ μΈμ½λ© ν μ μμ΅λλ€. μ μκ° λ²μμ μμ΅λλ€ (128).
νμ§λ§ νμ΄μ¬ 3.xμμλ μ μ€νλ©λλ€.
Linux μμμμ μ€λ λ©μμ§ u2018μ μ¬λ¬ λ² μ¬μ©λ©λλ€.
μΉλͺ
μ : [crlg.be-cloud.be] : μ€ν¨νμ΅λλ€! => {
"μ€ν¨": μ°Έ,
"msg": "κΆνμ΄μλ μ¬μ©μκ° λ λ Ansibleμ΄ λ§λ€μ΄μΌνλ μμ νμΌμ λν κΆνμ μ€μ νμ§ λͺ»νμ΅λλ€. (rc : 1, μ€λ₯ : chown : '/tmp/ansible-tmp-1483137683.83-3208985635661/'μ μμ κΆ λ³κ²½ : μμ
μ΄ μλλλ€. allowednchown : '/tmp/ansible-tmp-1483137683.83-3208985635661/git.py'μ μμ κΆ λ³κ²½ : μμ
μ΄ νμ©λμ§ μμ)μ΄ λ¬Έμ λ₯Ό ν΄κ²°νλ λ°©λ²μ λν μμΈν λ΄μ©μ https://docs.ansible.com/ansible/become.htmlμ μ°Έμ‘° un -
}
λ©μμ§κ° νμλμ΄μΌν©λλ€.
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/ansible/executor/task_executor.py", line 119, in run
res = self._execute()
File "/usr/lib/python2.7/dist-packages/ansible/executor/task_executor.py", line 490, in _execute
result = self._handler.run(task_vars=variables)
File "/usr/lib/python2.7/dist-packages/ansible/plugins/action/normal.py", line 33, in run
results = merge_hash(results, self._execute_module(tmp=tmp, task_vars=task_vars))
File "/usr/lib/python2.7/dist-packages/ansible/plugins/action/__init__.py", line 618, in _execute_module
self._fixup_perms2(remote_files, remote_user)
File "/usr/lib/python2.7/dist-packages/ansible/plugins/action/__init__.py", line 395, in _fixup_perms2
' see https://docs.ansible.com/ansible/become.html#becoming-an-unprivileged-user'.format(res['rc'], res['stderr']))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2018' in position 29: ordinal not in range(128)
fatal: [crlg.be-cloud.be]: FAILED! => {
"failed": true,
"msg": "Unexpected failure during module execution.",
"stdout": ""
}
λμ "xxxx % s xxxx"% (res [ 'rc'], res [ 'stderr'])λ₯Ό μ¬μ©νμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμ΅λλ€.
λλ μ΄κ²μ΄ develμ λνμ΄ μ»€λ°μμ μμ λμλ€κ³ μκ°ν©λλ€ : bb5d8fb476c6e42f1e89b47c00e45f8b088ae40b λ° μ¬κΈ° stable-2.2 λΈλμΉμ 체리λ₯Ό μ ννμ΅λλ€ : 27be8a10222fbf7a7a4b51c642170e11f2823d39
λ€μ 2.2 릴리μ€μ ν¬ν¨λ κ²μ λλ€. μ§κΈ ν μ€νΈνμ¬ stable-2.2 λΈλμΉλ₯Ό μ²΄ν¬ μμνκ³ μ²΄ν¬ μμμμ μ€ν ν΄ λ³Ό μ μλμ§ νμΈνκ³ μΆμΌλ©΄ μ¬κΈ°μμ ansible-2.2.1.0-0.2.rc2.tar.gzλ₯Ό λ€μ΄λ‘λ νμμμ€ : //releases.ansible.com/ansible/ μ μ¬μ©ν΄λ³΄μμμ€.
μ΄ μ€ νλμ μ¬μ ν λ¬Έμ κ° μλ€κ³ λ³΄κ³ νμ§ μλ ν λ©°μΉ νμμ΄ λ¬Έμ λ₯Ό μ’ λ£νκ² μ΅λλ€. κ°μ¬!
needs_info
λλ λ΄ μ€μΉλ₯Ό ν¨μΉνκ³ μ΄κ²μ λλ₯Ό μν΄ μλν©λλ€.
κ°μ¬ !!