mirror of https://github.com/ansible/ansible.git
Add support to removes control param
Execute action only if specified file using param removes exist (execute reverse control of creates). Some usage eg.: ```yaml - name: enable apache2 default websites action: command /usr/sbin/a2ensite $item creates=/etc/apache2/sites-enabled/$item with_items: - default - default-ssl - name: disable apache2 default websites action: command /usr/sbin/a2dissite $item removes=/etc/apache2/sites-enabled/$item with_items: - default - default-ssl ```reviewable/pr18780/r1
parent
4223442992
commit
c5ee1e7ec9
Loading…
Reference in New Issue