infra/ansible/playbooks/setup-git-web-deployer.yml

15 lines
383 B
YAML
Raw Normal View History

---
- hosts: webhost
vars:
username: html-deployer
remote_user: webadmin
tasks:
- name: Create user for git actions to deploy html
become: true
user:
name: "{{ username }}"
comment: Used for deploying html from Gitea Actions
group: nginx
generate_ssh_key: true
ssh_key_comment: Generated by Ansible for Gitea Actions