diff options
author | Thomas Wiest <twiest@users.noreply.github.com> | 2015-03-06 10:00:31 -0500 |
---|---|---|
committer | Thomas Wiest <twiest@users.noreply.github.com> | 2015-03-06 10:00:31 -0500 |
commit | 3aed7219448ab99377643c71d05f2a26b6e11c99 (patch) | |
tree | b8f16225ad95f5692fca3d4c61c9f5f6235c732b /roles/os_env_extras | |
parent | fbf0302567cfd019a762d9c37f8c10b65b269768 (diff) | |
parent | b7008f070afe2629c9ebcbbdf0af3fa1f6ed9d34 (diff) | |
download | openshift-3aed7219448ab99377643c71d05f2a26b6e11c99.tar.gz openshift-3aed7219448ab99377643c71d05f2a26b6e11c99.tar.bz2 openshift-3aed7219448ab99377643c71d05f2a26b6e11c99.tar.xz openshift-3aed7219448ab99377643c71d05f2a26b6e11c99.zip |
Merge pull request #94 from detiber/iptables
Add iptables firewall support to openshift-common
Diffstat (limited to 'roles/os_env_extras')
-rw-r--r-- | roles/os_env_extras/files/irbrc | 2 | ||||
-rw-r--r-- | roles/os_env_extras/files/vimrc | 12 | ||||
-rw-r--r-- | roles/os_env_extras/tasks/main.yaml | 17 |
3 files changed, 31 insertions, 0 deletions
diff --git a/roles/os_env_extras/files/irbrc b/roles/os_env_extras/files/irbrc new file mode 100644 index 000000000..47374e920 --- /dev/null +++ b/roles/os_env_extras/files/irbrc @@ -0,0 +1,2 @@ +require 'irb/completion' +IRB.conf[:PROMPT_MODE] = :SIMPLE diff --git a/roles/os_env_extras/files/vimrc b/roles/os_env_extras/files/vimrc new file mode 100644 index 000000000..537b944ed --- /dev/null +++ b/roles/os_env_extras/files/vimrc @@ -0,0 +1,12 @@ +set tabstop=4 +set shiftwidth=4 +set expandtab +set list + +"flag problematic whitespace (trailing and spaces before tabs) +"Note you get the same by doing let c_space_errors=1 but +"this rule really applies to everything. +highlight RedundantSpaces term=standout ctermbg=red guibg=red +match RedundantSpaces /\s\+$\| \+\ze\t/ "\ze sets end of match so only spaces highlighted +"use :set list! to toggle visible whitespace on/off +set listchars=tab:>-,trail:.,extends:> diff --git a/roles/os_env_extras/tasks/main.yaml b/roles/os_env_extras/tasks/main.yaml new file mode 100644 index 000000000..96b12ad5b --- /dev/null +++ b/roles/os_env_extras/tasks/main.yaml @@ -0,0 +1,17 @@ +--- +# environment configuration role, configures irbrc, vimrc + +- name: Ensure irbrc is installed for user root + copy: + src: irbrc + dest: /root/.irbrc + +- name: Ensure vimrc is installed for user root + copy: + src: vimrc + dest: /root/.vimrc + +- name: Bash Completion + yum: + pkg: bash-completion + state: installed |