Skip to main content

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
         ...
        
    • then, exec: ansible-playbook bootstrap.yaml -i hosts --user ${sudoer} --check
    • finally, exec: ansible-playbook bootstrap.yaml -i hosts --user {sudoer}
  • 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


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.21.tar.gz (7.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page