fix
This commit is contained in:
@ -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. |
|
||||||
|
@ -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 }}
|
||||||
|
Reference in New Issue
Block a user