Skip to content

Commit

Permalink
Allow users to have a custom snmpd.conf.j2.
Browse files Browse the repository at this point in the history
The task "Configure snmpd service" now uses the lookup("template_src")
module to find the snmpd.conf.j2 template instead, to allow the user
to make a custom snmpd.conf.j2 template by setting "template-paths"
in .debops.cfg.
  • Loading branch information
tallandtree committed Jul 6, 2016
1 parent 4e15ad8 commit 1e035c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@

- name: Configure snmpd service
template:
src: 'etc/snmp/snmpd.conf.j2'
src: '{{ lookup("template_src", "etc/snmp/snmpd.conf.j2") }}'
dest: '/etc/snmp/snmpd.conf'
owner: 'root'
group: 'root'
Expand Down

0 comments on commit 1e035c2

Please sign in to comment.