Commit Graph

163 Commits (a5ee6ff1e56ff3abdcb42a9b2ac4518a0eeead13)

Author SHA1 Message Date
Michael DeHaan 611e5b0c90 Make adding tags to a playbook work as shorthand to tagging all tasks in the play. 14 years ago
Michael DeHaan a765deccce Allow top level playbook files to import other playbook files, added some basic
playbook structure checking.
14 years ago
Michael DeHaan 969c3feb13 Allow include statements from plays to specify tags (see tags.yml example file).
Also be smart and don't run a play at all if no tasks in the play match any of the tags specified.  This includes not running the setup actions!
14 years ago
Michael DeHaan 83f23ef861 Basic support for tagging tasks and selecting a subset of tasks to run with --tags. 14 years ago
Daniel Hokka Zakrisson a05da2d312 Allow with_items to specify a variable 14 years ago
Daniel Hokka Zakrisson 933b5e8631 Reduce code duplication 14 years ago
Daniel Hokka Zakrisson dff8d7be04 Expand vars_files identically for lists and non-lists 14 years ago
John Kleint 70837469c6 Properly template list of hosts in playbooks.
In playbooks, hosts can be a YAML list. We templated the list before
converting it to a semicolon-separated string, which actually templated its
repr. This converts to a string first. A basic unit test is included.
14 years ago
Brad Olson 7ea4a0e895 Avoid traceback when vars file has no vars items. Could warn or fail instead. 14 years ago
Cosmin Luță 74bfd7eb81 Removed line that caused stacktrace 14 years ago
Michael DeHaan 4664e354c3 Get with_items to work with new play/task architecture. 14 years ago
Michael DeHaan ecb944892d Tweaks on previous refactoring of playbook, version bump a 0.4 reference, remove some debug, etc 14 years ago
Michael DeHaan b9b53d1941 Playbook refactoring -- work in progress. 14 years ago