Compare commits
6 Commits
7b1904c0a3
...
ea61e071c5
Author | SHA1 | Date | |
---|---|---|---|
ea61e071c5 | |||
1108eb54f2 | |||
fb655f347e | |||
34ee1e126f | |||
1ef6921640 | |||
13c9a79da7 |
11
Jenkinsfile
vendored
Normal file
11
Jenkinsfile
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('lint') {
|
||||
steps {
|
||||
sh 'ansible-lint dotfiles.yml'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,6 +1,3 @@
|
||||
home: '{{ "~" | expanduser }}'
|
||||
dotfiles_dir: '{{home}}/src/dotfiles'
|
||||
files_dir: '{{dotfiles_dir}}/roles/dotfiles/files'
|
||||
git_mail: 'mail@johannes-rothe.de'
|
||||
git_name: 'Johannes Rothe'
|
||||
diff_tool: 'vimdiff'
|
||||
|
@ -7,4 +7,4 @@ if status --is-login
|
||||
end
|
||||
end
|
||||
|
||||
eval (keychain --eval --agents ssh --agents gpg 82CD152AAAE9CAF77EACB29E73F092605AF3286C)
|
||||
eval (keychain --eval --agents ssh,gpg 82CD152AAAE9CAF77EACB29E73F092605AF3286C)
|
||||
|
@ -8,3 +8,5 @@
|
||||
st = status
|
||||
co = checkout
|
||||
br = branch
|
||||
[commit]
|
||||
gpgsign = true
|
||||
|
@ -1,2 +1 @@
|
||||
default-cache-ttl 10800
|
||||
maximum-cache-ttl 10800
|
||||
|
@ -37,12 +37,14 @@
|
||||
file:
|
||||
path: '{{ home }}/tmp/dotfiles_backup'
|
||||
state: directory
|
||||
mode: 0700
|
||||
|
||||
- name: Backup stuff
|
||||
copy:
|
||||
src: '{{ item }}'
|
||||
dest: '{{ home }}/tmp/dotfiles_backup'
|
||||
remote_src: True # copy the folder from the host instead of ansible
|
||||
mode: 0600
|
||||
ignore_errors: yes
|
||||
loop:
|
||||
# dirs (without trailing '/' copies the whole dir)
|
||||
@ -61,6 +63,7 @@
|
||||
file:
|
||||
path: '{{ item }}'
|
||||
state: directory
|
||||
mode: 0700
|
||||
loop:
|
||||
- '{{ home }}/.config/i3/'
|
||||
- '{{ home }}/.config/i3status/'
|
||||
|
Loading…
x
Reference in New Issue
Block a user