You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* document libvirt as provider
* remove explicit usage of VirtualBox
* disable unnecessary syncing of folder (via NFS)
* update used distribution to Debian 12 (Bookworm)
* use role from ansible-community
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ This Ansible role performs a basic [Vault](https://vaultproject.io/)
7
7
installation, including filesystem structure and example configuration.
8
8
9
9
It can also bootstrap a minimal development or evaluation server or HA
10
-
Consul-backed cluster in a Vagrant and VirtualBox based environment. See
10
+
Consul-backed cluster in a Vagrant based environment. See
11
11
[README_VAGRANT.md](https://github.com/ansible-community/ansible-vault/blob/master/examples/README_VAGRANT.md) and the associated [Vagrantfile](https://github.com/ansible-community/ansible-vault/blob/master/examples/Vagrantfile) for more details about the developer mode setup.
Copy file name to clipboardExpand all lines: examples/README_VAGRANT.md
+9-30Lines changed: 9 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This project provides documentation and a collection of scripts to help you automate deployment of [HashiCorp Vault](https://www.vaultproject.io/) using [Ansible](http://www.ansibleworks.com/)
4
4
5
-
These are the instructions for deploying a development or evaluation cluster on Vagrant and VirtualBox.
5
+
These are the instructions for deploying a development or evaluation cluster on Vagrant.
6
6
7
7
The documentation and scripts are merely a starting point designed to both help familiarize you with the processes and quickly bootstrap an environment for development or evaluation. You may wish to expand on them and customize them with additional features specific to your needs later.
8
8
@@ -11,7 +11,7 @@ The documentation and scripts are merely a starting point designed to both help
11
11
In some situations deploying a small cluster on your local development machine can be handy. This document describes such a scenario using the following technologies:
12
12
13
13
*[Vault](https://vault.io)
14
-
*[VirtualBox](https://www.virtualbox.org/)
14
+
*[VirtualBox](https://www.virtualbox.org/) or [Vagrant-libvirt](https://vagrant-libvirt.github.io/vagrant-libvirt)
15
15
*[Vagrant](http://www.vagrantup.com/) with Ansible provisioner and
16
16
supporting plugin
17
17
*[Ansible](http://www.ansibleworks.com/)
@@ -31,34 +31,23 @@ This role is designed to be installed via the `ansible-galaxy` command instead o
31
31
You should install it like this:
32
32
33
33
```
34
-
$ ansible-galaxy install brianshumate.vault
34
+
$ ansible-galaxy role install -r roles/requirements.yml -p roles
35
35
```
36
36
37
-
You'll want to make sure you have write access to `/etc/ansible/roles/` since
38
-
that is where the role will be installed by default, or define your own
39
-
Ansible role path by creating a `$HOME/.ansible.cfg` file with these contents:
40
-
41
-
```
42
-
[defaults]
43
-
roles_path = PATH_TO_ROLES
44
-
```
45
-
46
-
Change `PATH_TO_ROLES` to a directory that you have write access to.
47
-
48
37
## Quick Start
49
38
50
39
Begin from the top level directory of this project and use the following
@@ -69,7 +58,7 @@ You can also `vagrant ssh` into the VM and export `VAULT_ADDR=http://localhost:8
69
58
> NOTE: By default, this project will install a Debian based Vault server. If you prefer, it can also install a server based on a different Vagrant box by changing the command in step 4 to include the `BOX_NAME` environment variable specifying a different Vagrant box name as the value such as in the following example:
70
59
71
60
```
72
-
BOX_NAME="centos/8" vagrant up
61
+
BOX_NAME="debian/bullseye64" vagrant up
73
62
```
74
63
75
64
## Vault Enterprise
@@ -80,18 +69,7 @@ Place the Vault Enterprise zip archive into `{{ role_path }}/files` and set `vau
80
69
81
70
## Notes
82
71
83
-
1. This project functions with the following software versions:
84
-
* Vault version 1.4.0
85
-
* Ansible: 2.8.4
86
-
* VirtualBox version 6.0.10
87
-
* Vagrant version 2.2.5
88
-
* Vagrant Hosts version 2.8.3
89
-
2. This project uses Debian 10 (buster) by default, but you can choose another
90
-
OS distribution with the **BOX_NAME** environment variable
91
-
3. The `bin/preinstall` shell script performs the following actions for you:
92
-
- Adds each server's host information to the host machine's `/etc/hosts`
93
-
- Optionally installs the Vagrant hosts plugin
94
-
4. If you notice an error like *vm: The '' provisioner could not be found.* make sure that you have the vagrant-hosts plugin installed
72
+
If you notice an error like *vm: The '' provisioner could not be found.* make sure that you have the vagrant-hosts plugin installed
95
73
96
74
## Resources
97
75
@@ -104,3 +82,4 @@ Place the Vault Enterprise zip archive into `{{ role_path }}/files` and set `vau
0 commit comments