Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
iac-stack
terraform-zookeeper
Commits
d7e4aea6
Commit
d7e4aea6
authored
2 years ago
by
张杰龙
Browse files
Options
Download
Email Patches
Plain Diff
zookeeper
parent
7dcb386f
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
alicloud-ecs-zookeeper/ansible/main.yml
+4
-5
alicloud-ecs-zookeeper/ansible/main.yml
with
4 additions
and
5 deletions
+4
-5
alicloud-ecs-zookeeper/ansible/main.yml
+
4
-
5
View file @
d7e4aea6
---
-
name
:
Install zookeeper
hosts
:
zookeeper
-
hosts
:
zookeeper
gather_facts
:
no
tasks
:
-
name
:
等待连接
wait_for_connection
:
sleep
:
1
0
sleep
:
1
timeout
:
"
{{
wait_connection_timeout
}}"
-
name
:
set ssh password open
ignore_errors
:
yes
...
...
@@ -14,7 +13,7 @@
shell
:
sudo service sshd restart
-
name
:
set root user password
ignore_errors
:
yes
user
:
name=root password={{ root_password | password_hash('sha512') }
user
:
name=root password={{ root_password | password_hash('sha512') }
}
vars
:
-
softwareIp
:
"
{{
software_ip
}}"
-
softwareIpPath
:
http://{{ softwareIp }}/{{ sSoftwarePath }}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets