No project description provided
Project description
- use origin cmd
- first, install ansible:
pip install ansible
- second, edit two hosts file at your machine,
- one is /etc/hosts,here is a content example:
10.131.0.1 agent01.starwhale.com 10.131.0.2 agent02.starwhale.com storage.starwhale.com controller.starwhale.com 10.131.0.3 agent03.starwhale.com 10.131.0.4 agent04.starwhale.com
- another one is $PWD/hosts,here is a content example:
[controller] controller.starwhale.com [storage] storage.starwhale.com [agent] agent01.starwhale.com agent02.starwhale.com agent03.starwhale.com agent04.starwhale.com ...
- one is /etc/hosts,here is a content example:
- then, exec:
ansible-playbook bootstrap.yaml -i hosts --user ${sudoer} --check
- finally, exec:
ansible-playbook bootstrap.yaml -i hosts --user {sudoer}
- first, install ansible:
- use make cmd
make install
- edit the hosts file at your machine,the same with above example
make check {sudoer}
make play {sudoer}
- pip upload tutorials
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
swbootstrap-0.0.23.tar.gz
(7.8 kB
view details)
Built Distribution
File details
Details for the file swbootstrap-0.0.23.tar.gz
.
File metadata
- Download URL: swbootstrap-0.0.23.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b1c469ace9bd1e22e5391149b4692b90f402e2162c2dc3b0fe34272f8f3cce4b
|
|
MD5 |
007b33b71de2b9092546e67c5818c9bb
|
|
BLAKE2b-256 |
d92091b97ff8c011ad73e4942e1072b2a6a3255b07964b4027af5bce10382352
|
File details
Details for the file swbootstrap-0.0.23-py3-none-any.whl
.
File metadata
- Download URL: swbootstrap-0.0.23-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
65da29e197fe42afe537d41920525daf9f247cd3e9856b360754d32746355dd0
|
|
MD5 |
9c811c6c2a9298e01accb79f44c16769
|
|
BLAKE2b-256 |
bc72dba493e4a8437587ab471d1bcda67b320cdd0e994fddcbbdfb4c6a1d0e1a
|