---
galaxy_info:
  description: Install custom OpenStack Mistral, patched by StackStorm
  author: armab
  company: StackStorm
  license: Apache
  min_ansible_version: 1.9
  platforms:
    - name: Ubuntu
      versions:
        - trusty
        - precise
  categories:
    - system
dependencies:
  - role: ANXS.postgresql
    version: v1.2.1
    tags: [db, postgresql]
    postgresql_databases:
      - name: mistral
    postgresql_users:
      - name: mistral
        pass: StackStorm
        encrypted: yes

---
galaxy_info:
  description: Install custom OpenStack Mistral, patched by StackStorm
  author: armab
  company: StackStorm
  license: Apache
  min_ansible_version: 1.9.1
  platforms:
    - name: Ubuntu
      versions:
        - trusty
        - precise
  categories:
    - system
dependencies:
  - role: ANXS.postgresql
    version: v1.2.1
    tags: [db, postgresql]
    sudo: yes
    postgresql_databases:
      - name: mistral
    postgresql_users:
      - name: mistral
        pass: StackStorm
        encrypted: yes

Add sudo flag for ANXS.postgresql role
Add sudo flag for ANXS.postgresql role

Also make sure Ansible version is >= 1.9.1 for this flag to work, see bug: https://github.com/ansible/ansible/issues/10550
