In Bash I usually install Composer this way:
curl -sS https://getcomposer.org/installer -o composer-setup.php php composer-setup.php --install-dir=/usr/local/bin --filename=composer
I tried to read in the Ansible Composer module documentation just for a hint on what is the recommended way to install Composer with Ansible but I found none.
I just want to make sure that each time I install Composer it will be installed by the latest installation-command aside from being continuously upgraded by Ansible from my machine via SSH.
How could I do it in a Ansible "
state: latest" way (as common with Ansible's