---

- hosts: all
  sudo: true
  vars:
    curl_configure_flags:
      - disable-shared
      - with-ssl
    install_ivm: true
    install_iojs: true
    node_version: 7.9.0
    node_versions:
      - 1.0.0
      - 2.0.0
      - 3.0.0
      - 4.0.0
      - 5.0.0
      - 6.0.0
      - 7.0.0
    node_packages:
      - grunt
  tasks:
    - name: Install dependencies.
      package:
        name:: "{{ item }}"
        state: installed
      with_items:
        - curl
        - git
        - git-svn
        - rsync
        - openssh-server
        - openssh-client
        - python
        - python-dev
        - unzip
        - tar
        - gtar
        - gzip
        - wget
        - gettext-devel
        - expat-devel
        - curl-devel
        - zlib-devel
        - perl-devel
        - openssl-devel
        - subversion-perl
        - make
        - libcurl4-gnutls-dev
        - libexpat1-dev
        - gettext
        - libssl-dev
        - build-essential
        - zip
        - sudo
      failed_when: false
  roles:
    - geerlingguy.git
#    - fubarhouse.curl
    - role_under_test

---

- hosts: all
  sudo: true
  vars:
    curl_configure_flags:
      - disable-shared
      - with-ssl
    install_ivm: true
    install_iojs: true
    node_version: 7.9.0
    node_versions:
      - 1.0.0
      - 2.0.0
      - 3.0.0
      - 4.0.0
      - 5.0.0
      - 6.0.0
      - 7.0.0
    node_packages:
      - grunt
  tasks:
    - name: Install dependencies.
      package:
        name:: "{{ item }}"
        state: installed
      with_items:
        - curl
        - git
        - git-svn
        - rsync
        - openssh-server
        - openssh-client
        - python
        - python-dev
        - unzip
        - tar
        - gtar
        - gzip
        - wget
        - gettext-devel
        - expat-devel
        - curl-devel
        - zlib-devel
        - perl-devel
        - openssl-devel
        - subversion-perl
        - make
        - libcurl4-gnutls-dev
        - libexpat1-dev
        - gettext
        - libssl-dev
        - build-essential
        - zip
        - sudo
      failed_when: false
  roles:
    - geerlingguy.git
    - fubarhouse.curl
    - role_under_test

Revert "remove curl role again"
Revert "remove curl role again"

This reverts commit 21e919ff66bfa5462f4024865e75f4db3d6ef3e6.
