Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2021 14:58:17 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fde71f1df237 - main - ansible.mk: Define ANSIBLE_ETCDIR
Message-ID:  <202105171458.14HEwHYo045302@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fde71f1df2371b72c1c03b9d84f3e7abbe37c1ab

commit fde71f1df2371b72c1c03b9d84f3e7abbe37c1ab
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-05-17 14:15:08 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-05-17 14:58:16 +0000

    ansible.mk: Define ANSIBLE_ETCDIR
    
    It is used in many Ansible ports. Let's have it defined in one place so
    that it is easier to track its use.
---
 Mk/Uses/ansible.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Mk/Uses/ansible.mk b/Mk/Uses/ansible.mk
index f4dd11b3e587..06001312c424 100644
--- a/Mk/Uses/ansible.mk
+++ b/Mk/Uses/ansible.mk
@@ -21,6 +21,7 @@
 #
 # ANSIBLE_DATADIR	- Path to the root of the directory structure where all
 #			  Ansible's modules and plugins are stored.
+# ANSIBLE_ETCDIR	- Path to the Ansible etc directory.
 # ANSIBLE_PLUGINS_PREFIX
 #			- Path to the "plugins" directory
 #			  within ${ANSIBLE_DATADIR}.
@@ -58,6 +59,7 @@ ANSIBLE_DOC_CMD?=	${LOCALBASE}/bin/ansible-doc
 ANSIBLE_RUN_DEPENDS?=	${ANSIBLE_CMD}:sysutils/ansible@${PY_FLAVOR}
 
 ANSIBLE_DATADIR?=		${PREFIX}/share/${PYTHON_PKGNAMEPREFIX}ansible
+ANSIBLE_ETCDIR?=		${PREFIX}/etc/ansible
 ANSIBLE_PLUGINS_PREFIX?=	${ANSIBLE_DATADIR}/plugins
 .if ${ansible_ARGS} == "module"
 ANSIBLE_MODULESDIR?=		${ANSIBLE_PLUGINS_PREFIX}/modules



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105171458.14HEwHYo045302>