Skip to content

Commit

Permalink
Allow to change "name resolve order" in the global section
Browse files Browse the repository at this point in the history
  • Loading branch information
ypid committed Aug 3, 2016
1 parent ec5302a commit 74fe16d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ v0.2.0
[ypid]

- Allow to change "name resolve order" in the global section using
:envvar:`samba__name_resolve_order`. [ypid]

v0.1.0
------

*Unreleased*

- First release. [drybjed]

8 changes: 7 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ samba__server_string: '%h file server'
samba__service_name: 'samba'


# .. envvar:: samba__name_resolve_order
#
# Resolve order of Samba.
samba__name_resolve_order: 'lmhosts host wins bcast'


# .. envvar:: samba__path
#
# Base directory of home directories and shares.
Expand Down Expand Up @@ -151,7 +157,7 @@ samba__default_global:
deadtime: '10'
wins_support: 'no'
dns_proxy: 'no'
name_resolve_order: 'lmhosts host wins bcast'
name_resolve_order: '{{ samba__name_resolve_order }}'

# Disable printing by default.
printing: 'bsd'
Expand Down

0 comments on commit 74fe16d

Please sign in to comment.