summaryrefslogtreecommitdiff
path: root/per-service
diff options
context:
space:
mode:
authorBen Copeland <ben.copeland@linaro.org>2016-02-24 17:09:26 +0000
committerBen Copeland <ben.copeland@linaro.org>2016-02-24 17:43:10 +0000
commit156e12814f59e41122917c89ef4eb66bf6128acd (patch)
tree8585d2a40c0540a005a3e3d9acc213a143b82401 /per-service
parent8b444d9afa634c527b3951b50a2962f38fa56743 (diff)
patchwork: update the patchwork role to use become
sudo is deprecated. This commit updates our patchwork playbook to use the new become method. Change-Id: I6c2fb2daacccf5c02f70619855e755fdc293f361 Reviewed-on: https://review.linaro.org/10635 Reviewed-by: Andy Doan <andy.doan+gerrit@linaro.org>
Diffstat (limited to 'per-service')
-rw-r--r--per-service/patchwork/site.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/per-service/patchwork/site.yml b/per-service/patchwork/site.yml
index 7487a27e..69c2cd8f 100644
--- a/per-service/patchwork/site.yml
+++ b/per-service/patchwork/site.yml
@@ -1,7 +1,7 @@
---
- name: Configure patches.opendataplane.org certificates
hosts: patches.opendataplane.org
- sudo: yes
+ become: yes
vars_files:
- "secrets/{{inventory_hostname}}"
roles:
@@ -10,7 +10,7 @@
- name: Configure patchwork servers
hosts: all
- sudo: yes
+ become: yes
vars_files:
- "secrets/{{inventory_hostname}}"
roles:
@@ -22,7 +22,7 @@
- name: Configure extra syncing for patches.linaro.org
hosts: patches.linaro.org
- sudo: yes
+ become: yes
tasks:
- template: src=templates/patches.cron.d dest=/etc/cron.d/patches
owner=root group=root mode=0644