tests: remove a bunch of stray debug

issue72
David Wilson 6 years ago
parent 21a7aac220
commit 2eb3ea78d6

@ -23,7 +23,6 @@
register: raw register: raw
# Can't test stdout because TTY inserts \r in Ansible version. # Can't test stdout because TTY inserts \r in Ansible version.
- debug: msg={{raw}}
- name: Verify raw module output. - name: Verify raw module output.
assert: assert:
that: that:

@ -60,8 +60,6 @@
path: "{{tmp_path2.result}}" path: "{{tmp_path2.result}}"
register: stat2 register: stat2
- debug: msg={{stat1}}
- name: "Verify neither subdir exists any more" - name: "Verify neither subdir exists any more"
assert: assert:
that: that:

@ -37,8 +37,6 @@
src: /tmp/transfer-data src: /tmp/transfer-data
register: out register: out
- debug: msg={{out}}
- assert: - assert:
that: that:
out.content|b64decode == 'I am text.' out.content|b64decode == 'I am text.'

@ -41,9 +41,9 @@
src: "{{ansible_user_dir}}/.ansible_async/{{job.ansible_job_id}}" src: "{{ansible_user_dir}}/.ansible_async/{{job.ansible_job_id}}"
register: result register: result
- debug: msg={{async_out}} #- debug: msg={{async_out}}
vars: #vars:
async_out: "{{result.content|b64decode|from_json}}" #async_out: "{{result.content|b64decode|from_json}}"
- assert: - assert:
that: that:

@ -27,9 +27,9 @@
src: "{{ansible_user_dir}}/.ansible_async/{{job.ansible_job_id}}" src: "{{ansible_user_dir}}/.ansible_async/{{job.ansible_job_id}}"
register: result register: result
- debug: msg={{async_out}} #- debug: msg={{async_out}}
vars: #vars:
async_out: "{{result.content|b64decode|from_json}}" #async_out: "{{result.content|b64decode|from_json}}"
- assert: - assert:
that: that:

@ -16,9 +16,9 @@
src: "{{ansible_user_dir}}/.ansible_async/{{job.ansible_job_id}}" src: "{{ansible_user_dir}}/.ansible_async/{{job.ansible_job_id}}"
register: result register: result
- debug: msg={{async_out}} #- debug: msg={{async_out}}
vars: #vars:
async_out: "{{result.content|b64decode|from_json}}" #async_out: "{{result.content|b64decode|from_json}}"
- assert: - assert:
that: that:

@ -11,7 +11,6 @@
vars: vars:
ansible_become_flags: --derps ansible_become_flags: --derps
- debug: msg={{out}}
- name: Verify raw module output. - name: Verify raw module output.
assert: assert:
that: that:

@ -10,7 +10,6 @@
- mitogen_get_stack: - mitogen_get_stack:
register: out register: out
- debug: msg={{out}}
- assert: - assert:
that: | that: |
out.result == [ out.result == [

@ -9,7 +9,6 @@
ansible_become_pass: has_sudo_pubkey_password ansible_become_pass: has_sudo_pubkey_password
tasks: tasks:
- debug: msg={{hostvars}}
- mitogen_test_gethostbyname: - mitogen_test_gethostbyname:
name: www.google.com name: www.google.com
register: out register: out

@ -9,7 +9,6 @@
- custom_python_external_module: - custom_python_external_module:
register: out register: out
- debug: msg={{out}}
- assert: - assert:
that: that:
- out.external1_path == "ansible/integration/module_utils/module_utils/external1.py" - out.external1_path == "ansible/integration/module_utils/module_utils/external1.py"

@ -3,7 +3,6 @@
- uses_external3: - uses_external3:
register: out register: out
- debug: msg={{out}}
- assert: - assert:
that: that:
- out.external3_path == "integration/module_utils/roles/modrole/module_utils/external3.py" - out.external3_path == "integration/module_utils/roles/modrole/module_utils/external3.py"

@ -3,7 +3,6 @@
- uses_custom_known_hosts: - uses_custom_known_hosts:
register: out register: out
- debug: msg={{out}}
- assert: - assert:
that: that:
- out.path == "ansible/integration/module_utils/roles/override_modrole/module_utils/known_hosts.py" - out.path == "ansible/integration/module_utils/roles/override_modrole/module_utils/known_hosts.py"

@ -9,7 +9,5 @@
SOME_ENV: 123 SOME_ENV: 123
register: result register: result
- debug: msg={{result}}
- assert: - assert:
that: "result.stdout == '123'" that: "result.stdout == '123'"

@ -19,7 +19,6 @@
- set_fact: out={{out_linux}} - set_fact: out={{out_linux}}
when: ansible_system == "Linux" when: ansible_system == "Linux"
- debug: msg={{out}}
- assert: - assert:
that: | that: |
out.changed and out.changed and

@ -24,7 +24,6 @@
- hosts: test-targets - hosts: test-targets
any_errors_fatal: true any_errors_fatal: true
tasks: tasks:
- debug: msg={{out}}
- assert: - assert:
that: | that: |
out.failed and out.failed and

Loading…
Cancel
Save