diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/install.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/install.yml index a97d554..b704b05 100644 --- a/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/install.yml +++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/install.yml @@ -149,7 +149,7 @@ - name: start and enable the primary node service: name: artifactory - state: restarted + state: started become: yes when: artifactory_is_primary == true @@ -161,6 +161,6 @@ - name: start and enable the secondary nodes service: name: artifactory - state: restarted + state: started become: yes when: artifactory_is_primary == false