Skip to content
Snippets Groups Projects
Commit 56711f87 authored by jurgenhaas's avatar jurgenhaas
Browse files

Replace deprecated "sudo" with "become"

parent b70e5391
Branches
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@
repo={{ item.src.url }}
dest=/var/www/{{ item.src.target }}
force=yes
sudo: no
become: no
with_items: drupal_settings
when: item.root in drupal_missing_repos.stdout_lines and item.src.mode == 'svn'
notify:
......@@ -51,7 +51,7 @@
- name: "Drupal | Drush | Install and update Drupal trees from Drush Make"
shell: drush make --force-complete '/var/www/drush/{{ item.src.makefile }}.make' . chdir='/var/www/{{ item.root }}'
sudo: no
become: no
with_items: drupal_settings
when: item.root in drupal_missing_repos.stdout_lines and item.src.mode == 'drush'
notify:
......@@ -65,7 +65,7 @@
dest: "{{ item.src.git.target }}"
force: "yes"
version: "{{ item.src.git.branch|default(omit) }}"
sudo: false
become: false
with_items: drupal_settings
when: item.root in drupal_missing_repos.stdout_lines and item.src.mode == 'gitscript'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment