[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
211/377: gnu: ansible: Update to 4.4.0.
From: |
guix-commits |
Subject: |
211/377: gnu: ansible: Update to 4.4.0. |
Date: |
Sun, 5 Sep 2021 10:07:48 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 019bf9630044d99d98d34d3dcc51cf9a0017c153
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Aug 26 23:12:13 2021 -0400
gnu: ansible: Update to 4.4.0.
* gnu/packages/admin.scm (ansible): Update to 4.4.0.
[native-inputs]: Remove field.
[inputs]: Likewise.
[arguments]: Likewise.
[propagated-inputs]: New field.
[native-search-paths]: New search path.
[description]: Update description.
---
gnu/packages/admin.scm | 73 +++++++++++++++-----------------------------------
1 file changed, 21 insertions(+), 52 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 8b9cfea..63cf85f 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2600,66 +2600,35 @@ provides the following commands:
(define-public ansible
(package
(name "ansible")
- (version "2.9.18")
+ (version "4.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ansible" version))
(sha256
- (base32 "0g6rsnh02zq5nizamgakl2wvgz7hk1lpnjn9akldrcpa55vygzjm"))))
+ (base32 "031n22j0lsmh69x6i6gkva81j68b4yzh1pbg3q2h4bknl85q46ag"))))
(build-system python-build-system)
- (native-inputs
- `(("python-bcrypt" ,python-bcrypt)
- ("python-pynacl" ,python-pynacl)
- ("python-httplib2" ,python-httplib2)
- ("python-passlib" ,python-passlib)
- ("python-nose" ,python-nose)
- ("python-mock" ,python-mock)
- ("python-jinja2" ,python-jinja2)
- ("python-pyyaml" ,python-pyyaml)
- ("python-paramiko" ,python-paramiko)))
- (inputs
- `(("python-cryptography" ,python-cryptography)
- ("python-jinja2" ,python-jinja2)
- ("python-pyyaml" ,python-pyyaml)
- ("python-paramiko" ,python-paramiko)))
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; Several ansible commands (ansible-config, ansible-console, etc.)
- ;; are just symlinks to a single ansible executable. The ansible
- ;; executable behaves differently based on the value of
- ;; sys.argv[0]. This does not work well with our wrap phase, and
- ;; therefore the following two phases are required as a workaround.
- (add-after 'unpack 'hide-wrapping
- (lambda _
- ;; Overwrite sys.argv[0] to hide the wrapper script from it.
- (substitute* "bin/ansible"
- (("import traceback" all)
- (string-append all "
-import re
-sys.argv[0] = re.sub(r'\\.([^/]*)-real$', r'\\1', sys.argv[0])
-")))
- #t))
- (add-after 'install 'replace-symlinks
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Replace symlinks with duplicate copies of the ansible
- ;; executable.
- (let ((out (assoc-ref outputs "out")))
- (for-each
- (lambda (subprogram)
- (delete-file (string-append out "/bin/ansible-" subprogram))
- (copy-file (string-append out "/bin/ansible")
- (string-append out "/bin/ansible-" subprogram)))
- (list "config" "console" "doc" "galaxy"
- "inventory" "playbook" "pull" "vault")))
- #t)))))
+ (propagated-inputs
+ `(("ansible-core" ,ansible-core)))
+ ;; The Ansible collections are found by ansible-core via PYTHONPATH; the
+ ;; following search path ensures that they are found even when Python is
+ ;; not present in the profile.
+ (native-search-paths
+ ;; XXX: Attempting to use (package-native-search-paths python)
+ ;; here would cause an error about python being an unbound
+ ;; variable in the tests/cpan.scm test.
+ (list (search-path-specification
+ (variable "PYTHONPATH")
+ (files (list "lib/python3.8/site-packages")))))
(home-page "https://www.ansible.com/")
(synopsis "Radically simple IT automation")
- (description "Ansible is a radically simple IT automation system. It
-handles configuration management, application deployment, cloud provisioning,
-ad hoc task execution, and multinode orchestration---including trivializing
-things like zero-downtime rolling updates with load balancers.")
+ (description "Ansible aims to be a radically simple IT automation system.
+It handles configuration management, application deployment, cloud
+provisioning, ad-hoc task execution, network automation, and multi-node
+orchestration. Ansible facilitates complex changes like zero-downtime rolling
+updates with load balancers. This package provides a curated set of
+community-maintained Ansible collections, which contain playbooks, roles,
+modules and plugins that extend Ansible.")
(license license:gpl3+)))
(define-public debops
- 215/377: services: Remove i486 qemu target., (continued)
- 215/377: services: Remove i486 qemu target., guix-commits, 2021/09/05
- 88/377: gnu: Add r-ballgown., guix-commits, 2021/09/05
- 125/377: gnu: Add r-filehash., guix-commits, 2021/09/05
- 127/377: gnu: Add r-zooimage., guix-commits, 2021/09/05
- 148/377: gnu: Add rust-polars-arrow-0.15., guix-commits, 2021/09/05
- 155/377: gnu: rust-zstd-sys-1: Update to 1.6.1+zstd.1.5.0., guix-commits, 2021/09/05
- 178/377: gnu: man-pages: Update to 5.13., guix-commits, 2021/09/05
- 183/377: gnu: ocl-icd: Replace with opencl-icd-loader., guix-commits, 2021/09/05
- 185/377: gnu: python-pytools: Update to 2021.2.7., guix-commits, 2021/09/05
- 190/377: images: pinebook-pro: Fix the agetty baud rate., guix-commits, 2021/09/05
- 211/377: gnu: ansible: Update to 4.4.0.,
guix-commits <=
- 227/377: services: hurd-vm: Use the new 'targets' field of <bootloader-configuration>., guix-commits, 2021/09/05
- 235/377: gnu: Add python-pybbi., guix-commits, 2021/09/05
- 87/377: gnu: Add ivar., guix-commits, 2021/09/05
- 239/377: gnu: Add python-pytest-tornasync., guix-commits, 2021/09/05
- 247/377: gnu: Add python-coolbox., guix-commits, 2021/09/05
- 252/377: gnu: Add go-github-com-anaseto-gruid-tcell., guix-commits, 2021/09/05
- 253/377: gnu: harmonist: Update to 0.4.1., guix-commits, 2021/09/05
- 165/377: gnu: python-pytest-xprocess: Update to 0.18.1., guix-commits, 2021/09/05
- 171/377: gnu: Add python-strawc., guix-commits, 2021/09/05
- 174/377: gnu: postgresql-10: Update to 10.18., guix-commits, 2021/09/05