文件名称:CoreOS主机启动程序Coreos-bootstrap.zip
文件大小:980KB
文件格式:ZIP
更新时间:2022-08-07 21:48:59
开源项目
Coreos-bootstrap 是使用 Ansible 来启动 CoreOS 主机。配置示例:[coreos] host-01 host-02 [coreos:vars] ansible_ssh_user=core ansible_python_interpreter="PATH=/home/core/bin:$PATH python"启动演示- hosts: coreos gather_facts: False roles: - defunctzombie.coreos-bootstrap示例- name: Nginx Example hosts: web sudo: true tasks: - name: Start etcd service: name=etcd.service state=started - name: Install docker-py pip: name=docker-py - name: pull container raw: docker pull nginx:1.7.1 - name: launch nginx container docker: image="nginx:1.7.1" name="example-nginx" ports="8080:80" state=running
【文件预览】:
ansible-coreos-bootstrap-master
----.travis.yml(351B)
----tasks()
--------main.yml(782B)
----tests()
--------test.yml(49B)
----LICENSE(1KB)
----README.md(2KB)
----files()
--------bootstrap.sh(860B)
--------runner(93B)
--------get-pip.py(1.28MB)
----.editorconfig(235B)
----meta()
--------main.yml(185B)