diff --git a/roles/ipa/server/tasks/main.yml b/roles/ipa/server/tasks/main.yml index 6919eb7d19..3c5be612c5 100644 --- a/roles/ipa/server/tasks/main.yml +++ b/roles/ipa/server/tasks/main.yml @@ -177,7 +177,9 @@ # This will clean the previous installation and allows # the replica to be deployed. - name: clean client installation - command: ipa-server-install --uninstall + command: ipa-server-install + --uninstall + --unattended when: ansible_distribution_major_version|int >= 9 - name: deploy replica