# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
categories-append sysutils
maintainers {adfernandes @adfernandes} {gmail.com:pedro.salgado @steenzout} openmaintainer
master_sites pypi:a/ansible
homepage https://github.com/ansible/ansible
description SSH-based configuration management and deployment system
distname ansible-${version}
checksums rmd160 0b3852a48075c26dbc75f9efe35c8d93616a4f2e \
sha256 1e5ba829ca0602c55b33da399b06f99b135a34014b661d1c36d8892a1e2d3730 \
Ansible is a radically simple model-driven configuration \
management, multi-node deployment, and remote task execution \
system. Ansible works over SSH and does not require any software \
or daemons to be installed on remote nodes. Extension modules can \
be written in any language and are transferred to managed machines \
python.versions 27 35 36 37
if {${name} ne ${subport}} {
fs-traverse f ${worksrcpath} {
if {[file isfile ${f}] && [regexp {\.(py|yml|yaml)$} ${f} match]} {
reinplace -q "s#/etc/ansible#${prefix}/etc/ansible#g" ${f}
reinplace -q "s#/usr/share/ansible#${prefix}/share/ansible#g" ${f}
depends_lib-append port:py${python.version}-six \
port:py${python.version}-paramiko \
port:py${python.version}-httplib2 \
port:py${python.version}-jinja2 \
port:py${python.version}-yaml \
port:py${python.version}-setuptools \
port:py${python.version}-cryptography \
select.file ${filespath}/py${python.version}-ansible
To make the Python ${python.branch} version of Ansible the one that is run\
when you execute the commands without a version suffix, e.g. 'ansible', run:
port select --set ${select.group} [file tail ${select.file}]