mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-15 05:52:24 +00:00
roles/ipareplica/library/ipareplica_enable_ipa.py: Do not use textwrap
This commit is contained in:
@@ -134,12 +134,12 @@ def main():
|
|||||||
|
|
||||||
# Print a warning if CA role is only installed on one server
|
# Print a warning if CA role is only installed on one server
|
||||||
if len(ca_servers) == 1:
|
if len(ca_servers) == 1:
|
||||||
msg = textwrap.dedent(u'''
|
msg = u'''
|
||||||
WARNING: The CA service is only installed on one server ({}).
|
WARNING: The CA service is only installed on one server ({}).
|
||||||
It is strongly recommended to install it on another server.
|
It is strongly recommended to install it on another server.
|
||||||
Run ipa-ca-install(1) on another master to accomplish this.
|
Run ipa-ca-install(1) on another master to accomplish this.
|
||||||
'''.format(ca_servers[0]))
|
'''.format(ca_servers[0])
|
||||||
ansible_module.warn(msg)
|
ansible_module.debug(msg)
|
||||||
|
|
||||||
# done #
|
# done #
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user