chrisjsewell.conda.conda_install (0.0.3) — module

Install Conda packages

Authors: Chris Sewell

Install collection

Install with ansible-galaxy collection install chrisjsewell.conda:==0.0.3


Add to requirements.yml

  collections:
    - name: chrisjsewell.conda
      version: 0.0.3

Description

Install Conda packages

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: install packages via Conda
  conda_install:
    packages:
    - git=2
    - numpy

Inputs

    
env:
    description: Name of the environment (if it does not exist then it will be created).
    required: false

channels:
    description: Extra channels to use when installing packages.
    required: false

packages:
    description: The name of the packages to install.
    required: true

executable:
    description: Full path to the conda executable.
    required: false

extra_args:
    description: Extra arguments passed to Conda.
    required: false

Outputs

output:
  description: JSON output from Conda
  returned: changed == True
  type: dict
stderr:
  description: stderr content written by Conda
  returned: changed == True
  type: str