Skip to content

Pihole Sync User

Auto Documentation

Documentation Generated with Python on 2021-04-03

Default Variables

Tasks

main.yml

- name: Create Pihole User
  user:
    name: pihole
    shell: "/bin/bash"
    state: present

- name: Add Authorized Ley to Non Root User
  authorized_key:
    user: hayden
    state: present
    key: "{{ lookup('file', './pub_keys/pihole_sync.pub') }}"