plugins_custom.yml 416 B

123456789101112131415161718
  1. ---
  2. - name: Create custom plugin directory
  3. file:
  4. path: "{{ monitored_plugins_custom_path }}"
  5. state: directory
  6. owner: root
  7. group: "{{ monitored_group }}"
  8. mode: 0750
  9. - name: Copy custom plugins
  10. copy:
  11. src: "plugins_custom/{{ item }}"
  12. dest: "{{ monitored_plugins_custom_path }}"
  13. owner: root
  14. group: "{{ monitored_group }}"
  15. mode: 0750
  16. loop: "{{ monitored_plugins_custom }}"