itnok.config_itnokterm_ubuntu
config-itnokterm-ubuntu
=======================
This project sets up the itnok-term on an Ubuntu system by cloning the GitHub repository into the user's home directory and configuring the account.
Steps Involved:
- Using the role itnok.manage_pkg_ubuntu:
- Ensures the installation of the following packages: git, vim, tmux, xclip, vim-gtk, dconf-cli, alacritty, emacs-nox, python3-pip, and python3-psutil.
- Checks if the
~/.ssh
directory exists. - Installs the provided deploy key for itnok-term.
- Checks if the
~/.custom
directory exists. - Clones the
itnok-term
repository into~/.custom
. - Installs NVM version 0.35.3 and Node.js version 12.16.2.
- Installs Powerline modules.
- Creates symbolic links for necessary files in the home directory (Note: this may overwrite existing data!).
- Adds a custom Gnome Terminal profile.
- Reads the current list of Gnome Terminal profiles.
- Updates the profile list to include the newly added itnok-term profile.
- Sets the new itnok-term profile as the default Gnome Terminal profile.
Requirements:
None.
Role Variables:
Variable | Description | Default Value |
---|---|---|
config_itnokterm_gterm_profile_uuid |
UUID of the Gnome Terminal profile to use by default | 1311470c-c450-1073-773b-e11ee50de666 |
config_itnokterm_git_deploy_key |
GitHub deploy key for the private itnok-term repo | None |
config_itnokterm_user |
User to be configured on the Ubuntu system | root |
config_itnokterm |
Version or branch of itnok-term to install | master |
Dependencies:
To install dependencies, run:
$ ansible-galaxy install <dependency.name>
To install all required Ansible Roles from a requirements file:
$ ansible-galaxy install -r requirements.yml
Example Playbook:
Here’s how to use this role in your playbooks:
---
- hosts: servers
remote_user: ubuntu # optional (specify your remote user)
gather_facts: yes # optional
become: yes
roles:
- { role: itnok.config_itnokterm_ubuntu }
vars:
config_itnokterm_user: "ubuntu"
config_itnokterm_git_deploy_key: "<YOUR_DEPLOY_KEY_HERE>"
config_itnokterm: "master"
License:
MIT (read more)
Informazioni sul progetto
Clone itnok-term GitHub repo in user's $HOME and configure the account to use it.
Installa
ansible-galaxy install itnok.config_itnokterm_ubuntu
Licenza
mit
Download
850
Proprietario