|
|
@ -44,22 +44,23 @@
|
|
|
|
# exception: self._remove_tmp_path(self._connection._shell.tmpdir)
|
|
|
|
# exception: self._remove_tmp_path(self._connection._shell.tmpdir)
|
|
|
|
# exception: AttributeError: 'get_with_context_result' object has no attribute '_shell'
|
|
|
|
# exception: AttributeError: 'get_with_context_result' object has no attribute '_shell'
|
|
|
|
# TODO: looks like a bug on Ansible's end with 2.10? Maybe 2.10.1 will fix it
|
|
|
|
# TODO: looks like a bug on Ansible's end with 2.10? Maybe 2.10.1 will fix it
|
|
|
|
- name: do synchronize test
|
|
|
|
# https://github.com/dw/mitogen/issues/746
|
|
|
|
block:
|
|
|
|
# - name: do synchronize test
|
|
|
|
- synchronize:
|
|
|
|
# block:
|
|
|
|
private_key: /tmp/synchronize-action-key
|
|
|
|
# - synchronize:
|
|
|
|
dest: /tmp/sync-test.out
|
|
|
|
# private_key: /tmp/synchronize-action-key
|
|
|
|
src: /tmp/sync-test/
|
|
|
|
# dest: /tmp/sync-test.out
|
|
|
|
|
|
|
|
# src: /tmp/sync-test/
|
|
|
|
|
|
|
|
|
|
|
|
- slurp:
|
|
|
|
# - slurp:
|
|
|
|
src: /tmp/sync-test.out/item
|
|
|
|
# src: /tmp/sync-test.out/item
|
|
|
|
register: out
|
|
|
|
# register: out
|
|
|
|
|
|
|
|
|
|
|
|
- set_fact: outout="{{out.content|b64decode}}"
|
|
|
|
# - set_fact: outout="{{out.content|b64decode}}"
|
|
|
|
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
# - assert:
|
|
|
|
that: outout == "item!"
|
|
|
|
# that: outout == "item!"
|
|
|
|
when: is_mitogen
|
|
|
|
# when: is_mitogen
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: https://github.com/dw/mitogen/issues/692
|
|
|
|
# TODO: https://github.com/dw/mitogen/issues/692
|
|
|
|
# - file:
|
|
|
|
# - file:
|
|
|
|