1. 17 Sep, 2015 1 commit
  2. 14 Sep, 2015 1 commit
  3. 11 Sep, 2015 2 commits
    • Be stricter about parsing hostname labels · 7479ab47
      Labels must start with an alphanumeric character, may contain
      alphanumeric characters or hyphens, but must not end with a hyphen.
      We enforce those rules, but allow underscores wherever hyphens are
      accepted, and allow alphanumeric ranges anywhere.
      
      We relax the definition of "alphanumeric" to include Unicode characters
      even though such inventory hostnames cannot be used in practice unless
      an ansible_ssh_host is set for each of them.
      
      We still don't enforce length restrictions—the fact that we have to
      accept ranges makes it more complex, and it doesn't seem especially
      worthwhile.
      Abhijit Menon-Sen committed
    • Be systematic about parsing and validating hostnames and addresses · 065bb521
      This adds a parse_address(pattern) utility function that returns
      (host,port), and uses it wherever where we accept IPv4 and IPv6
      addresses and hostnames (or host patterns): the inventory parser
      the the add_host action plugin.
      
      It also introduces a more extensive set of unit tests that supersedes
      the old add_host unit tests (which didn't actually test add_host, but
      only the parsing function).
      Abhijit Menon-Sen committed
  4. 08 Sep, 2015 1 commit
  5. 04 Sep, 2015 1 commit
    • Starting to add additional unit tests for VariableManager · ff9f5d7d
      Required some rewiring in inventory code to make sure we're using
      the DataLoader class for some data file operations, which makes mocking
      them much easier.
      
      Also identified two corner cases not currently handled by the code, related
      to inventory variable sources and which one "wins". Also noticed we weren't
      properly merging variables from multiple group/host_var file locations
      (inventory directory vs. playbook directory locations) so fixed as well.
      James Cammarata committed
  6. 27 Aug, 2015 1 commit
  7. 26 Aug, 2015 2 commits
  8. 25 Aug, 2015 1 commit
  9. 19 Aug, 2015 1 commit
  10. 06 Jul, 2015 1 commit
  11. 30 Jun, 2015 1 commit
  12. 04 May, 2015 1 commit