roles/alban_andrieu_shell
This file was generated by Ansigenome. Do not edit this file directly but instead have a look at the files in the ./meta/ directory.
This Personal
role allows you to install and configure Shell
which can be used to setup your global environement variables on hosts.
Role dependencies
geerlingguy.git
Documentation
More information about alban.andrieu.shell
can be found in the
TODO official alban.andrieu.shell documentation.
Role variables
List of default variables available in the inventory:
shell_enabled: yes # Enable module
shell_bash_enabled: yes # Enable bash shell
shell_csh_enabled: no # Enable csh shell
shell_ksh_enabled: yes # Enable ksh shell
shell_cygwin_enabled: no # Enable cygwin
#do not activate locate with docker
shell_locate_enabled: no # Enable locate search feature
shell_history_enabled: yes # Enable history bash tweek
shell_nano_enabled: yes # Enable nano syntax color
shell_vim_enabled: yes # Enable vim syntax color
shell_maven_enabled: no # Enable maven syntax color
shell_log4j_enabled: yes # Enable log4j
shell_rlogin_enabled: yes # Enable rsh rlogin rexecd
shell_synapse_enabled: no # Enable synapse config
shell_git_meld_enabled: yes # Enable git meld (shell_git_configure_enabled must be enabled too)
shell_git_completion_enabled: yes # Enable git completion
shell_git_configure_enabled: yes # Enable git configuration
#user: 'albandri' #please override me
user: "{{ lookup('env','USER') }}"
shell_owner: "{{ user }}"
shell_group: "{{ shell_owner }}"
#home: '~' #please override me
home: "{{ lookup('env','HOME') }}"
shell_owner_home: "{{ home }}"
shell_default_version: "30"
shell_project_home: "/workspace/users"
shell_workspace_suffix: "nabla/env"
shell_workspace_env: "{{ shell_project_home }}/{{ shell_owner }}{{ shell_default_version }}/{{ shell_workspace_suffix }}"
shell_env_directory: "{{ shell_workspace_env }}/home"
shell_dir_tmp: "/tmp" # or override with "{{ tempdir.stdout }} in order to have be sure to download the file"
shell_nano_color_repository: "https://github.com/nanorc/nanorc.git"
shell_vim_color_repository: "https://github.com/klen/.vim.git"
shell_synapse_directory: "{{ shell_owner_home }}/.config/synapse"
shell_git_meld_directory: "/usr/local/bin"
shell_git: []
# Additional properties: 'shell_git_machine, shell_git_login, shell_git_email, shell_git_password, shell_git_name, shell_git_path, shell_git_ssl, shell_git_meld_enabled, shell_git_editor'
# - shell_git_machine: 'localhost',
# shell_git_login: '{{ user }}',
# shell_git_email: '{{ user }}@localhost',
# shell_git_password: 'microsoft',
# # Optional.
# shell_git_name: '{{ shell_git_login }}',
# shell_git_path: '/usr/bin',
# shell_git_ssl: false,
# shell_git_meld_enabled: yes,
# shell_git_editor: "vim",
rhosts_hosts:
- "albandri"
- "albandri-laptop-misys"
newrelic_license_key: "de35bf5d191ebb208d359b2cd24a60616a02b1f3"
newrelic_app_name: "Nabla Demo"
docker_files_generated_directory: "./"
docker_files_enable: no
docker_volume_directory: "{{ shell_env_directory }}"
docker_working_directory: "/home/vagrant"
docker_image_name: "nabla/ansible-shell"
Detailed usage guide
Run the following command :
ansible-playbook -i hosts -c local -v shell.yml -vvvv --ask-become-pass | tee setup.log
Testing
$ ansible-galaxy install alban.andrieu.shell
$ vagrant up
Contributing
The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.
For pull requests, editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Authors and license
roles/alban_andrieu_shell
role was written by:
- Alban Andrieu | e-mail | Twitter | GitHub
License
- License: GPLv3
Feedback, bug-reports, requests, ...
Are welcome!
This role is part of the Nabla project. README generated by Ansigenome.
Alban Andrieu