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 ```
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| apt | Loading commit data... | |
| apt_repository | Loading commit data... | |
| assemble | Loading commit data... | |
| async_status | Loading commit data... | |
| async_wrapper | Loading commit data... | |
| authorized_key | Loading commit data... | |
| command | Loading commit data... | |
| copy | Loading commit data... | |
| easy_install | Loading commit data... | |
| facter | Loading commit data... | |
| fetch | Loading commit data... | |
| file | Loading commit data... | |
| get_url | Loading commit data... | |
| git | Loading commit data... | |
| group | Loading commit data... | |
| lineinfile | Loading commit data... | |
| mount | Loading commit data... | |
| mysql_db | Loading commit data... | |
| mysql_user | Loading commit data... | |
| nagios | Loading commit data... | |
| ohai | Loading commit data... | |
| ping | Loading commit data... | |
| pip | Loading commit data... | |
| postgresql_db | Loading commit data... | |
| postgresql_user | Loading commit data... | |
| raw | Loading commit data... | |
| seboolean | Loading commit data... | |
| selinux | Loading commit data... | |
| service | Loading commit data... | |
| setup | Loading commit data... | |
| shell | Loading commit data... | |
| slurp | Loading commit data... | |
| subversion | Loading commit data... | |
| supervisorctl | Loading commit data... | |
| template | Loading commit data... | |
| user | Loading commit data... | |
| virt | Loading commit data... | |
| wait_for | Loading commit data... | |
| yum | Loading commit data... |