Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible FreeIPA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
6b4f0f62
Commit
6b4f0f62
authored
6 years ago
by
Thomas Woerner
Browse files
Options
Downloads
Patches
Plain Diff
roles/ipareplica/library/ipareplica_enable_ipa.py: Do not use textwrap
parent
dd321b20
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/ipareplica/library/ipareplica_enable_ipa.py
+3
-3
3 additions, 3 deletions
roles/ipareplica/library/ipareplica_enable_ipa.py
with
3 additions
and
3 deletions
roles/ipareplica/library/ipareplica_enable_ipa.py
+
3
−
3
View file @
6b4f0f62
...
@@ -134,12 +134,12 @@ def main():
...
@@ -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 #
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment