Skip to content

Commit

Permalink
Switch use of deprecated 'sudo' to 'become'.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Feb 23, 2016
1 parent 5e5025b commit 021e79f
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docker/provisioning/db/playbook.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- hosts: localhost
sudo: yes
become: yes

vars:
mysql_users:
Expand Down
2 changes: 1 addition & 1 deletion docker/provisioning/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- hosts: all
sudo: yes
become: yes

pre_tasks:
- name: Update apt cache if needed.
Expand Down
6 changes: 3 additions & 3 deletions docker/provisioning/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
name: vagrant
groups: docker
append: yes
sudo: yes
become: yes

- name: Install Pip.
apt: name=python-pip state=installed
sudo: yes
become: yes

- name: Install Docker Python library.
pip: name=docker-py state=present
sudo: yes
become: yes
2 changes: 1 addition & 1 deletion docker/provisioning/www/playbook.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- hosts: localhost
sudo: yes
become: yes

tasks:
- name: Get host IP address.
Expand Down
2 changes: 1 addition & 1 deletion gluster/playbooks/provision.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- hosts: gluster
sudo: yes
become: yes

vars_files:
- vars.yml
Expand Down
2 changes: 1 addition & 1 deletion gogs/provisioning/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
pre_tasks:
- name: Update apt cache if needed.
apt: update_cache=yes cache_valid_time=3600
sudo: yes
become: yes

roles:
- geerlingguy.firewall
Expand Down
2 changes: 1 addition & 1 deletion nodejs/provisioning/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
pre_tasks:
- name: Update apt cache if needed.
apt: update_cache=yes cache_valid_time=3600
sudo: yes
become: yes

roles:
- geerlingguy.firewall
Expand Down
2 changes: 1 addition & 1 deletion rails/provisioning/playbook.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
gather_facts: yes
sudo: yes
become: yes

vars_files:
- vars/main.yml
Expand Down

0 comments on commit 021e79f

Please sign in to comment.