Commit Graph

55 Commits (253fe7be509ea2fdd9eedeb4ef195697fa060948)

Author SHA1 Message Date
John Barker 4bf9f714d0 Fix inventory parsing so that FQDN can be parsed without throwing ssh
13 years ago
Martynas Mickevicius 7ecb5fbc9c Handle comment on inventory group line.
13 years ago
Martynas Mickevicius 44279ce34f Allow leading ranges in the inventory host entries.
13 years ago
Michael DeHaan 8fc46a3a5a Return inventory objects in the order they are presented. Additionally, fix host slicing such that it works on Python terms with
13 years ago
Jasper Capel d4dec5f577 Allow creating empty inventory
13 years ago
Michael Scherer a0b73b18c3 add one last test, for combined range, which make ansible.inventory.expand_hosts
13 years ago
Michael Scherer 64d35cb3b6 test that using non ordered range of char send a exception
13 years ago
Michael Scherer 4f69b63fec add test for incorrect format in range host
13 years ago
Michael Scherer 835fdd1ec2 add test for missing end in host range
13 years ago
Michael Scherer 2aea8a6368 add a test to verify ansible detect invalid range
13 years ago
Michael Scherer 7fec9c3eba add a test to cover bound stepping in inventory
13 years ago
Michael Scherer ddd582269c increase test coverage of inventory by around 5% according to nose
13 years ago
Michael Scherer b655d5798b add tests for the -i option when used with raw string for ipv4
13 years ago
Michael DeHaan 4ae3ef8af9 Disable inventory test
13 years ago
Pol Llovet 4432c01ceb Handle '#' in var strings by splitting on ' #'
13 years ago
Michael DeHaan 7116c83c4a Standardize test output
13 years ago
Daniel Hokka Zakrisson 1f8805d9e0 Add some tests for directory-based inventory
13 years ago
Michael DeHaan 04195e202d Merge pull request #1747 from njharman/alpharange
14 years ago
Michael DeHaan 4bcdd24688 Merge pull request #1776 from junegunn/inventory-group-var-ws
14 years ago
Junegunn Choi 7fbb7e079a Fix hostname expansion bug in inventory parser
14 years ago
Junegunn Choi daf797804b Allows whitespaces around assignment operators
14 years ago
Michael DeHaan 70bb7d1e54 Merge pull request #1696 from gregorg/enhance_limit
14 years ago
Daniel Hokka Zakrisson 54b45e9bd4 Allow intersecting host patterns by using &
14 years ago
Norman J. Harman Jr 6603737e4d Alphabetic inventory hostname patterns.
14 years ago
Gregory Duchatelet 8bc1b69c58 Add a unit test to subset limiting via a regex, and some doc in man
14 years ago
Daniel Hokka Zakrisson 0c70abfaa9 Make sure any existing groups gets reused
14 years ago
Jeroen Hoekx 23a62f5a78 Return multiple groups from inventory API.
14 years ago
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