Guest User

Untitled

a guest
Aug 24th, 2018
1,990
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. - name: Bullet proof approach to edit the snmpd.conf file.
  2. lineinfile: dest=/etc/snmp/snmpd.conf line={{ item.line }}
  3. with_items:
  4. - { line: "# This file has been created by Ansible." }
  5. - { line: " " }
  6. - { line: "# sec.name source community" }
  7. - { line: "com2sec readonly default public" }
Advertisement
Add Comment
Please, Sign In to add comment