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
Copy file name to clipboardExpand all lines: README.md
+51-30Lines changed: 51 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,52 +3,49 @@
3
3
4
4
## Introduction
5
5
6
-
This is an Ansible playbook for provisioning an instance of Islandora. This repository includes a Vagrantfile, so `vagrant up` will create a local virtual machine and run the playbook on it.
6
+
This is an Ansible playbook for provisioning an instance of Islandora. This repository can be used with Vagrant, or for deploying to a remote server.
7
7
8
-
This can also be used as an ansible playbook (playbook.yml) to provision a remote server. If doing so, be sure to change the passwords in `inventory/vagrant/group_vars/all/passwords.yml` (or override them with your own inventory), as well as ensure all ports except the Drupal port are behind a firewall.
8
+
As of tag 2.0.0, deployment is done in two stages:
9
+
* with `islandora_build_base_box=true` ('ISLANDORA_BUILD_BASE=true' in Vagrant), to install environment components that change infrequently, and
10
+
* with `islandora_build_base_box=false` ('ISLANDORA_BUILD_BASE=false' [default] in Vagrant), to install and configure the Islandora software.
11
+
12
+
The base box can be stored, to save time on subsequent builds (e.g. for creating dev or testing environments).
13
+
14
+
For usage instructions, including Vagrant and remote server deployment, see [Islandora Playbook](https://islandora.github.io/documentation/installation/playbook) in the Islandora Documentation.
9
15
10
16
For an alternative installation using Docker, please see [ISLE](https://islandora.github.io/documentation/installation/docker-introduction/).
11
17
12
-
## Running Vagrant on Macs
13
18
14
-
### No Virtualbox available for M1, M2 Macs
19
+
##Use
15
20
16
-
The new architecture of the Apple silicon chips (M1, M2) is incompatible with VirtualBox,
17
-
so the newest Macs cannot be used with the Vagrant method. However, they can still deploy
18
-
the playbook to remote VMs, or use Docker (ISLE).
21
+
Detailed installation and usage instructions can be found on the [official installation documentation for Islandora](https://islandora.github.io/documentation/installation/playbook/).
19
22
20
-
### macOS 12.0 Monterey VirtualBox Workaround
21
23
22
-
VirtualBox has not been updated to work fully with macOS Monterey as of October, 2021.
23
-
A workaround exists, which is to run VirtualBox in non-headless mode.
24
+
## Variables
24
25
25
-
In your Vagrantfile, add the line `v.gui = true` to the configuration section near the top:
26
+
These Vagrant variables (in all caps) are read from the environment, so if you set them as Unix shell variables they will override the defaults defined in the Vagrantfile.
26
27
27
-
```
28
-
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
29
-
config.vm.provider "virtualbox" do |v|
30
-
v.name = "Islandora 8 Ansible"
31
-
v.gui = true
32
-
end
33
-
```
28
+
### Build Base box
34
29
35
-
Discussion of this issue can be found on [this issue](https://github.com/hashicorp/vagrant/issues/12557
36
-
) in Vagrant's GitHub project.
30
+
If `ISLANDORA_BUILD_BASE` is `true`, then the playbook will download a standard Vagrant base box of the `ISLANDORA_DISTRO` and partly provision it, creating a virtual machine that can be saved as an islandora base box.
37
31
38
-
## Variables
32
+
If `ISLANDORA_BUILD_BASE` is `false` (default), then the playbook will use an existing islandora base box and provision the islandora software.
33
+
34
+
This corresponds to the `islandora_build_base_box` Ansible variable.
39
35
40
-
### Base box
36
+
### Islandora Distro
41
37
42
-
By default the Vagrantfile builds Islandora on a `ubuntu/focal64` (20.04 LTS) base box.
38
+
`ISLANDORA_DISTRO` defaults to `ubuntu/focal64` (20.04 LTS), which is currently the only working distribution.
43
39
40
+
This corresponds to the `islandora_distro` Ansible variable.
44
41
45
42
### Install Profile
46
43
47
-
The Unix shell variable `ISLANDORA_INSTALL_PROFILE` can be one of:
44
+
`ISLANDORA_INSTALL_PROFILE` can be one of:
48
45
49
-
*`demo`: Installs the demo based on the [install profile](https://github.com/Islandora-Devops/islandora_install_profile_demo) developed by Born Digital. This has a custom theme and more out-of-the-box customizations.
50
46
*`starter`: Installs using [the `islandora/islandora-starter-site` project](https://github.com/Islandora/islandora-starter-site/) as a template, intended for spinning up sites for general usage.
51
47
*`starter_dev`: Similar to `starter`, installs based on [the `islandora/islandora-starter-site` project](https://github.com/Islandora/islandora-starter-site/); however, performs a clone of the repository with its history, intended specifically for development of the starter site.
48
+
*`demo`: Installs the demo based on the [install profile](https://github.com/Islandora-Devops/islandora_install_profile_demo) developed by Born Digital. This has a custom theme and more out-of-the-box customizations.
52
49
53
50
This corresponds to the `islandora_profile` Ansible variable.
Detailed installation and usage instructions can be found on the [official installation documentation for Islandora](https://islandora.github.io/documentation/installation/playbook/).
67
-
68
-
## Connect
61
+
## Connect (Vagrant)
69
62
70
63
You can connect to the machine via the browser at [http://localhost:8000](http://localhost:8000).
71
64
@@ -139,6 +132,34 @@ The Playbook installs an instance of the [Matomo](https://matomo.org/) web analy
139
132
* username: admin
140
133
* password: islandora
141
134
135
+
136
+
## Running Vagrant on Macs
137
+
138
+
### Virtualbox not available for M1, M2 Macs
139
+
140
+
The new architecture of the Apple silicon chips (M1, M2) is incompatible with VirtualBox,
141
+
so the newest Macs cannot be used with the Vagrant method. However, they can still deploy
142
+
the playbook to remote VMs, or use Docker (ISLE).
143
+
144
+
### macOS 12.0 Monterey VirtualBox Workaround
145
+
146
+
VirtualBox has not been updated to work fully with macOS Monterey as of October, 2021.
147
+
A workaround exists, which is to run VirtualBox in non-headless mode.
148
+
149
+
In your Vagrantfile, add the line `v.gui = true` to the configuration section near the top:
150
+
151
+
```
152
+
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
153
+
config.vm.provider "virtualbox" do |v|
154
+
v.name = "Islandora 8 Ansible"
155
+
v.gui = true
156
+
end
157
+
```
158
+
159
+
Discussion of this issue can be found on [this issue](https://github.com/hashicorp/vagrant/issues/12557
160
+
) in Vagrant's GitHub project.
161
+
162
+
142
163
## Roadmap
143
164
144
165
The playbook is in maintenance mode as new development is focused on [ISLE](https://islandora.github.io/documentation/installation/docker-compose/) for development and production.
0 commit comments