Fix ansible 2 deprecation warnings.
This commit is contained in:
parent
5a3b4438bc
commit
f5cba1a04a
4 changed files with 26 additions and 39 deletions
|
@ -5,19 +5,6 @@ galaxy_info:
|
||||||
company: netcat_
|
company: netcat_
|
||||||
license: MIT
|
license: MIT
|
||||||
min_ansible_version: 1.9
|
min_ansible_version: 1.9
|
||||||
platforms:
|
|
||||||
- name: Debian
|
|
||||||
versions:
|
|
||||||
- all
|
|
||||||
- name: Ubuntu
|
|
||||||
versions:
|
|
||||||
- all
|
|
||||||
- names: Mac OS
|
|
||||||
versions:
|
|
||||||
- X
|
|
||||||
categories:
|
|
||||||
- development
|
|
||||||
- system
|
|
||||||
dependencies: []
|
dependencies: []
|
||||||
# List your role dependencies here, one per line. Only
|
# List your role dependencies here, one per line. Only
|
||||||
# dependencies available via galaxy should be listed here.
|
# dependencies available via galaxy should be listed here.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
state: directory
|
state: directory
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Solarized
|
# Solarized
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
accept_hostkey=yes
|
accept_hostkey=yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
accept_hostkey=yes
|
accept_hostkey=yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
- template:
|
- template:
|
||||||
src=templates/plugin.nerdtree.vim.j2
|
src=templates/plugin.nerdtree.vim.j2
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
mode=0644
|
mode=0644
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
accept_hostkey=yes
|
accept_hostkey=yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Vim-fugitive
|
# Vim-fugitive
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
accept_hostkey=yes
|
accept_hostkey=yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
- template:
|
- template:
|
||||||
src=templates/plugin.fugitive.vim.j2
|
src=templates/plugin.fugitive.vim.j2
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
mode=0644
|
mode=0644
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
|
|
||||||
#- name: Install CtrlP
|
#- name: Install CtrlP
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
accept_hostkey=yes
|
accept_hostkey=yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
- template:
|
- template:
|
||||||
src=templates/plugin.rainbow-parentheses.vim.j2
|
src=templates/plugin.rainbow-parentheses.vim.j2
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
mode=0644
|
mode=0644
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -128,7 +128,7 @@
|
||||||
accept_hostkey=yes
|
accept_hostkey=yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
|
|
||||||
- name: Install tabular plugin
|
- name: Install tabular plugin
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
accept_hostkey=yes
|
accept_hostkey=yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
- name: Install vim-bundler plugin
|
- name: Install vim-bundler plugin
|
||||||
git:
|
git:
|
||||||
|
@ -149,7 +149,7 @@
|
||||||
accept_hostkey=yes
|
accept_hostkey=yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Javascript
|
# Javascript
|
||||||
|
@ -163,7 +163,7 @@
|
||||||
accept_hostkey=yes
|
accept_hostkey=yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
- name: Install vim-puppet plugin
|
- name: Install vim-puppet plugin
|
||||||
git:
|
git:
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
accept_hostkey=yes
|
accept_hostkey=yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Rails
|
# Rails
|
||||||
|
@ -186,7 +186,7 @@
|
||||||
accept_hostkey=yes
|
accept_hostkey=yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
- template:
|
- template:
|
||||||
src=templates/plugin.rails.vim.j2
|
src=templates/plugin.rails.vim.j2
|
||||||
|
@ -196,7 +196,7 @@
|
||||||
mode=0644
|
mode=0644
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
#
|
#
|
||||||
# vim-sensible: a universal set of defaults that (hopefully) everyone can agree on
|
# vim-sensible: a universal set of defaults that (hopefully) everyone can agree on
|
||||||
|
@ -209,7 +209,7 @@
|
||||||
accept_hostkey=yes
|
accept_hostkey=yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
#
|
#
|
||||||
# vim-pencil: rethinking Vim as a tool for writing
|
# vim-pencil: rethinking Vim as a tool for writing
|
||||||
|
@ -222,7 +222,7 @@
|
||||||
accept_hostkey=yes
|
accept_hostkey=yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -235,7 +235,7 @@
|
||||||
#recurse: yes
|
#recurse: yes
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
# - name: Install YouCompleteMe dependencies
|
# - name: Install YouCompleteMe dependencies
|
||||||
# apt:
|
# apt:
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
---
|
---
|
||||||
- name: Make directories for Pathogen
|
- name: Make directories for Pathogen
|
||||||
file: >
|
file: >
|
||||||
"path={{item[0]}}"
|
path={{item[0]}}
|
||||||
state=directory
|
state=directory
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item[1]}}"
|
become_user: "{{item[1]}}"
|
||||||
with_nested:
|
with_nested:
|
||||||
- [ '~/.vim/autoload', '~/.vim/bundle' ]
|
- [ '~/.vim/autoload', '~/.vim/bundle' ]
|
||||||
- vimrc_users
|
- "{{vimrc_users}}"
|
||||||
|
|
||||||
- name: Install Pathogen
|
- name: Install Pathogen
|
||||||
get_url: >
|
get_url: >
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
validate_certs=no
|
validate_certs=no
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
# - lineinfile: >
|
# - lineinfile: >
|
||||||
# dest=~/.vimrc
|
# dest=~/.vimrc
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
- template:
|
- template: >
|
||||||
src=templates/vimrc.j2
|
src=templates/vimrc.j2
|
||||||
dest=~/.vimrc
|
dest=~/.vimrc
|
||||||
owner={{item}}
|
owner="{{item}}"
|
||||||
group={{item}}
|
group="{{item}}"
|
||||||
mode=0644
|
mode=0644
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{item}}"
|
become_user: "{{item}}"
|
||||||
with_items: vimrc_users
|
with_items: "{{vimrc_users}}"
|
||||||
|
|
||||||
# - lineinfile: >
|
# - lineinfile: >
|
||||||
# dest=~/.vimrc
|
# dest=~/.vimrc
|
||||||
|
|
Loading…
Reference in a new issue