--- - name: delete link file: path: /var/www/html/phpmyadmin state: absent - name: delete phpmyadmin folder file: path: "/var/www/html/{{ phpmyadmin_version }}" state: absent - name: delete httpd config file file: path: /etc/httpd/conf.d/http-phpmyadmin.conf state: absent # notify: restart_httpd