107:7dee6d151401
Anton Shestakov <av6@dwimlabs.net>, Thu, 21 Jul 2016 17:12:40 +0800
provision: use become instead of sudo

next change 108:f24c7fee1b0d
previous change 66:4f361ef1d737

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
...