Commit Graph

29 Commits

Author SHA1 Message Date
Jérémy Lecour 9f9894344d etc-git: scope=local is not always supported
git version 1.7.2.5 (Debian 7) doesn't have "--local" scope
2017-09-29 12:01:06 +02:00
Gregory Colpart b5b46e707c Quick fix to avoid failure when you are in root without su/sudo 2017-09-29 01:42:38 +02:00
Jérémy Lecour 3207d837cb etc-git: better commit author composition 2017-09-15 16:03:49 +02:00
Daniel Jakots 03f4eaf269 fix example 2017-08-29 11:22:21 -04:00
Gregory Colpart 4a81d12d03 Delete OpenBSD stuff (mv to another repo), ansible-roles is now Linux-specific (even Debian-specific) 2017-08-29 03:09:57 +02:00
Gregory Colpart b02e49073a don't crash when use in root (no SUDO_USER) 2017-08-29 00:01:26 +02:00
Romain Dessort 48b4238a88 Make git commit task not to fail if user.email is undefined 2017-08-14 17:07:58 -04:00
Jérémy Lecour 66eee11cf7 etc-git: show OS in task name 2017-07-27 21:33:34 -04:00
Jérémy Lecour 6871de457a etc_git: fix README to use tasks_from instead of task_from 2017-07-27 16:51:35 -04:00
Jérémy Lecour f20b95f075 etc-git: use the git_config module instead of ini 2017-07-27 16:50:23 -04:00
Jérémy Lecour d033d9773a etc-git: if sudo is used, the real user is the author 2017-07-27 16:49:14 -04:00
Gabriel Periard-Tremblay 87ebadcadd Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
Jérémy Lecour e2452cdf6c Don't warn for some known commands 2017-05-19 22:30:51 +02:00
Jérémy Lecour 08ee315148 etc-git: add a task to commit
It can be invoked in pre/post tasks or anywhere in anther role.
2017-04-25 10:10:17 +02:00
Jérémy Lecour 0d5dd26b17 etc-git: fix specs with correct /etc directory 2017-04-21 11:23:30 +02:00
Jérémy Lecour 69d499043e etc-git: more tests 2017-04-19 17:55:45 +02:00
Jérémy Lecour d5a18a4456 [WIP] add tests to etc-git 2017-04-19 17:42:03 +02:00
Jérémy Lecour 5b2ab0d8d3 Ansible >= 2.2 supported 2017-03-24 14:15:09 +01:00
Jérémy Lecour 294cea44e8 Change mode with leading 0, but still as String 2017-03-23 16:59:43 +01:00
Victor LABORIE 139165ee58 etc-git: don't specify group (OpenBSD compatibility) 2017-03-02 11:28:12 +01:00
Tristan PILAT 90c7074a8f Make git role suitable for OpenBSD 2017-02-27 14:04:20 +01:00
Jérémy Lecour 8920ff1ee4 Add "always_run: yes" where it's pertinent
There is also the "check_mode: no", but commented,
for when we switch to Ansible 2.2
2017-01-31 11:45:35 +01:00
Jérémy Lecour 7634830bbc etc-git: ignore *.swp files 2017-01-06 11:02:44 +01:00
Jérémy Lecour 61f5219f48 Improve documentation
Each role has a README and a meta/main.yml file
2017-01-05 18:22:06 +01:00
Jérémy Lecour 5a4f838375 Unix mode MUST be a quoted string when using octal notation 2017-01-05 12:03:54 +01:00
Jérémy Lecour 35f423a869 etc-git: set user.email with sensible hostname 2017-01-03 09:20:39 +01:00
Jérémy Lecour 2ee354cea3 etc-git: secure /etc/.git 2016-12-26 12:11:46 +01:00
Jérémy Lecour bac9649a97 etc-git: invert conditions
If the "git init" command has not been executed, the variable is not defined.
2016-12-21 16:12:31 +01:00
Jérémy Lecour c0ab8f99ce Squash: conventions, evolinux, etc-git… 2016-12-21 16:12:30 +01:00