gendall.portainer_agent

Portainer代理

这是一个将Portainer代理添加到节点的角色,作为Docker服务运行,包括挂载Docker套接字和暴露9001端口。该角色可以通过设置环境变量来指定代理和服务器之间的共享密钥,格式如下:PORTAINER_SECRET=sh33ghhw32rjhb3

使用方法

在playbook中包含这个角色,使用requirements.txt文件。

示例playbook

- hosts: manager[0]
  roles:
    - portainer-agent

部署

当向仓库推送Semver标签时,这个角色将自动构建并部署到Ansible Galaxy

关于项目

A role to add a Portainer Agent to the node as a Docker Service

安装
ansible-galaxy install gendall.portainer_agent
许可证
Unknown
下载
468
拥有者
Code, issues, docs and other trinkets