This commit is contained in:
2025-01-09 17:25:21 +01:00
parent e46e633902
commit 54ac1a8091
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ This is a basic Ansible role to enable and configure Oh My Zsh on Fedora, Ubuntu
| `omz_plugins` | `[]` | A list of Oh My Zsh plugins to enable. | | `omz_plugins` | `[]` | A list of Oh My Zsh plugins to enable. |
## Role variables - ZSH - Oh My ZSH ## Role variables - ZSH - Oh My ZSH
| **Variable name** | **Default value** | **Description** | | **Variable name** | **Default value** | **Description** |
|-----------------------------------|---------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------| |-----------------------------------|---------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|
| `p10k_repository_url` | `'https://github.com/romkatv/powerlevel10k.git'` | GitHub repository URL for Powerlevel10k. | | `p10k_repository_url` | `'https://github.com/romkatv/powerlevel10k.git'` | GitHub repository URL for Powerlevel10k. |
| `p10k_users` | `["{{ ansible_user_id }}"]` | List of Linux users to install Powerlevel10k for. If empty, the current user will be used. | | `p10k_users` | `["{{ ansible_user_id }}"]` | List of Linux users to install Powerlevel10k for. If empty, the current user will be used. |

View File

@ -2,7 +2,7 @@
- name: "OMZ | establish install location." - name: "OMZ | establish install location."
set_fact: set_fact:
omz_install_path: > omz_install_path: >
{% if user == 'root' %} {% if omz_user.name == 'root' %}
/root/.{{ omz_install_directory }} /root/.{{ omz_install_directory }}
{% else %} {% else %}
/home/{{ omz_user.name }}/{{ omz_install_directory }} /home/{{ omz_user.name }}/{{ omz_install_directory }}