Skip to content

Commit

Permalink
Merge pull request #376 from SkynetLabs/fix-split
Browse files Browse the repository at this point in the history
Fix splitting a string
  • Loading branch information
firyx authored Sep 5, 2022
2 parents 8f210ed + 190c545 commit af739e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{{
inventory_hostname
if ansible_host == portal_domain | default(webportal_common_config.portal_cluster_domain)
else mongo_shell_result.transformed_output | split('.') | first
else mongo_shell_result.transformed_output.split('.') | first
}}
- name: Fail if primary node was not found
Expand Down

0 comments on commit af739e4

Please sign in to comment.