The edu-sharing-classification-keywords
role is used dowland and register classification keywords for edu-sharing.
The edu-sharing-classification-keywords
role is included in the playbook system.yml.
- hosts: edusharing
roles:
- role: edu-sharing-classification-keywords
tags:
- edu-sharing-classification-keywords
or we just want to run only the edu-sharing-classification-keywords
then we run:
ansible-playbook -v -i <host> ansible/system.yml --tags "edu-sharing-classification-keywords"
This will skip other roles and run only the vocabularies role
The edu-sharing-classification-keywords
role allows you to customize certain variables according to your requirements.
Here are the default variables:
# Override the default local file
classification_keywords_force_download: false
# Classification-Keywords-URL (for download)
classification_keywords_url: "https://data.dnb.de/GND/authorities-gnd-sachbegriff_dnbmarc_20240213.mrc.xml.gz"
The tasks/
directory contains all the ansible tasks.
main
: The main task or entry task for ansible.classification-keyword.yml
: Used to download the classification-keywords fromclassification_keywords_url
url and extract thexml
file into server.jobs.yml
: It's used to register the classification keywords in edu-sharing