- Reorganized Ansible project structure to follow best practices. - Created dedicated directories: , , , , and . - Categorized playbooks into (host-specific) and (service-specific). - Moved all roles into the directory and standardized their naming conventions. - Relocated to for better variable management. - Renamed to to reflect its global variable scope. - Created to correctly set the to the new directory. - Moved and into the directory. - Added to providing explanations for common commands. - Cleaned up directories from all individual roles to centralize version control.
30 lines
695 B
YAML
30 lines
695 B
YAML
- name: lxc-init
|
|
hosts: photoprism
|
|
become: true
|
|
vars_files:
|
|
- vault.yml
|
|
- zeus-vars.yml
|
|
tasks:
|
|
- name: tools_for_command_line
|
|
ansible.builtin.include_role:
|
|
name: tools_for_command_line
|
|
|
|
- name: linux_config_init
|
|
ansible.builtin.include_role:
|
|
name: linux_config_init
|
|
vars:
|
|
user: warezjoe
|
|
uid: 1000
|
|
ssh_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII823CLHAgx4nTaTr0Wys65YWN9pVnDfbWvsZcFwCnWl"
|
|
set_ip: False
|
|
set_hostname: False
|
|
|
|
- name:
|
|
ansible.builtin.include_role:
|
|
name: ansible-role-security
|
|
|
|
- name:
|
|
ansible.builtin.include_role:
|
|
name: prometheus_node_exporter
|
|
|