aboutsummaryrefslogtreecommitdiff
path: root/ansible/post-deploy.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/post-deploy.yml')
-rw-r--r--ansible/post-deploy.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/post-deploy.yml b/ansible/post-deploy.yml
index 019992193..acc78cd6f 100644
--- a/ansible/post-deploy.yml
+++ b/ansible/post-deploy.yml
@@ -55,7 +55,7 @@
mode: 0600
- name: Template out public-openrc-system.sh
- become: true
+ become: "{{ needs_root }}"
template:
src: "roles/common/templates/public-openrc-system.sh.j2"
dest: "{{ node_config }}/public-openrc-system.sh"