Migrate the users role

This commit is contained in:
Alexander Gorelyshev
2025-12-18 13:34:32 +04:00
parent cb18dcf6c0
commit 14e6bf12fd
18 changed files with 471 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
---
- name: "Include OpenSSH client installation tasks"
ansible.builtin.include_tasks: openssh.yml
- name: "Include user definition vars"
when: (manifest_path is defined) and (manifest_path != "") and users is not defined
ansible.builtin.include_vars:
file: "{{ manifest_path }}"
- name: "Create user accounts"
loop: "{{ users }}"
loop_control:
loop_var: user
ansible.builtin.include_tasks: create.yml