Add become to all become_user tasks.
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
shell: "ln -sf /usr/lib/jvm {{ jdk_dir }}"
|
||||
args:
|
||||
creates: "{{ jdk_dir }}"
|
||||
become: true
|
||||
become_user: "{{ user }}"
|
||||
|
||||
when: coding is true
|
||||
|
||||
Reference in New Issue
Block a user