-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.yml
41 lines (34 loc) · 989 Bytes
/
local.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
- hosts: localhost
connection: local
gather_facts: false
tasks:
- name: install .bashrc
blockinfile:
path: ~/.bashrc
block: "{{ lookup('file', '.bashrc') }}"
- name: install .blerc
blockinfile:
path: ~/.blerc
block: "{{ lookup('file', '.blerc') }}"
create: true
- name: install .vimrc
blockinfile:
path: ~/.vimrc
block: "{{ lookup('file', '.vimrc') }}"
create: true
marker: '" {mark} ANSIBLE MANAGED BLOCK'
- name: install .inputrc
blockinfile:
path: ~/.inputrc
block: "{{ lookup('file', '.inputrc') }}"
create: true
- name: install .screenrc
blockinfile:
path: ~/.screenrc
block: "{{ lookup('file', '.screenrc') }}"
create: true
- name: install .config/bat/config
blockinfile:
path: ~/.config/bat/config
block: "{{ lookup('file', './.config/bat/config') }}"
create: true