etckeeper working

This commit is contained in:
2018-05-03 00:07:40 +03:00
parent 7a6aaa31bc
commit 30d46554f0
+10 -2
View File
@@ -37,7 +37,7 @@
repo: /etc
scope: local
name: remote.origin.url
value: ssh://git@rudolf.com.ua:23/rudolf/etckeeper.git
value: http://rudolf.com.ua/rudolf/etckeeper.git
- name: Remote etc git 2
git_config:
@@ -46,10 +46,18 @@
name: remote.origin.fetch
value: +refs/heads/*:refs/remotes/origin/*
- name: Remote etc git 3
git_config:
repo: /etc
scope: global
name: credential.helper
value: store
- name: populate git hook
template:
src: "files/post-commit"
dest: .git/hooks/post-commit
dest: /etc/.git/hooks/post-commit
mode: 700
- name: disable ipv6
lineinfile: