Hello,
I’ve got a Vagrant Ubuntu 14.04 machine provisioned with:
`
sudo apt-get install -y software-properties-common
sudo apt-add-repository ppa:ansible/ansible
sudo apt-get update
sudo apt-get install -y ansible
`
This gives me:
`
vagrant@ubuntu:~$ ansible --version
ansible 2.2.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
`
I have these tasks:
`
tasks:
-
name: install hashlib for checksums
easy_install:
name: hashlib -
name: install php
get_url:
url: http://us1.php.net/distributions/php-7.1.1.tar.bz2
dest: /var/tmp/
checksum: “sha256:d791d39d7b54ec42441a05a5f06d68a495647d843210e3ae4f2c6adb99c675bc”
`
However, I receive the following error message:
`
TASK: [install hashlib for checksums] *****************************************
ok: [default]
TASK: [install php] ***********************************************************
failed: [default] => {“failed”: true}
msg: unsupported parameter for module: checksum
FATAL: all hosts have already failed – aborting
`
The documentation for get_url indicates that checksum has been supported since 2.0.
What might I be missing?