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