gcporras.autoenv

ansible-role-autoenv

An Ansible Role that installs and configures autoenv a tool to auto load shell directory-based environments.

This tool is good to:

  • auto-activate virtualenvs
  • set project-specific environment variables

Build Status

Requirements

The following tools are required:

  • pip a tool for installing and managing Python packages.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

autoenv_shell_rc_file per default set to {{ ansible_env['HOME'] }}/.{{ ansible_env['SHELL'] | replace('/bin/','') }}rc

The shell's configuration file for which autoenv variables will be set.

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
     - { role: gcporras.autoenv }

License

MIT

Author Information

This role was created in 2014 by Gerardo Cepeda Porras.

About

Install and configures autoenv

Install
ansible-galaxy install gcporras.autoenv
GitHub repository
License
mit
Downloads
55
Owner