Raspberry-Pi-IaC/roles/cloudflare-ddns/tasks/main.yml
2024-04-10 20:09:34 +02:00

14 lines
481 B
YAML

---
- include_vars: defaults.yml
# TODO: Configure ZSH correctly by reasusing the zsh role by running the commands as the new user.
# see: https://serverfault.com/questions/662443/running-ansible-task-as-a-specific-user
- name: Create a new user
ansible.builtin.include_role:
name: singleplatform-eng.users
apply:
become: true
vars:
users:
- username: cloudflare_ddns
name: '-'
password: "{{ cloudflare_ddns_user_password_hash }}"