2

I have 3 separate ansible project. Problem is, they all have their own vault, and I have to redefine some variable in common in all these vaults and change the variable everywhere every time.

Is it a way to share a vault between ansible projects ?

EDIT : I already considered to regroup all the projets in 1 but they are very different and I don't like this solution

amdev
  • 3,010
  • 3
  • 35
  • 47
  • Why wouldn't you have all of these in the same project? In that case, you'd have the same vault in one location, and could use different host groups to specify what gets run on which host. You'd have one host group `cloud`, one `wiki` and one `sso` - that's the way I use Ansible in this case. – nwinkler Oct 19 '18 at 13:34
  • 1
    Yes we are considering this option – amdev Oct 19 '18 at 14:12
  • @amdev: Next option would be to link the common vault to each project's directory. – Vladimir Botka Oct 19 '18 at 15:24
  • "put on hold as too broad" Are ou kidding me ? "Is there a way to share a vault between ansible projets" Is to broad ? – amdev Oct 22 '18 at 06:26

0 Answers0