emielmolenaar.ansible_role_docker_pihole

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

Install
ansible-galaxy install emielmolenaar.ansible_role_docker_pihole
GitHub repository
License
Unknown
Downloads
82