mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
iso_customize: fix integration test (#6403)
* Fix bad parameters in integration test. * Remove unrelated thing. * Simply remove test.
This commit is contained in:
parent
bc228d82be
commit
eab39ffc23
2 changed files with 0 additions and 11 deletions
|
@ -10,7 +10,6 @@
|
||||||
- name: install pycdlib
|
- name: install pycdlib
|
||||||
pip:
|
pip:
|
||||||
name: pycdlib
|
name: pycdlib
|
||||||
# state: latest
|
|
||||||
extra_args: "-c {{ remote_constraints }}"
|
extra_args: "-c {{ remote_constraints }}"
|
||||||
register: install_pycdlib
|
register: install_pycdlib
|
||||||
- debug: var=install_pycdlib
|
- debug: var=install_pycdlib
|
||||||
|
|
|
@ -17,16 +17,6 @@
|
||||||
register: customized_result
|
register: customized_result
|
||||||
failed_when: customized_result.msg.find('does not exist') == -1
|
failed_when: customized_result.msg.find('does not exist') == -1
|
||||||
|
|
||||||
# Test: Get MODULE FAILURE when no add files data and no delete files data
|
|
||||||
- name: "Testcase:: no add files data and no delete files data"
|
|
||||||
community.general.iso_customize:
|
|
||||||
src_iso: "{{ test_dir }}/test1.iso"
|
|
||||||
dest_iso: "{{ test_dir }}/iso_customize_nodata.iso"
|
|
||||||
delete_files:
|
|
||||||
add_files:
|
|
||||||
register: customized_result
|
|
||||||
failed_when: customized_result.msg.find("MODULE FAILURE") == -1
|
|
||||||
|
|
||||||
# Test: nothing is changed when no options "add files" and "delete files"
|
# Test: nothing is changed when no options "add files" and "delete files"
|
||||||
- block:
|
- block:
|
||||||
- name: "Testcase: no options 'add files' and 'delete files'"
|
- name: "Testcase: no options 'add files' and 'delete files'"
|
||||||
|
|
Loading…
Reference in a new issue