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

38 lines
1.3 KiB
Plaintext

$NetBSD: patch-docs_man_man1_ansible-playbook-asciidoc,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.asciidoc.in.orig 2015-06-25 20:39:08.000000000 +0000
+++ docs/man/man1/ansible-playbook.1.asciidoc.in
@@ -42,13 +42,13 @@ up to three times for more output.
*-i* 'PATH', *--inventory=*'PATH'::
The 'PATH' to the inventory hosts file, which defaults to
-'/etc/ansible/hosts'.
+'@PKG_SYSCONFDIR@/ansible/hosts'.
*-M* 'DIRECTORY', *--module-path=*'DIRECTORY'::
The 'DIRECTORY' search path to load modules from. The default is
-'/usr/share/ansible'. This can also be set with the ANSIBLE_LIBRARY
+'@PREFIX@/share/ansible'. This can also be set with the ANSIBLE_LIBRARY
environment variable.
*-e* 'VARS', *--extra-vars=*'VARS'::
@@ -140,11 +140,11 @@ ANSIBLE_LIBRARY -- Override the default
FILES
-----
-/etc/ansible/hosts -- Default inventory file
+@PKG_SYSCONFDIR@/ansible/hosts -- Default inventory file
-/usr/share/ansible/ -- Default module library
+@PREFIX@/share/ansible/ -- Default module library
-/etc/ansible/ansible.cfg -- Config file, used if present
+@PKG_SYSCONFDIR@/ansible/ansible.cfg -- Config file, used if present
~/.ansible.cfg -- User config file, overrides the default config if present