Put git config and etckeeper to common
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
---
|
||||
ariane_git: True
|
||||
ariane_sysctl: True
|
||||
|
||||
ariane_sysctls:
|
||||
#- key: net.ipv6.conf.all.disable_ipv6
|
||||
# val: 1
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
---
|
||||
- name: git - gitconfig user.name
|
||||
git_config:
|
||||
name: user.name
|
||||
scope: global
|
||||
value: "root ({{ ansible_hostname }})"
|
||||
|
||||
- name: git - gitconfig user.email
|
||||
git_config:
|
||||
name: user.email
|
||||
scope: global
|
||||
value: "admin@fet.at"
|
||||
|
||||
- name: git - gitconfig core.editor
|
||||
git_config:
|
||||
name: core.editor
|
||||
scope: global
|
||||
value: "vim"
|
||||
|
||||
- name: git - init etckeeper
|
||||
command: etckeeper init creates=/etc/.git/
|
||||
@@ -1,8 +1,4 @@
|
||||
---
|
||||
- import_tasks: git.yml
|
||||
when: ariane_git
|
||||
tags: ['ariane_git', 'git']
|
||||
|
||||
- import_tasks: sysctl.yml
|
||||
when: ariane_sysctl
|
||||
tags: ['ariane_sysctl', 'sysctl']
|
||||
|
||||
Submodule roles/common updated: 99d768fa8c...01603d2043
Reference in New Issue
Block a user