roles/ipareplica/library/ipareplica_enable_ipa.py: Do not use textwrap

This commit is contained in:
Thomas Woerner
2019-05-31 17:33:54 +02:00
parent dd321b2065
commit 6b4f0f62de

View File

@@ -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 #