Skip to content

dominikl/ansible-role-deploy-archive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Archive

Actions Status Ansible Role

Deploys an archive. Downloads, extracts and optionally creates a symlink.

Prerequisites

This role does not install tools such as unzip or bzip that may be required for extracting archives.

This role does not set become: yes on tasks. If you do not include this in your playbook you must ensure the Ansible user has write permissions on the destination directory.

Role Variables

Required:

  • deploy_archive_dest_dir: The destination directory, will be automatically created
  • deploy_archive_src_url: URL to the archive

Optional:

  • deploy_archive_sha256: SHA256 checksum, ignored if empty
  • deploy_archive_filename: Name of the downloaded file, default is the basename of the URL path.
  • deploy_archive_symlink: Absolute path of a symlink to the unarchived deployment, ignored if empty
  • deploy_archive_internal_root: Target of the symlink within the destination directory
  • deploy_archive_notifies: List of handlers to notify if the downloaded archive changes

Example playbook

See playbook.yml

Author Information

ome-devel@lists.openmicroscopy.org.uk

About

Deploys an archive

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%