ucsblibrary.fedora-marmotta
ansible-fedora-marmotta
This guide shows how to install Fedora and Marmotta as Tomcat applications on RHEL/CentOS.
Variables
General
project_base
: The main directory for Fedora and Marmotta data; defaults to/opt
.install_path
: The directory for downloading files; defaults totmp
.tomcat
: The main directory for the Tomcat installation; defaults to/usr/share/tomcat
.psql_host
: The hostname of the PostgreSQL server used by Fedora and Marmotta; defaults tolocalhost
.
Fedora
fedora_base_path
: The main path for the REST API; defaults toprod
.fedora_ver
: The version of Fedora to install; defaults to4.7.5
.fedora_256
: The SHA-256 checksum of the Fedora download.ispn_pass
: The password for the PostgreSQL role in Fedora (you need to set this yourself).ispn_user
: The name of the PostgreSQL role for Fedora; defaults tofcrepo
.fedora_fs
: A dictionary that defines where Fedora will store binary data; defaults to{ mount_point: "{{ project_base }}/fedora—data" }
.fedora_subdirectory
: The specific folder withinfedora_fs.mount_point
where this Fedora instance will write data.
Marmotta
marmotta_ver
: The version of Marmotta to install; defaults to3.3.0
.marmotta_256
: The SHA-256 checksum of the Marmotta tarball.marmotta_home
: The main directory for Marmotta installation; defaults to{{ project_base }}/marmotta
.marmotta_pg_pass
: The password for the PostgreSQL role in Marmotta (you need to set this yourself).marmotta_pg_user
: The name of the PostgreSQL role for Marmotta; defaults tomarmotta
.
Example Playbook
- hosts: all
roles:
- role: ucsblibrary.fedora-marmotta
become: yes
fedora_ver: 4.7.0
fedora_256: 1f478176649cb8cfff423e9aad839ece1cb1fff0ee5b3db2cbf3b0d5449486ca
fedora_data_root: /fedora
License
This software is Copyright © 2017 The Regents of the University of
California. All Rights Reserved.
You can copy, change, and share this software and its documentation for education, research, and non-profit use without payment or a written agreement, as long as you include the copyright notice and this information in all copies.
To use this software for commercial purposes, please contact:
Technology Transfer Office
9500 Gilman Drive, Mail Code 0910
University of California
La Jolla, CA 92093-0910
(858) 534-5815
invent@ucsd.edu
This software and documentation are protected by copyright. They are provided "as is," without any guarantees from The Regents. The Regents do not promise that the program will run without interruptions or errors. The user understands that the program was created for research and should not rely solely on it for any purpose.
THE UNIVERSITY OF CALIFORNIA IS NOT RESPONSIBLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING FROM THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY WAS WARNED OF POSSIBLE DAMAGES. THE UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE UNIVERSITY HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR CHANGES.
ansible-galaxy install ucsblibrary.fedora-marmotta