- hosts: 127.0.0.1
  roles:
    - desktop
    - awesome
    - phpfarm
    - postgresql
    - rabbitmq
  tasks:
    - shell: curl -sS https://getcomposer.org/installer | /opt/phpfarm/inst/current/bin/php -- --install-dir=/usr/local/bin --filename=composer
      args:
        creates: /usr/local/bin/composer

    - file: name=/var/www/html/adminer state=directory

    - get_url: url=http://www.adminer.org/latest.php dest=/var/www/html/adminer/index.php

    - yum: name=community-mysql-server state=present


- hosts: 127.0.0.1
  roles:
    - desktop
    - awesome
    - phpfarm
    - postgresql
    - rabbitmq
  tasks:
      #     - shell: curl -sS https://getcomposer.org/installer | /opt/phpfarm/inst/current/bin/php -- --install-dir=/usr/local/bin --filename=composer
      #       args:
      #         creates: /usr/local/bin/composer

    - file: name=/var/www/html/adminer state=directory

    - get_url: url=http://www.adminer.org/latest.php dest=/var/www/html/adminer/index.php

    - yum: name=community-mysql-server state=present


Disable composer as it causing errors because of disabled phpfarm
Disable composer as it causing errors because of disabled phpfarm
