--- - name: Copy /etc/hosts template: src={{ conf_path }}/all/etc/hosts dest=/etc/hosts backup=yes - name: Copy /etc/hostname template: src={{ conf_path }}/all/etc/hostname dest=/etc/hostname backup=yes - name: Copy /etc/ntp.conf copy: src={{ conf_path }}/all/etc/ntp.conf dest=/etc/ntp.conf tags: ntp notify: - restart ntp - name: Start the ntp service service: name=ntp state=started enabled=true tags: ntp - name: Copy /etc/exim4/update-exim4.conf.conf template: src={{ conf_path }}/all/etc/exim4/update-exim4.conf.conf dest=/etc/exim4/update-exim4.conf.conf backup=yes notify: - restart exim4 - name: Copy /root/.bashrc copy: src={{ conf_path }}/all/root/.bashrc dest=/root/ - name: Copy /home/user/.bashrc copy: src={{ conf_path }}/all/home/user/.bashrc dest=/home/user/ - name: Copy /etc/zabbix/zabbix_agentd.conf template: src={{ conf_path }}/all/etc/zabbix/zabbix_agentd.conf dest=/etc/zabbix/zabbix_agentd.conf backup=yes - name: Copy /etc/zabbix/zabbix_agentd.d copy: src="{{ conf_path }}/all/etc/zabbix/zabbix_agentd.d" dest=/etc/zabbix owner=zabbix group=zabbix notify: - restart zabbix - name: Copy /etc/zabbix/scripts copy: src="{{ conf_path }}/all/etc/zabbix/scripts" dest=/etc/zabbix owner=zabbix group=zabbix mode=540 notify: - restart zabbix