This PR implements a check for the existence for conda curl before attempting removal. Attempting to remove conda curl if it does not exist creates an error and causes this role to not be idempotent:
$ conda remove curl
Solving environment: failed
PackagesNotFoundError: The following packages are missing from the target environment:
- curl
$ echo $?
1
Closes #7 and #8.
This PR implements a check for the existence for conda curl before attempting removal. Attempting to remove conda curl if it does not exist creates an error and causes this role to not be idempotent: