From e0c74e4f95a06a6955b9ceee974a7c0f19ec173f Mon Sep 17 00:00:00 2001 From: jefferyfry Date: Tue, 25 Aug 2020 15:47:47 -0700 Subject: [PATCH] Changed RT services to start. --- .../jfrog/installers/roles/artifactory/tasks/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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