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?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b14dcaa1-6499-4201-b257-c4f28b1bed23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to