Files
gitlab-mirror/roles/users/tasks/main.yml
Alexander Gorelyshev 14e6bf12fd Migrate the users role
2025-12-18 13:34:32 +04:00

15 lines
424 B
YAML

---
- 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