ansible/lib/ansible/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
..
role role argspec - tag role argspec validation task with 'always' (#74994) 2021-06-14 13:28:56 -04:00
__init__.py [playbook] error on empty, error on 'include' (remove two deprecations) (#74172) 2021-04-09 10:28:24 -04:00
attribute.py Move common build code from _build_helpers (#55986) 2019-07-16 12:19:01 -07:00
base.py Only check if play.hosts is a template when the play hasn't been finalized (#73941) 2021-04-19 13:03:40 -04:00
block.py Fix notify on import_tasks (#73572) 2021-03-03 16:11:09 -05:00
collectionsearch.py collection routing (#67684) 2020-05-26 09:42:06 -07:00
conditional.py [conditional] Remove support for bare variables (#74208) 2021-04-13 11:12:10 -04:00
handler.py Fix notifying handlers by using an exact match (#55624) 2019-06-27 17:29:20 -04:00
handler_task_include.py Validate args for includes in handlers too (#57537) 2020-05-12 09:35:58 +02:00
helpers.py Remove deprecated features from ansible.playbook.helpers (#74809) 2021-05-25 11:35:17 -04:00
included_file.py Allow omit to work with include_role from_args (#74879) 2021-06-04 05:07:16 +10:00
loop_control.py allows loop pause for subseconds (#50461) 2019-01-18 22:41:29 -05:00
play.py play - validate hosts entries (#74147) 2021-06-17 15:32:56 -04:00
play_context.py Remove deprecated PlayContext.make_become_cmd (#74790) 2021-05-25 11:03:55 -04:00
playbook_include.py [playbook] error on empty, error on 'include' (remove two deprecations) (#74172) 2021-04-09 10:28:24 -04:00
role_include.py Add rolespec_validate to import/include_role (#73589) 2021-02-12 16:26:33 -06:00
taggable.py Allow tags to be templated from a variable (#49833) 2018-12-17 15:40:26 -06:00
task.py removed task parameters (#74154) 2021-04-08 15:09:45 -04:00
task_include.py Remove deprecated features from ansible.playbook.helpers (#74809) 2021-05-25 11:35:17 -04:00