add back in ansible tests but don't run synchronize

pull/715/head
Steven Robertson 4 years ago
parent ff8a276186
commit a7705a3435

@ -101,22 +101,12 @@ jobs:
#DISTROS: debian #DISTROS: debian
#STRATEGY: linear #STRATEGY: linear
# fails with error Ansible_210_27:
# exception: File "/tmp/venv/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 129, in cleanup python.version: '2.7'
# exception: self._remove_tmp_path(self._connection._shell.tmpdir) MODE: ansible
# exception: AttributeError: 'get_with_context_result' object has no attribute '_shell' VER: git+https://github.com/ansible/ansible.git@v2.10.0
# TODO: looks like a bug on Ansible's end with this release? Maybe 2.10.1 will fix it
# Ansible_210_27: Ansible_210_35:
# python.version: '2.7' python.version: '3.5'
# MODE: ansible MODE: ansible
# VER: git+https://github.com/ansible/ansible.git@v2.10.0 VER: git+https://github.com/ansible/ansible.git@v2.10.0
# fails with error
# exception: File "/tmp/venv/lib/python3.5/site-packages/ansible/plugins/action/__init__.py", line 129, in cleanup
# exception: self._remove_tmp_path(self._connection._shell.tmpdir)
# exception: AttributeError: 'get_with_context_result' object has no attribute '_shell'
# TODO: looks like a bug on Ansible's end with this release? Maybe 2.10.1 will fix it
# Ansible_210_35:
# python.version: '3.5'
# MODE: ansible
# VER: git+https://github.com/ansible/ansible.git@v2.10.0

@ -40,19 +40,26 @@
# state: absent # state: absent
# become: true # become: true
- synchronize: # exception: File "/tmp/venv/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 129, in cleanup
private_key: /tmp/synchronize-action-key # exception: self._remove_tmp_path(self._connection._shell.tmpdir)
dest: /tmp/sync-test.out # exception: AttributeError: 'get_with_context_result' object has no attribute '_shell'
src: /tmp/sync-test/ # TODO: looks like a bug on Ansible's end with 2.10? Maybe 2.10.1 will fix it
- name: do synchronize test
block:
- synchronize:
private_key: /tmp/synchronize-action-key
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
# TODO: https://github.com/dw/mitogen/issues/692 # TODO: https://github.com/dw/mitogen/issues/692
# - file: # - file:

Loading…
Cancel
Save