ansible_role_alpha29_ncbi_blast

ansible-role-alpha29-ncbi-blast

Build Status

Installs NCBI BLAST+.

Requirements

This role requires root access, so either run it in a playbook with a global become: yes, or invoke the role in your playbook like:

- hosts: localhost
  roles:
    - role: alpha29.ncbi-blast
      become: yes

Role Variables

No configurable role variables at this time.

Dependencies

See requirements.yml for third-party role dependencies.

Example Playbook

As above::

- hosts: localhost
  roles:
    - role: alpha29.ncbi-blast
      become: yes

Development

# Setup:
git clone [email protected]:alpha29/ansible-role-alpha29-ncbi-blast.git alpha29.ncbi-blast
python3.7 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
molecule test

# Usage:
# Do this to monitor timing, show Ansible debug logging, and tell Molecule to keep the Docker container on completion
time molecule --debug test --destroy=never

# Faster iterative development:
# Verify that you don't have a running container.
docker ps -a
# Create one.
time molecule create
# Run some tests, which should fail.
time molecule verify
# Just run the playbook - skip linting, tests, et cetera
time molecule converge
# Make some changes, lather, rinse, repeat.
...
time molecule converge
time molecule verify
...
# When finished, tear it down.
time molecule destroy

# By default, all of the above runs against a Centos 7 Docker image.  
# Use the MOLECULE_DISTRO environment variable to swap in other distros, e.g.: 
time MOLECULE_DISTRO=ubuntu1804 molecule test

# NOTE:  If you update requirements.yml, ***MAKE SURE*** you update meta/main.yml as well!

License

MIT

Author Information

info@alpha29.com

Install
ansible-galaxy install alpha29/ansible-role-alpha29-ncbi-blast
GitHub repository
License
Unknown
Downloads
25
Owner