--- a/provision/playbook.yml Thu Jul 21 17:12:00 2016 +0800
+++ b/provision/playbook.yml Thu Jul 21 17:12:40 2016 +0800
--- a/provision/roles/fruitbar/tasks/main.yml Thu Jul 21 17:12:00 2016 +0800
+++ b/provision/roles/fruitbar/tasks/main.yml Thu Jul 21 17:12:40 2016 +0800
when: ansible_distribution_release == 'jessie'
- include: appinstall.yml
- sudo_user: '{{ user }}'
+ become_user: '{{ user }}'
- name: Add supervisor app
template: src=etc/supervisor/conf.d/fruitbar.conf dest=/etc/supervisor/conf.d/fruitbar.conf