Commit Graph

28 Commits (94de4db928c274b4aa5006530789820c5bb7f5fa)

Author SHA1 Message Date
John Kleint 1f8696f5c1 Fix inventory.get_hosts when hosts is a list.
14 years ago
Michael DeHaan 9041adddaa Add support for ranged patterns like webservers[0-49] for hitting the first 50 webservers.
14 years ago
Michael DeHaan 259f2dc4de Various retooling of the internal code behind inventory pattern matching in support of pending support
14 years ago
Dave Peticolas 08272dc25d Remove unused imports.
14 years ago
Michael DeHaan 1c9b43df1b more whitespace
14 years ago
Michael DeHaan fe558f680a Fix some failing tests, script tests seem to indicate magic variables are not being provided
14 years ago
Chin Fang e3b2521f01 Added a host expansion feature to ansible's inventory parsing
14 years ago
Michael DeHaan dde11baa56 Remove YAML inventory tests since this is now deprecated.
14 years ago
Michael DeHaan 60f295f7a0 Squashed commit of the following:
14 years ago
Jeroen Hoekx d592e15dcc Correctly add ungrouped hosts to 'ungrouped' in YAML inventory.
14 years ago
Daniel Hokka Zakrisson 05a7a3725b Add tests of host exclusions
14 years ago
Michael DeHaan 8e88667f82 Fix hosts being in multiple groups, and duplicate host references in the same inventory file.
14 years ago
Jeroen Hoekx e09572a8e1 Inventory: undefined group -> ungrouped.
14 years ago
Jeroen Hoekx d419a13ca7 Inventory: support list of vars in host.
14 years ago
Michael DeHaan 157d21b1c3 Add tests for new advanced inventory features (groups of groups, group variables) in the default INI format file.
14 years ago
Michael DeHaan 1a00e2635e Further work on making the YAML inventory parser use the new inventory objects.
14 years ago
Michael DeHaan 256377166a Reinstate external inventory script support this time using the new more OO-ey inventory system.
14 years ago
Michael DeHaan 0669ce858a Refactored inventory to make it object oriented, need to make YAML format and executable script
14 years ago
Jeroen Hoekx 03541baba7 Define 'inventory_hostname' variable for hosts.
14 years ago
Jeroen Hoekx b87710a1df Introduce group_names in template variables.
14 years ago
Jeroen Hoekx 903e4f6eae Support dicts in inventory vars.
14 years ago
Michael DeHaan 9ce27be878 Remove extra_vars tests
14 years ago
Jeroen Hoekx 8c3206c99f Return a copy of the host variables.
14 years ago
Jeroen Hoekx 961ccdb2f4 List hosts in no group in the ungrouped group.
14 years ago
Jeroen Hoekx 3a24aa9a70 Add YAML inventory format.
14 years ago
Jeroen Hoekx 54f4526160 Export SSH port number as host variable.
14 years ago
Jeroen Hoekx 746f1b92ae Reimplement the class method on Runner.
14 years ago
Jeroen Hoekx 195e6d617b Add tests for Inventory class.
14 years ago