109:875d9d6e6c05
Anton Shestakov <av6@dwimlabs.net>, Thu, 21 Jul 2016 17:16:20 +0800
provision: if wsgi stuff had any updates, also restart fruitbar

previous change 108:f24c7fee1b0d

provision/playbook.yml

Permissions: -rw-r--r--

Other formats: Feeds:
---
- hosts: all
become: yes
vars:
umbrella: localhost
pre_tasks:
- lineinfile:
dest: /etc/hosts
line: '127.0.0.1 fruitbar.{{ umbrella }}'
when: ansible_virtualization_type == "virtualbox"
- apt:
update_cache: yes
cache_valid_time: 3600
roles:
- role: fruitbar
...