tests: remove a bunch of stray debug

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

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

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

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

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

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

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

@ -11,12 +11,11 @@
vars:
ansible_become_flags: --derps
- debug: msg={{out}}
- name: Verify raw module output.
assert:
that:
- out.failed
- |
('sudo: no such option: --derps' in out.msg) or
("sudo: unrecognized option `--derps'" in out.module_stderr) or
("sudo: unrecognized option `--derps'" in out.module_stderr) or
("sudo: unrecognized option '--derps'" in out.module_stderr)

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

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

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

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

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

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

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

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

Loading…
Cancel
Save