--- - name: uninstall lam yum: name: - ldap-account-manager state: removed - name: clean lam folder file: path: "{{ item }}" state: absent with_items: - /usr/share/ldap-account-manager - /var/lib/ldap-account-manager # notify: restart_httpd # - name: delete apache config file # file: # path: /etc/httpd/conf.d/lam.apache.conf # state: absent # notify: restart_http