ansible/test/integration/targets/playbook
Rick Elrod bd1acb74c8
[playbook/play.py] Increase error test coverage (#74217)
Change:
- Mostly increase error coverage for various conditions in play.py
- Also fix a string in an error, where get_name() was called before
  self.name was read in, so get_name() was always ''.

Test Plan:
- new tests

Signed-off-by: Rick Elrod <rick@elrod.me>

* Fix regex for py2 and py3

Signed-off-by: Rick Elrod <rick@elrod.me>

* py2 hates me

Signed-off-by: Rick Elrod <rick@elrod.me>
2021-04-13 11:22:02 -04:00
..
aliases
empty.yml
empty_hosts.yml
malformed_post_tasks.yml
malformed_pre_tasks.yml
malformed_roles.yml
malformed_tasks.yml
malformed_vars_prompt.yml
old_style_role.yml
remote_user_and_user.yml
roles_null.yml
runme.sh
some_vars.yml
timeout.yml
types.yml
user.yml
vars_files_null.yml
vars_files_string.yml
vars_prompt_null.yml