Files
pkgsrc-ng/sysutils/ansible/patches/patch-docs_man_man1_ansible-playbook
2016-11-18 22:39:22 +01:00

40 lines
1.5 KiB
Plaintext

$NetBSD: patch-docs_man_man1_ansible-playbook,v 1.1 2016/02/17 20:31:45 he Exp $
Fix hardcoded paths to be replaced with SUBST framework.
--- docs/man/man1/ansible-playbook.1.orig 2015-06-25 20:39:08.000000000 +0000
+++ docs/man/man1/ansible-playbook.1
@@ -53,7 +53,7 @@ Verbose mode, more output from successfu
The
\fIPATH\fR
to the inventory hosts file, which defaults to
-\fI/etc/ansible/hosts\fR\&.
+\fI@PKG_SYSCONFDIR@/ansible/hosts\fR\&.
.RE
.PP
\fB\-M\fR \fIDIRECTORY\fR, \fB\-\-module\-path=\fR\fIDIRECTORY\fR
@@ -61,7 +61,7 @@ to the inventory hosts file, which defau
The
\fIDIRECTORY\fR
search path to load modules from\&. The default is
-\fI/usr/share/ansible\fR\&. This can also be set with the ANSIBLE_LIBRARY environment variable\&.
+\fI@PREFIX@/share/ansible\fR\&. This can also be set with the ANSIBLE_LIBRARY environment variable\&.
.RE
.PP
\fB\-e\fR \fIVARS\fR, \fB\-\-extra\-vars=\fR\fIVARS\fR
@@ -161,11 +161,11 @@ ANSIBLE_HOSTS \(em Override the default
ANSIBLE_LIBRARY \(em Override the default ansible module library path
.SH "FILES"
.sp
-/etc/ansible/hosts \(em Default inventory file
+@PKG_SYSCONFDIR@/ansible/hosts \(em Default inventory file
.sp
-/usr/share/ansible/ \(em Default module library
+@PREFIX@/share/ansible/ \(em Default module library
.sp
-/etc/ansible/ansible\&.cfg \(em Config file, used if present
+@PKG_SYSCONFDIR@/ansible/ansible\&.cfg \(em Config file, used if present
.sp
~/\&.ansible\&.cfg \(em User config file, overrides the default config if present
.SH "AUTHOR"