set git user.{name,email}

This commit is contained in:
neingeist 2016-09-17 19:42:10 +02:00
parent c505d66f60
commit 3d4ed5aa2a
3 changed files with 46 additions and 0 deletions

View file

@ -23,3 +23,13 @@ roles:
etckeeper_avoid_autocommits: true,
etckeeper_mailto: root }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The role sets "root <root@the.host.name>" as the default user/email in
etckeeper's git config. To change that set these options:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
roles:
- { role: etckeeper, tags: ['system', 'etckeeper'],
etckeeper_user_name: "Charlie Root",
etckeeper_user_email: "charlie@corp.com" }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~