blob: 69c503f5481b0d58b642163cbd4c7ce4ac932f70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
$NetBSD: patch-examples_ansible.cfg,v 1.4 2015/06/25 13:21:03 jperkin Exp $
Fix hardcoded paths to be replaced with SUBST framework.
--- examples/ansible.cfg.orig 2014-07-25 20:48:49.000000000 +0000
+++ examples/ansible.cfg
@@ -4,15 +4,15 @@
# nearly all parameters can be overridden in ansible-playbook
# or with command line flags. ansible will read ANSIBLE_CONFIG,
# ansible.cfg in the current working directory, .ansible.cfg in
-# the home directory or /etc/ansible/ansible.cfg, whichever it
+# the home directory or @PKG_SYSCONFDIR@/ansible/ansible.cfg, whichever it
# finds first
[defaults]
# some basic default values...
-hostfile = /etc/ansible/hosts
-library = /usr/share/ansible
+hostfile = @PKG_SYSCONFDIR@/ansible/hosts
+library = @PREFIX@/share/ansible
remote_tmp = $HOME/.ansible/tmp
pattern = *
forks = 5
@@ -103,12 +103,12 @@ ansible_managed = Ansible managed: {file
#deprecation_warnings = True
# set plugin path directories here, separate with colons
-action_plugins = /usr/share/ansible_plugins/action_plugins
-callback_plugins = /usr/share/ansible_plugins/callback_plugins
-connection_plugins = /usr/share/ansible_plugins/connection_plugins
-lookup_plugins = /usr/share/ansible_plugins/lookup_plugins
-vars_plugins = /usr/share/ansible_plugins/vars_plugins
-filter_plugins = /usr/share/ansible_plugins/filter_plugins
+action_plugins = @PREFIX@/share/ansible_plugins/action_plugins
+callback_plugins = @PREFIX@/share/ansible_plugins/callback_plugins
+connection_plugins = @PREFIX@/share/ansible_plugins/connection_plugins
+lookup_plugins = @PREFIX@/share/ansible_plugins/lookup_plugins
+vars_plugins = @PREFIX@/share/ansible_plugins/vars_plugins
+filter_plugins = @PREFIX@/share/ansible_plugins/filter_plugins
# don't like cows? that's unfortunate.
# set to 1 if you don't want cowsay support or export ANSIBLE_NOCOWS=1
|