mirror of
https://github.com/roles-ansible/ansible_role_dotfiles.git
synced 2024-08-16 16:09:49 +02:00
41 lines
869 B
Markdown
41 lines
869 B
Markdown
dotfiles
|
|
==========
|
|
[![Build Status](https://travis-ci.org/chaos-bodensee/role_dotfiles.svg?branch=master)](https://travis-ci.org/chaos-bodensee/role_dotfiles)
|
|
|
|
<a href="https://galaxy.ansible.com/do1jlr/dotfiles"><img width="80px" src="https://galaxy.ansible.com/assets/galaxy-logo-02.svg"/></a>
|
|
|
|
### Get it directly from Ansible Galaxy
|
|
```bash
|
|
$ ansible-galaxy install do1jlr.dotfiles
|
|
```
|
|
|
|
Function of this role
|
|
-----------------------
|
|
Ansible role to deploy some dotfiles which may be useful
|
|
|
|
Affected files:
|
|
```ini
|
|
/etc/bash.bashrc
|
|
~/.bashrc
|
|
~/.vimrc
|
|
```
|
|
needed vars:
|
|
---------------
|
|
```ini
|
|
# list all admins
|
|
admins:
|
|
- l3d
|
|
|
|
# list of non-admins:
|
|
accounts:
|
|
- ottojo
|
|
```
|
|
|
|
Optional config:
|
|
-----------------
|
|
```ini
|
|
# optional .bashrc commands
|
|
extra_bashrc: 'alias l="ls -all"'
|
|
```
|
|
|
|
Please have a look into ``defaults/main.yml`` for more configuration options!
|