-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall-playbook.yml
47 lines (34 loc) · 1.08 KB
/
install-playbook.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
42
43
44
45
46
# install-playbook.yml
---
- hosts: localhost
tasks:
- name: Backup .bashrc
command: cp ~/.bashrc ~/.bashrc.backup
changed_when: false
- name: Install .bashrc
command: cp bashrc ~/.bashrc
changed_when: false
- name: Backup .bash-prompt
command: cp ~/.bash-prompt ~/.bash-prompt.backup
changed_when: false
- name: Install .bash-prompt
command: cp bash-prompt ~/.bash-prompt
changed_when: false
- name: Backup .bash-aliases
command: cp ~/.bash-aliases ~/.bash-aliases.backup
changed_when: false
- name: Install .bash-aliases
command: cp bash-aliases ~/.bash-aliases
changed_when: false
- name: Backup .bash-user
command: cp ~/.bash-user ~/.bash-user.backup
changed_when: false
- name: Install .bash-user
command: cp bash-user ~/.bash-user
changed_when: false
- name: Backup .tmux.conf
command: cp ~/.tmux.conf ~/.tmux.conf.backup
changed_when: false
- name: Install .tmux.conf
command: cp tmux.conf ~/.tmux.conf
changed_when: false