- name: Create config for Zabbix copy: src=ssl.conf dest=/etc/zabbix/zabbix_agentd.d/ssl.conf notify: - restart zabbix-agent - name: Create ssl scripts directory file: path: /etc/zabbix/scripts/ssl state: directory mode: 0700 - name: Create script for Zabbix copy: src: check_ssl_https.sh dest: /etc/zabbix/scripts/ssl/check_ssl_https.sh mode: 0700 backup: yes - name: Create script for Zabbix copy: src: disc_ssl_https.sh dest: /etc/zabbix/scripts/ssl/disc_ssl_https.sh mode: 0700 backup: yes - name: Create script for Zabbix copy: src: domains_list.txt dest: /etc/zabbix/scripts/ssl/domains_list.txt mode: 0600 backup: yes