--- - hosts: all tasks: - name: Installation rsyslog apt: name: - rsyslog update_cache: yes state: latest