Skip to content

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

Notifications You must be signed in to change notification settings

gendall/ansible-portainer-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Portainer Agent

A role to add a Portainer Agent to the node as a Docker Service, including mounting the Docker socket and exposing port 9001. The role can be configured to specify a shared secret between agent and server, by setting an environment variable as follows: PORTAINER_SECRET=sh33ghhw32rjhb3.

Usage

Include this role in a playbook using a requirements.txt file.

Example playbook

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

Deployment

This role will be automatically built and deployed to Ansible Galaxy when a Semver tag is pushed to the repo.

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published