---

- name: Create new bubble node
  hosts: bubble
  remote_user: root
  gather_facts: no

  pre_tasks:
    - name: apt install python3 and python3-pip
      raw: sudo apt-get -y install python3 python3-pip virtualenv

    - name: pip install setuptools and psycopg2-binary
      raw: sudo pip3 install setuptools psycopg2-binary

    - name: gather facts
      setup:

  roles:
{{#each roles}}    - {{this}}
{{/each}}
