当前位置: 首页 > 软件库 > 其他开源 > 物联网 >

ansible-homebridge

授权协议 MIT License
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 曾嘉福
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

ansible-homebridge

This role will setup and configure a Homebridge installation.

It will install Node.js.It will run homebridge in a secured systemd service as the user homebridge.It will allow you to configure your accessories and platforms using yaml.

Variables

# The homebridge version to run
homebridge_version: 1.3.4
# The homebridge user home directory
homebridge_dir: /var/homebridge
# Path to homebridge
homebridge_bin: /usr/bin/homebridge
# The homebridge environment file
homebridge_defaults: /etc/default/homebridge
# What port to run homebridge under
homebridge_port: 51826
# If homebridge should run in debug mode
homebridge_debug: false
# Insecure mode toggle needed by the homebridge UI for the accessories view
homebridge_insecure_mode: false
# Node.js version to run homebridge under
homebridge_nodejs_version: "14.x"
# Path to Node.js
homebridge_nodejs_binary: /usr/bin/node
# To configure PartOf= in homebridge systemd service
homebridge_systemd_part_of_service:
# Enable CAP_NET_RAW
homebridge_enable_cap_net_raw: false
# Homebridge config.json (see https://github.com/nfarina/homebridge/blob/master/config-sample.json)
homebridge_name: Homebridge
homebridge_username: CC:22:3D:E3:CE:30
homebridge_pin: 123-45-678
homebridge_accessories: []
homebridge_platforms: []
homebridge_bind: ["eth0"]
homebridge_advertiser: "ciao"

Example Playbook

- hosts: servers
  roles:
    - hannseman.homebridge
  vars:
    homebridge_plugins:
      - name: homebridge-dummy
        version: 0.3.0
    homebridge_accessories:
      - accessory: "DummySwitch"
        name: "My Switch 1"
 相关资料
  • 在我們成功利用 Vagrant 模擬出所需的環境後,接下來就可以開始使用 Ansible 這套自動化工具來進行部署了。

  • Ansible Engine 什么是 Ansible Ansible 是一款开源自动化平台,它是一款简单自动化语言,能够在 Ansible Playbook 中完美地描述 IT 基础架构。它同时提供了一个自动化引擎用来执行 Asible Playbook。 Ansible 具有多个重要的优点: 跨平台支持 - Ansible 提供 Linux、Windows、UNIX 和网络设备的无代理支持,适用

  • Ansible 提供一种最简单的方式用于发布、管理和编排计算机系统的工具,你可在数分钟内搞定。 Ansible 是一个模型驱动的配置管理器,支持多节点发布、远程任务执行。默认使用 SSH 进行远程连接。无需在被管理节点上安装附加软件,可使用各种编程语言进行扩展。

  • 认识ansible tower 我们先来点点鼠标看看tower中都有什么,不过在点鼠标之前心中应该有数,所有的功能都不会脱离三大类 用户权限管理 执行ansible playbook(ansible管理员节点)需要配置的 统计信息 当然,ansible管理节点需要配置的东西较多,也是tower的主体功能,所以涉及的页面也会多一样。 回顾下安装后的第一个页面(如下图)。 主要版面 页面的主要版面是D

  • Ansible Tower是一个中心化的管理节点网站,需要解决企业级的 用户的两个难题,一个是直接在每个管理员自己的电脑上放置ssh有安全的隐患,另外一个是如果有新管理员加入,面对海量的机群配置ssh连接有工作量巨大,效率低下。 作为一个ansilbe管理节点网站,那么它自然应该具备两个方面的功能: 像其它管理网站一样,具有用户的创建和权限管理的功能; 像ansible管理节点一样,配置远程主机的

  • 可以配置什麼? 从基本的,主机目录文件”inventory”,extra module放置路径”library” ,远程主机的临时文件位置” remote_tmp” ,管理节点上临时文件的位置”local_tmp” inventory = /etc/ansible/hosts library = /usr/share/my_modules/ remote_tmp =