mirror of
https://github.com/optim-enterprises-bv/meta-overc.git
synced 2026-01-17 18:41:07 +00:00
Since v2.2 the upstream ansible project has indicated that it could be used with python3. Create a common .inc file and break out py and py3 recipe files to allow either to be built. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
32 lines
1.1 KiB
PHP
32 lines
1.1 KiB
PHP
DESCRIPTION = "Ansible is a simple IT automation platform that makes your applications and systems easier to deploy."
|
|
HOMEPAGE = "https://github.com/ansible/ansible/"
|
|
SECTION = "devel/python"
|
|
LICENSE = "GPLv3"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a"
|
|
|
|
SRCNAME = "ansible"
|
|
|
|
SRC_URI = "http://releases.ansible.com/ansible/${SRCNAME}-${PV}.tar.gz"
|
|
|
|
SRC_URI[md5sum] = "b1be8f05864a07c06b8a767dcd48ba1b"
|
|
SRC_URI[sha256sum] = "cd4b8f53720fcd0c351156b840fdd15ecfbec22c951b5406ec503de49d40b9f5"
|
|
|
|
|
|
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
|
|
|
do_install_append() {
|
|
# install hosts and conf
|
|
install -d ${D}/${sysconfdir}/ansible
|
|
|
|
# There is no default inventory configuration installed for ansible,
|
|
# so we use the example as a template to improve OOBE.
|
|
install ${S}/examples/hosts ${D}/${sysconfdir}/ansible/
|
|
install ${S}/examples/ansible.cfg ${D}/${sysconfdir}/ansible/
|
|
|
|
# do not gather machine's information, which could reduce setup time
|
|
sed -i "s|^#gathering = implicit|gathering = explicit|g" \
|
|
${D}/${sysconfdir}/ansible/ansible.cfg
|
|
}
|
|
|
|
CLEANBROKEN = "1"
|