feat: set feature flags to opt in or out of tasks

users/tasks/main.yml functions as a thin dispatcher with logical steps imported from their own files gated by a variable
This commit is contained in:
2026-08-17 14:27:32 +02:00
parent 6e4bd8eb92
commit 0191f60e8b
4 changed files with 52 additions and 39 deletions
+14
View File
@@ -0,0 +1,14 @@
---
- name: Create deployment user for CI/CD
ansible.builtin.user:
name: deployment
shell: /bin/bash
create_home: yes
become: true
- name: Add SSH public key for deployment user
ansible.posix.authorized_key:
user: deployment
state: present
key: "{{ deployment_public_ssh_key }}"
become: true