IPA: fix commands for nis and compat
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
00e8e4eb25
commit
8f9076c6d7
1 changed files with 4 additions and 4 deletions
|
@ -166,8 +166,8 @@
|
||||||
- config
|
- config
|
||||||
when: ipa_initial
|
when: ipa_initial
|
||||||
register: output
|
register: output
|
||||||
changed_when: "'Plugin Disabled' in output.stdout"
|
changed_when: "'Disabling plugin' in output.stdout"
|
||||||
failed_when: "'Plugin Disabled' not in output.stderr and output.rc != 0"
|
failed_when: "'Plugin is already disabled' not in output.stderr and output.rc != 0"
|
||||||
notify:
|
notify:
|
||||||
- restart ipa
|
- restart ipa
|
||||||
|
|
||||||
|
@ -178,8 +178,8 @@
|
||||||
- config
|
- config
|
||||||
when: ipa_initial
|
when: ipa_initial
|
||||||
register: output
|
register: output
|
||||||
changed_when: "'Plugin Disabled' in output.stdout"
|
changed_when: "'Disabling plugin' in output.stdout"
|
||||||
failed_when: "'Plugin Disabled' not in output.stderr and output.rc != 0"
|
failed_when: "'Plugin is already disabled' not in output.stderr and output.rc != 0"
|
||||||
notify:
|
notify:
|
||||||
- restart ipa
|
- restart ipa
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue