2024-02-13 19:37:55 +01:00
|
|
|
---
|
|
|
|
- name: Perform optional versionscheck
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'versioncheck.yml'
|
2024-02-13 20:17:35 +01:00
|
|
|
when: submodules_versioncheck | bool
|
2024-02-13 19:37:55 +01:00
|
|
|
|
2024-02-14 03:16:24 +01:00
|
|
|
- name: Merge default and locale Users
|
|
|
|
ansible.builtin.set_fact:
|
2024-02-14 21:25:00 +01:00
|
|
|
_l3d_users__merged_users: "{{ l3d_users__default_users + l3d_users__local_users }}"
|
2024-02-14 03:16:24 +01:00
|
|
|
|
|
|
|
|
2024-02-13 20:17:35 +01:00
|
|
|
- name: Create ansible user with superuser permissions
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'user_ansible.yml'
|
2024-02-14 21:25:00 +01:00
|
|
|
when: l3d_users__create_ansible | bool
|
2024-02-14 03:16:24 +01:00
|
|
|
|
|
|
|
- name: Create Groups and Users
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'users.yml'
|
|
|
|
|
|
|
|
- name: Manage SSH public keys
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'pubkeys.yml'
|