Skip to content

BenjaminBoehm/ansible-role-docker-pihole

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pi-hole in docker role for Ansible

A simple role for deploying and configuring Pi-hole on your hosts using Ansible.

Usage

This role assumes Docker is running and configured for Ansible on the hosts your are deploying this role on. You might check out Jeff Geerling's Docker role to set this up.

Clone this repo into your roles directory:

$ git clone https://github.com/emielmolenaar/ansible-role-docker-pihole.git roles/docker-container-pihole

And add it to your play's roles:

- hosts: ...
  roles:
    - docker-container-pihole
    - ...

I recommend using a requirements.yml in your roles directory though:

- src: https://github.com/emielmolenaar/ansible-role-docker-pihole.git
  name: docker-container-pihole

Installing the role will require a ansible-galaxy install -r ./roles/requirements.yml -p ./roles from the root directory of your playbook.

About

An Ansible role to setup Pi-hole in a docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 100.0%