sudoedit.yml 580 B

12345678910111213141516171819202122
  1. ---
  2. - hosts: local
  3. vars:
  4. release: focal
  5. user_permission: vidikon
  6. stream_multicast_link: 'udp://@224.0.0.230:8001'
  7. icon_patch: /home/{{ user_permission }}/icons
  8. shortcut_ico_path: "{{ icon_patch }}/stream-icon.png"
  9. become: true
  10. gather_facts: no
  11. tasks:
  12. - name: Allow tcpdump
  13. community.general.sudoers:
  14. name: allow-tcpdump
  15. state: present
  16. user: vidikon
  17. commands: /usr/bin/tcpdump
  18. nopassword: true
  19. validation: absent