ansible/test/integration/targets/playbook
Sam Doran cd473dfb2f
play - validate hosts entries (#74147)
* Change tests to pytest-style tests
* Add tests for invalid hosts
* Validate host inputs
  - check for empty values
  - check for None
  - check for values that are not a sequence and are not strings
  - add unit tests

* Move play name setting to get_name() and out of load()
* Add _validate_hosts() method
  By defining this method, it gets called automatically by FieldAttributeBase.validate().
2021-06-17 15:32:56 -04:00
..
aliases
empty.yml
empty_hosts.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
malformed_post_tasks.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
malformed_pre_tasks.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
malformed_roles.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
malformed_tasks.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
malformed_vars_prompt.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
old_style_role.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
remote_user_and_user.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
roles_null.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
runme.sh play - validate hosts entries (#74147) 2021-06-17 15:32:56 -04:00
some_vars.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
timeout.yml
types.yml
user.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
vars_files_null.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
vars_files_string.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
vars_prompt_null.yml [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00