Skip to content
Snippets Groups Projects
Commit 45572927 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ipa[server,replica,client]: Do not try to execute tasks after the role test

The role test is executed in the ipa[server,replica,client] roles first.
These tests are usable in the Ansible test mode, but the folllowing steps
in the task list are not. Therefore the blocks following the tests are
limited to not being executed in test mode.
parent 82588026
No related branches found
No related tags found
No related merge requests found
......@@ -295,6 +295,8 @@
nisdomain: "{{ ipaclient_nisdomain | default(omit)}}"
when: not ipaclient_no_nisdomain | bool
when: not ansible_check_mode
always:
- name: Cleanup leftover ccache
file:
......
......@@ -622,3 +622,5 @@
path: "/root/.ipa_cache"
state: absent
when: result_ipareplica_enable_ipa.changed
when: not ansible_check_mode
......@@ -388,3 +388,5 @@
{{ "--add-service=dns" if ipaserver_setup_dns | bool else "" }}
{{ "--add-service=ntp" if not ipaclient_no_ntp | bool else "" }}
when: ipaserver_setup_firewalld | bool
when: not ansible_check_mode
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment