Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v2.28.0
  • v2.27.0
  • v2.25.1
  • v2.24.3
  • v2.26.0
  • v2.24.2
  • v2.25.0
  • v2.24.1
  • v2.22.2
  • v2.23.3
  • v2.24.0
  • v2.23.2
  • v2.23.1
  • v2.23.0
  • v2.22.1
  • v2.22.0
  • v2.21.0
  • v2.20.0
  • v2.19.1
  • v2.18.2
21 results

Vagrantfile

Blame
    • Max Gautier's avatar
      1e769b72
      Rework vagrant inventory handling + support for multiples inventories · 1e769b72
      Max Gautier authored
      The current way to handle a custom inventory in vagrant is a bit
      hackish, copy files around and can break Vagrantfile parsing in
      cornercase scenarios (removing vagrant inventories, or the inventory
      copied into vagrant inventory).
      
      Instead, simply pass additional inventories to the ansible-playbook
      command lines as raw arguments with `-i`.
      This also makes supporting multiples inventories trivial, so we add a
      new `$inventories` variable for that purpose.
      Rework vagrant inventory handling + support for multiples inventories
      Max Gautier authored
      The current way to handle a custom inventory in vagrant is a bit
      hackish, copy files around and can break Vagrantfile parsing in
      cornercase scenarios (removing vagrant inventories, or the inventory
      copied into vagrant inventory).
      
      Instead, simply pass additional inventories to the ansible-playbook
      command lines as raw arguments with `-i`.
      This also makes supporting multiples inventories trivial, so we add a
      new `$inventories` variable for that purpose.