From f0387aaed195e2c360b47d627798bd0c33b473ee Mon Sep 17 00:00:00 2001 From: Bas Meijer Date: Fri, 3 Nov 2023 14:17:06 +0100 Subject: [PATCH] Adding become to template task --- .../jfrog/platform/roles/artifactory/tasks/install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/Ansible/ansible_collections/jfrog/platform/roles/artifactory/tasks/install.yml b/Ansible/ansible_collections/jfrog/platform/roles/artifactory/tasks/install.yml index 20f231ee..def4c965 100644 --- a/Ansible/ansible_collections/jfrog/platform/roles/artifactory/tasks/install.yml +++ b/Ansible/ansible_collections/jfrog/platform/roles/artifactory/tasks/install.yml @@ -169,6 +169,7 @@ notify: Restart artifactory - name: Set up Artifactory admin account + become: true ansible.builtin.template: src: bootstrap.creds.j2 dest: "{{ artifactory_home }}/var/etc/access/bootstrap.creds"