pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/ansible2 Import ansible version 2.1.0.0 as sy...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ab650e9afd0
branches:  trunk
changeset: 348151:8ab650e9afd0
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jun 08 14:16:25 2016 +0000

description:
Import ansible version 2.1.0.0 as sysutils/ansible2.

This is based on the existing sysutils/ansible package, but cleaned up and
tracking the newer 2.x releases.  sysutils/ansible is retained to support
installations which still require 1.x support.  From the DESCR:

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 automatically.

diffstat:

 sysutils/ansible2/DESCR    |     5 +
 sysutils/ansible2/Makefile |    63 +
 sysutils/ansible2/PLIST    |  2844 ++++++++++++++++++++++++++++++++++++++++++++
 sysutils/ansible2/distinfo |     6 +
 4 files changed, 2918 insertions(+), 0 deletions(-)

diffs (truncated from 2934 to 300 lines):

diff -r acb7611e35a0 -r 8ab650e9afd0 sysutils/ansible2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ansible2/DESCR   Wed Jun 08 14:16:25 2016 +0000
@@ -0,0 +1,5 @@
+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 automatically.
diff -r acb7611e35a0 -r 8ab650e9afd0 sysutils/ansible2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ansible2/Makefile        Wed Jun 08 14:16:25 2016 +0000
@@ -0,0 +1,63 @@
+# $NetBSD: Makefile,v 1.1 2016/06/08 14:16:25 jperkin Exp $
+
+DISTNAME=      ansible-2.1.0.0
+CATEGORIES=    python sysutils
+MASTER_SITES=  http://releases.ansible.com/ansible/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://ansible.com/
+COMMENT=       SSH-based configuration management, deployment, and task execution
+LICENSE=       gnu-gpl-v3
+
+DEPENDS+=      ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+DEPENDS+=      ${PYPKGPREFIX}-paramiko-[0-9]*:../../security/py-paramiko
+DEPENDS+=      ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
+DEPENDS+=      ${PYPKGPREFIX}-crypto>=2.6:../../security/py-crypto
+
+USE_TOOLS+=    gmake
+
+PKG_SYSCONFSUBDIR=     ansible
+EGDIR=                 ${PREFIX}/share/examples/ansible
+
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths+=    contrib/inventory/*.py
+SUBST_FILES.paths+=    docs/man/man1/*.1
+SUBST_FILES.paths+=    examples/ansible.cfg examples/hosts
+SUBST_FILES.paths+=    lib/ansible/*.py lib/ansible/*/*.py lib/ansible/*/*/*.py
+SUBST_FILES.paths+=    lib/ansible/*/*/*/*.py
+SUBST_MESSAGE.paths=   Fixing hardcoded paths.
+SUBST_SED.paths=       -e "s,/usr/share/ansible,${PREFIX}/share/ansible,g"
+SUBST_SED.paths+=      -e "s,/etc/ansible,${PKG_SYSCONFDIR},g"
+
+SUBST_CLASSES+=                pybin
+SUBST_STAGE.pybin=     pre-configure
+SUBST_FILES.pybin=     Makefile
+SUBST_MESSAGE.pybin=   Fixing path to PYTHONBIN.
+SUBST_SED.pybin=       -e "s,PYTHON=python,PYTHON=${PYTHONBIN},"
+
+REPLACE_PYTHON=                lib/ansible/*/*.py lib/ansible/*/*/*.py
+REPLACE_PYTHON+=       lib/ansible/*/*/*/*.py lib/ansible/*/*/*/*/*.py
+REPLACE_PYTHON+=       lib/ansible/*/*/*/*/*/*.py lib/ansible/*/*/*/*/*/*/*.py
+
+MANPAGES=              ansible-doc.1 ansible-galaxy.1 ansible-playbook.1 \
+                       ansible-pull.1 ansible-vault.1 ansible.1
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${PKG_SYSCONFDIR} ${EGDIR}
+OWN_DIRS=              ${PREFIX}/share/ansible
+
+CONF_FILES=            ${EGDIR}/ansible.cfg ${PKG_SYSCONFDIR}/ansible.cfg
+CONF_FILES+=           ${EGDIR}/hosts ${PKG_SYSCONFDIR}/hosts
+
+post-install:
+.for f in ${MANPAGES}
+       ${INSTALL_MAN} ${WRKSRC}/docs/man/man1/${f} \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+.endfor
+.for f in ansible.cfg hosts
+       ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${DESTDIR}/${EGDIR}
+.endfor
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r acb7611e35a0 -r 8ab650e9afd0 sysutils/ansible2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ansible2/PLIST   Wed Jun 08 14:16:25 2016 +0000
@@ -0,0 +1,2844 @@
+@comment $NetBSD: PLIST,v 1.1 2016/06/08 14:16:25 jperkin Exp $
+bin/ansible
+bin/ansible-console
+bin/ansible-doc
+bin/ansible-galaxy
+bin/ansible-playbook
+bin/ansible-pull
+bin/ansible-vault
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/ansible/__init__.py
+${PYSITELIB}/ansible/__init__.pyc
+${PYSITELIB}/ansible/__init__.pyo
+${PYSITELIB}/ansible/cli/__init__.py
+${PYSITELIB}/ansible/cli/__init__.pyc
+${PYSITELIB}/ansible/cli/__init__.pyo
+${PYSITELIB}/ansible/cli/adhoc.py
+${PYSITELIB}/ansible/cli/adhoc.pyc
+${PYSITELIB}/ansible/cli/adhoc.pyo
+${PYSITELIB}/ansible/cli/console.py
+${PYSITELIB}/ansible/cli/console.pyc
+${PYSITELIB}/ansible/cli/console.pyo
+${PYSITELIB}/ansible/cli/doc.py
+${PYSITELIB}/ansible/cli/doc.pyc
+${PYSITELIB}/ansible/cli/doc.pyo
+${PYSITELIB}/ansible/cli/galaxy.py
+${PYSITELIB}/ansible/cli/galaxy.pyc
+${PYSITELIB}/ansible/cli/galaxy.pyo
+${PYSITELIB}/ansible/cli/playbook.py
+${PYSITELIB}/ansible/cli/playbook.pyc
+${PYSITELIB}/ansible/cli/playbook.pyo
+${PYSITELIB}/ansible/cli/pull.py
+${PYSITELIB}/ansible/cli/pull.pyc
+${PYSITELIB}/ansible/cli/pull.pyo
+${PYSITELIB}/ansible/cli/vault.py
+${PYSITELIB}/ansible/cli/vault.pyc
+${PYSITELIB}/ansible/cli/vault.pyo
+${PYSITELIB}/ansible/compat/__init__.py
+${PYSITELIB}/ansible/compat/__init__.pyc
+${PYSITELIB}/ansible/compat/__init__.pyo
+${PYSITELIB}/ansible/compat/six/__init__.py
+${PYSITELIB}/ansible/compat/six/__init__.pyc
+${PYSITELIB}/ansible/compat/six/__init__.pyo
+${PYSITELIB}/ansible/compat/six/_six.py
+${PYSITELIB}/ansible/compat/six/_six.pyc
+${PYSITELIB}/ansible/compat/six/_six.pyo
+${PYSITELIB}/ansible/compat/tests/__init__.py
+${PYSITELIB}/ansible/compat/tests/__init__.pyc
+${PYSITELIB}/ansible/compat/tests/__init__.pyo
+${PYSITELIB}/ansible/compat/tests/mock.py
+${PYSITELIB}/ansible/compat/tests/mock.pyc
+${PYSITELIB}/ansible/compat/tests/mock.pyo
+${PYSITELIB}/ansible/compat/tests/unittest.py
+${PYSITELIB}/ansible/compat/tests/unittest.pyc
+${PYSITELIB}/ansible/compat/tests/unittest.pyo
+${PYSITELIB}/ansible/config/__init__.py
+${PYSITELIB}/ansible/config/__init__.pyc
+${PYSITELIB}/ansible/config/__init__.pyo
+${PYSITELIB}/ansible/constants.py
+${PYSITELIB}/ansible/constants.pyc
+${PYSITELIB}/ansible/constants.pyo
+${PYSITELIB}/ansible/errors/__init__.py
+${PYSITELIB}/ansible/errors/__init__.pyc
+${PYSITELIB}/ansible/errors/__init__.pyo
+${PYSITELIB}/ansible/errors/yaml_strings.py
+${PYSITELIB}/ansible/errors/yaml_strings.pyc
+${PYSITELIB}/ansible/errors/yaml_strings.pyo
+${PYSITELIB}/ansible/executor/__init__.py
+${PYSITELIB}/ansible/executor/__init__.pyc
+${PYSITELIB}/ansible/executor/__init__.pyo
+${PYSITELIB}/ansible/executor/module_common.py
+${PYSITELIB}/ansible/executor/module_common.pyc
+${PYSITELIB}/ansible/executor/module_common.pyo
+${PYSITELIB}/ansible/executor/play_iterator.py
+${PYSITELIB}/ansible/executor/play_iterator.pyc
+${PYSITELIB}/ansible/executor/play_iterator.pyo
+${PYSITELIB}/ansible/executor/playbook_executor.py
+${PYSITELIB}/ansible/executor/playbook_executor.pyc
+${PYSITELIB}/ansible/executor/playbook_executor.pyo
+${PYSITELIB}/ansible/executor/process/__init__.py
+${PYSITELIB}/ansible/executor/process/__init__.pyc
+${PYSITELIB}/ansible/executor/process/__init__.pyo
+${PYSITELIB}/ansible/executor/process/result.py
+${PYSITELIB}/ansible/executor/process/result.pyc
+${PYSITELIB}/ansible/executor/process/result.pyo
+${PYSITELIB}/ansible/executor/process/worker.py
+${PYSITELIB}/ansible/executor/process/worker.pyc
+${PYSITELIB}/ansible/executor/process/worker.pyo
+${PYSITELIB}/ansible/executor/stats.py
+${PYSITELIB}/ansible/executor/stats.pyc
+${PYSITELIB}/ansible/executor/stats.pyo
+${PYSITELIB}/ansible/executor/task_executor.py
+${PYSITELIB}/ansible/executor/task_executor.pyc
+${PYSITELIB}/ansible/executor/task_executor.pyo
+${PYSITELIB}/ansible/executor/task_queue_manager.py
+${PYSITELIB}/ansible/executor/task_queue_manager.pyc
+${PYSITELIB}/ansible/executor/task_queue_manager.pyo
+${PYSITELIB}/ansible/executor/task_result.py
+${PYSITELIB}/ansible/executor/task_result.pyc
+${PYSITELIB}/ansible/executor/task_result.pyo
+${PYSITELIB}/ansible/galaxy/__init__.py
+${PYSITELIB}/ansible/galaxy/__init__.pyc
+${PYSITELIB}/ansible/galaxy/__init__.pyo
+${PYSITELIB}/ansible/galaxy/api.py
+${PYSITELIB}/ansible/galaxy/api.pyc
+${PYSITELIB}/ansible/galaxy/api.pyo
+${PYSITELIB}/ansible/galaxy/data/metadata_template.j2
+${PYSITELIB}/ansible/galaxy/data/readme
+${PYSITELIB}/ansible/galaxy/data/test_playbook.j2
+${PYSITELIB}/ansible/galaxy/data/travis.j2
+${PYSITELIB}/ansible/galaxy/login.py
+${PYSITELIB}/ansible/galaxy/login.pyc
+${PYSITELIB}/ansible/galaxy/login.pyo
+${PYSITELIB}/ansible/galaxy/role.py
+${PYSITELIB}/ansible/galaxy/role.pyc
+${PYSITELIB}/ansible/galaxy/role.pyo
+${PYSITELIB}/ansible/galaxy/token.py
+${PYSITELIB}/ansible/galaxy/token.pyc
+${PYSITELIB}/ansible/galaxy/token.pyo
+${PYSITELIB}/ansible/inventory/__init__.py
+${PYSITELIB}/ansible/inventory/__init__.pyc
+${PYSITELIB}/ansible/inventory/__init__.pyo
+${PYSITELIB}/ansible/inventory/dir.py
+${PYSITELIB}/ansible/inventory/dir.pyc
+${PYSITELIB}/ansible/inventory/dir.pyo
+${PYSITELIB}/ansible/inventory/expand_hosts.py
+${PYSITELIB}/ansible/inventory/expand_hosts.pyc
+${PYSITELIB}/ansible/inventory/expand_hosts.pyo
+${PYSITELIB}/ansible/inventory/group.py
+${PYSITELIB}/ansible/inventory/group.pyc
+${PYSITELIB}/ansible/inventory/group.pyo
+${PYSITELIB}/ansible/inventory/host.py
+${PYSITELIB}/ansible/inventory/host.pyc
+${PYSITELIB}/ansible/inventory/host.pyo
+${PYSITELIB}/ansible/inventory/ini.py
+${PYSITELIB}/ansible/inventory/ini.pyc
+${PYSITELIB}/ansible/inventory/ini.pyo
+${PYSITELIB}/ansible/inventory/script.py
+${PYSITELIB}/ansible/inventory/script.pyc
+${PYSITELIB}/ansible/inventory/script.pyo
+${PYSITELIB}/ansible/inventory/vars_plugins/__init__.py
+${PYSITELIB}/ansible/inventory/vars_plugins/__init__.pyc
+${PYSITELIB}/ansible/inventory/vars_plugins/__init__.pyo
+${PYSITELIB}/ansible/inventory/vars_plugins/noop.py
+${PYSITELIB}/ansible/inventory/vars_plugins/noop.pyc
+${PYSITELIB}/ansible/inventory/vars_plugins/noop.pyo
+${PYSITELIB}/ansible/inventory/yaml.py
+${PYSITELIB}/ansible/inventory/yaml.pyc
+${PYSITELIB}/ansible/inventory/yaml.pyo
+${PYSITELIB}/ansible/module_utils/__init__.py
+${PYSITELIB}/ansible/module_utils/__init__.pyc
+${PYSITELIB}/ansible/module_utils/__init__.pyo
+${PYSITELIB}/ansible/module_utils/a10.py
+${PYSITELIB}/ansible/module_utils/a10.pyc
+${PYSITELIB}/ansible/module_utils/a10.pyo
+${PYSITELIB}/ansible/module_utils/api.py
+${PYSITELIB}/ansible/module_utils/api.pyc
+${PYSITELIB}/ansible/module_utils/api.pyo
+${PYSITELIB}/ansible/module_utils/azure_rm_common.py
+${PYSITELIB}/ansible/module_utils/azure_rm_common.pyc
+${PYSITELIB}/ansible/module_utils/azure_rm_common.pyo
+${PYSITELIB}/ansible/module_utils/basic.py
+${PYSITELIB}/ansible/module_utils/basic.pyc
+${PYSITELIB}/ansible/module_utils/basic.pyo
+${PYSITELIB}/ansible/module_utils/cloudstack.py
+${PYSITELIB}/ansible/module_utils/cloudstack.pyc
+${PYSITELIB}/ansible/module_utils/cloudstack.pyo
+${PYSITELIB}/ansible/module_utils/database.py
+${PYSITELIB}/ansible/module_utils/database.pyc
+${PYSITELIB}/ansible/module_utils/database.pyo
+${PYSITELIB}/ansible/module_utils/docker_common.py
+${PYSITELIB}/ansible/module_utils/docker_common.pyc
+${PYSITELIB}/ansible/module_utils/docker_common.pyo
+${PYSITELIB}/ansible/module_utils/ec2.py
+${PYSITELIB}/ansible/module_utils/ec2.pyc
+${PYSITELIB}/ansible/module_utils/ec2.pyo
+${PYSITELIB}/ansible/module_utils/eos.py
+${PYSITELIB}/ansible/module_utils/eos.pyc
+${PYSITELIB}/ansible/module_utils/eos.pyo
+${PYSITELIB}/ansible/module_utils/f5.py
+${PYSITELIB}/ansible/module_utils/f5.pyc
+${PYSITELIB}/ansible/module_utils/f5.pyo
+${PYSITELIB}/ansible/module_utils/facts.py
+${PYSITELIB}/ansible/module_utils/facts.pyc
+${PYSITELIB}/ansible/module_utils/facts.pyo
+${PYSITELIB}/ansible/module_utils/gce.py
+${PYSITELIB}/ansible/module_utils/gce.pyc
+${PYSITELIB}/ansible/module_utils/gce.pyo
+${PYSITELIB}/ansible/module_utils/ios.py
+${PYSITELIB}/ansible/module_utils/ios.pyc
+${PYSITELIB}/ansible/module_utils/ios.pyo
+${PYSITELIB}/ansible/module_utils/iosxr.py
+${PYSITELIB}/ansible/module_utils/iosxr.pyc
+${PYSITELIB}/ansible/module_utils/iosxr.pyo
+${PYSITELIB}/ansible/module_utils/ismount.py
+${PYSITELIB}/ansible/module_utils/ismount.pyc
+${PYSITELIB}/ansible/module_utils/ismount.pyo
+${PYSITELIB}/ansible/module_utils/junos.py
+${PYSITELIB}/ansible/module_utils/junos.pyc
+${PYSITELIB}/ansible/module_utils/junos.pyo
+${PYSITELIB}/ansible/module_utils/known_hosts.py
+${PYSITELIB}/ansible/module_utils/known_hosts.pyc
+${PYSITELIB}/ansible/module_utils/known_hosts.pyo
+${PYSITELIB}/ansible/module_utils/mysql.py
+${PYSITELIB}/ansible/module_utils/mysql.pyc
+${PYSITELIB}/ansible/module_utils/mysql.pyo
+${PYSITELIB}/ansible/module_utils/netcfg.py
+${PYSITELIB}/ansible/module_utils/netcfg.pyc
+${PYSITELIB}/ansible/module_utils/netcfg.pyo
+${PYSITELIB}/ansible/module_utils/nxos.py
+${PYSITELIB}/ansible/module_utils/nxos.pyc
+${PYSITELIB}/ansible/module_utils/nxos.pyo
+${PYSITELIB}/ansible/module_utils/openstack.py
+${PYSITELIB}/ansible/module_utils/openstack.pyc
+${PYSITELIB}/ansible/module_utils/openstack.pyo
+${PYSITELIB}/ansible/module_utils/openswitch.py
+${PYSITELIB}/ansible/module_utils/openswitch.pyc



Home | Main Index | Thread Index | Old Index