- 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
Metadata
Release files for swbootstrap 0.0.23
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| swbootstrap-0.0.23.tar.gz | 7.8 kB | Without provenance | Details for swbootstrap-0.0.23.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| swbootstrap-0.0.23-py3-none-any.whl | Python 3 | none | any | Details for swbootstrap-0.0.23-py3-none-any.whl |
Total release size: 16.8 kB
Release files / swbootstrap-0.0.23.tar.gz
| Download URL | swbootstrap-0.0.23.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1c469ace9bd1e22e5391149b4692b90f402e2162c2dc3b0fe34272f8f3cce4b
|
|
BLAKE2b-256 checksum How to use checksums |
d92091b97ff8c011ad73e4942e1072b2a6a3255b07964b4027af5bce10382352
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.7
|
Release files / swbootstrap-0.0.23-py3-none-any.whl
| Download URL | swbootstrap-0.0.23-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65da29e197fe42afe537d41920525daf9f247cd3e9856b360754d32746355dd0
|
|
BLAKE2b-256 checksum How to use checksums |
bc72dba493e4a8437587ab471d1bcda67b320cdd0e994fddcbbdfb4c6a1d0e1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.10
|
Security for swbootstrap 0.0.23
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.