Code Monkey home page Code Monkey logo

ansible-feedstock's Introduction

About ansible-feedstock

Feedstock license: BSD-3-Clause

Home: http://github.com/ansible/ansible

Package license: GPL-3.0-only

Summary: Ansible is a radically simple IT automation platform

Development: https://github.com/ansible/ansible

Documentation: https://www.ansible.com/

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Includes support for OpenStack (shade) and EC2 (AWS), extra batteries included.

Current build status

All platforms:

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing ansible

Installing ansible from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, ansible can be installed with conda:

conda install ansible

or with mamba:

mamba install ansible

It is possible to list all of the versions of ansible available on your platform with conda:

conda search ansible --channel conda-forge

or with mamba:

mamba search ansible --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search ansible --channel conda-forge

# List packages depending on `ansible`:
mamba repoquery whoneeds ansible --channel conda-forge

# List dependencies of `ansible`:
mamba repoquery depends ansible --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating ansible-feedstock

If you would like to improve the ansible recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/ansible-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

ansible-feedstock's People

Contributors

beckermr avatar bgruening avatar brainstorm avatar chrisburr avatar conda-forge-admin avatar conda-forge-curator[bot] avatar github-actions[bot] avatar mariusvniekerk avatar ocefpaf avatar pavelzw avatar regro-cf-autotick-bot avatar souravsingh avatar tschoonj avatar twenty-19 avatar xhochy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ansible-feedstock's Issues

Review dependencies?

Thanks for making this available!

Had a look into it, and there are some issues that, while everything still works, are less-than-ideal.

pycrypto

ansible hasn't had a hard dependency on the abandoned pycrypto for some time. This is a problem for at least one CVE and who knows how many more. We could:

  • patch pycrypto feedstock (e.g. use the debian patch)
    • ๐Ÿ‘ other packages would likely benefit from this
    • ๐Ÿ‘Ž scanners (like safety) will continue to find issues with this, because the pypi upstream is probably never going to get fixed at this point
  • start using pycryptodome
    • :+0: i mean, whatever...
  • start using cryptography
    • ๐Ÿ‘ ansible started preferring cryptography to pycrypto over two years ago, but still supports both APIs, so it seems like the last option is most in line with the upstream.

httplib2

Was never a hard dependency, and some behavior has been re-implemented for what is remaining. Some of the contrib stuff (which we don't even distribute) does use it, but...

boto, shade, ...

it's very unlikely you'd use both at once, and if these two, why not GCP/Azure/RedShift/whatever else is supported in the huge contrib library? We could introduce multiple outputs that did do this, move current ansible to ansible-core, and leave ansible as a metapackage, but bleah. I'd be more inclined to just not include these, as you'll know, and likely want to manage, the version of your provider-specific library.

paramiko

Really torn on this. This is no longer a hard dependency, and the local connection will work fine without it, BUT it seems like keeping is a good idea. Again, as a security-related library, it's probably worth a look at a sensible bottom pin for this.

Happy to work up a PR!

Installing ansible coda package also gets me ansible-base==2.10.3 pip package

Issue:

Sounds crazy, so if anything, I would appreciate someone telling me this isn't happening for them.
Since conda ansible 2.10, if I create a clean environment and install only ansible, I get a pip package installed with ansible-base==2.10.3... while I know conda does support pip, this seems like a bug.
Installing a version less than 2.10 (2.9.x) this does not happen.


Environment (conda list):

Ubuntu Linux 18.04 (LTS) x86
conda 4.9.2

$ conda env export
name: test
channels:
  - defaults
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - ansible=2.10.5=py36h5fab9bb_0
  - appdirs=1.4.4=py_0
  - bcrypt=3.2.0=py36h7b6447c_0
  - boto=2.49.0=py36_0
  - brotlipy=0.7.0=py36h27cfd23_1003
  - brotlipy=0.7.0=py36h27cfd23_1003
  - ca-certificates=2020.12.8=h06a4308_0
  - certifi=2020.12.5=py36h06a4308_0
  - cffi=1.14.4=py36h261ae71_0
  - chardet=4.0.0=py36h06a4308_1003
  - cryptography=3.3.1=py36h3c74f83_0
  - decorator=4.4.2=py_0
  - dogpile.cache=0.9.2=pyh9f0ad1d_0
  - httplib2=0.18.1=pyh9f0ad1d_0
  - idna=2.10=py_0
  - importlib-metadata=2.0.0=py_1
  - importlib_metadata=2.0.0=1
  - iso8601=0.1.13=py36_1
  - jinja2=2.11.2=py_0
  - jmespath=0.10.0=py_0
  - jsonpatch=1.28=pyhd3eb1b0_0
  - jsonpointer=2.0=py_0
  - keystoneauth1=4.3.0=pyhd8ed1ab_0
  - ld_impl_linux-64=2.33.1=h53a641e_7
  - libedit=3.1.20191231=h14c3975_1
  - libffi=3.3=he6710b0_2
  - libgcc-ng=9.1.0=hdf63c60_0
  - libsodium=1.0.18=h7b6447c_0
  - libstdcxx-ng=9.1.0=hdf63c60_0
  - markupsafe=1.1.1=py36h7b6447c_0
  - munch=2.5.0=py_0
  - ncurses=6.2=he6710b0_1
  - netifaces=0.10.9=py36h8c4c3a4_1003
  - openssl=1.1.1i=h27cfd23_0
  - openstacksdk=0.52.0=py36h5fab9bb_0
  - os-service-types=1.7.0=pyh9f0ad1d_0
  - paramiko=2.7.2=py_0
  - pbr=5.5.1=py_0
  - pip=20.3.3=py36h06a4308_0
  - pycparser=2.20=py_2
  - pynacl=1.4.0=py36h7b6447c_1
  - pyopenssl=20.0.1=pyhd3eb1b0_1
  - pysocks=1.7.1=py36h06a4308_0
  - python=3.6.12=hcff3b4d_2
  - python_abi=3.6=1_cp36m
  - pyyaml=5.3.1=py36h7b6447c_1
  - readline=8.0=h7b6447c_0
  - requests=2.25.1=pyhd3eb1b0_0
  - requestsexceptions=1.4.0=py_0
  - setuptools=51.0.0=py36h06a4308_2
  - six=1.15.0=py36h06a4308_0
  - sqlite=3.33.0=h62c20be_0
  - stevedore=3.3.0=py36h5fab9bb_0
  - tk=8.6.10=hbc83047_0
  - urllib3=1.26.2=pyhd3eb1b0_0
  - wheel=0.36.2=pyhd3eb1b0_0
  - xz=5.2.5=h7b6447c_0
  - yaml=0.2.5=h7b6447c_0
  - zipp=3.4.0=pyhd3eb1b0_0
  - zlib=1.2.11=h7b6447c_3
  - pip:
    - ansible-base==2.10.3




Details about conda and system ( conda info ):
$ conda info
$ conda info

     active environment : test
    active env location : /home/calebm/miniconda3/envs/test
            shell level : 1
       user config file : /home/calebm/.condarc
 populated config files : /home/calebm/.condarc
          conda version : 4.9.2
    conda-build version : not installed
         python version : 3.8.5.final.0
       virtual packages : __cuda=11.0=0
                          __glibc=2.27=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/calebm/miniconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /home/calebm/miniconda3/pkgs
                          /home/calebm/.conda/pkgs
       envs directories : /home/calebm/miniconda3/envs
                          /home/calebm/.conda/envs
               platform : linux-64
             user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.5 Linux/5.4.0-53-generic ubuntu/18.04.5 glibc/2.27
                UID:GID : ----:---
             netrc file : None
           offline mode : False

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.