This Ansible role install the Accelize DRM.
See documentation for more information.
The role requires to be run as root on the target host.
Installation: Accelize DRM installation.
- accelize_drm_python: If
true
, install the Python library and systemd service. Default totrue
. - accelize_drm_devel: If
true
, install the development C/C++ headers. Default tofalse
. - accelize_repository_channel: Accelize Repository channel to use:
stable
orprerelease
. Default tostable
. - accelize_drm_from_source: If
true
, install from sources instead of from package. Default tofalse
.
DRM Configuration: Accelize DRM configuration files.
- accelize_drm_cred_src: Path to the local
cred.json
file to transfer to the host. If not specified, does not transfer file. - accelize_drm_cred_dst: Destination path of the
cred.json
file on the target host. Default to/root/.accelize_drm/cred.json
. - accelize_drm_conf_src: Path to the local
conf.json
file to transfer to the host. If not specified, does not transfer file. - accelize_drm_conf_dst: Destination path of the
conf.json
file on the target host. Default to/etc/accelize_drm/conf.json
.
Source installation, test & build requirements: Installation of Accelize DRM build and testing dependencies. Mainly intended to DRM library developers.
- accelize_drm_git_clone: If specified, Git clone Accelize DRM to the specified path. Default to
''
. - accelize_drm_git_ref: branch, tag or commit ID to use for source installation and git clone. Default to
master
. - accelize_drm_test: If
true
, install tests dependencies. Default tofalse
. - accelize_drm_coverage: If
true
, install coverage dependencies. Default tofalse
. - accelize_drm_abi_check: If
true
, install ABI check dependencies. Default tofalse
. - accelize_drm_build: If
true
, install build dependencies. Default tofalse
. - accelize_drm_build_doc: If
true
, install documentation build dependencies. Default tofalse
. - accelize_drm_build_package: If
true
, install packages build & signature dependencies. Default tofalse
. - accelize_drm_no_install: If
true
, does not install Accelize DRM, only prepare the environment. Default tofalse
.
- hosts: servers
become: true
roles:
- role: accelize.accelize_drm
None.
Some tasks might require an update, like installing a new python library. To to so:
- Open the main.yml file in the tasks folder. This file lists all the tasks available and associates the operation to be performed.
- Look for the task that must be updated.
- Modify the appropriate section of the task and save the file.
- Commit and push the modification on git.
- Add a X.Y.Z tag to the commit in order to trigger the automatic job that will publish the new version on the ansible shared repository, Galaxy.
- The modification will be effective only when the version appears in the Ansible Galaxy.
- Open the main.yml file in the tasks folder. This file lists all the tasks available and associates the operation to be performed.
- Create a new role. You can copy paste an existing role that matches your wish the most and modify it appropriately.
- Save, commit and push the modification on git.
- Add a X.Y.Z tag to the commit in order to trigger the automatic job that will publish the new version on the ansible shared repository, Galaxy.
- The modification will be effective only when the version appears in the Ansible Galaxy.
Apache 2.0
This role is provided by Accelize.