git: fde71f1df237 - main - ansible.mk: Define ANSIBLE_ETCDIR

Mateusz Piotrowski 0mp at FreeBSD.org
Mon May 17 14:58:17 UTC 2021


The branch main has been updated by 0mp:

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

commit fde71f1df2371b72c1c03b9d84f3e7abbe37c1ab
Author:     Mateusz Piotrowski <0mp at FreeBSD.org>
AuthorDate: 2021-05-17 14:15:08 +0000
Commit:     Mateusz Piotrowski <0mp at 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


More information about the dev-commits-ports-all mailing list