Jérémy Dubois
798a87b0ff
Configure locale to en_US.UTF-8 in .profile file so that "git log" displays the accents correctly Use vim as default git editor for the same reason, and because its better than vi Bump EvoBSD version : OpenBSD 7.0 is out |
||
---|---|---|
.. | ||
defaults | ||
files | ||
tasks | ||
README.md |
etc-git
Put /etc under Git version control.
Tasks
The main part (installation and configuration) is in the tasks/main.yml
file.
There is also an independant task that can be executed to commit changes made in /etc/.git
, for example when a playbook is run :
- name: My Splendid Playbook
[…]
pre_tasks:
- include_role:
name: etc-git
tasks_from: commit.yml
vars:
commit_message: "Ansible pre-run my splendid playbook"
roles :
[…]
post_tasks:
- include_role:
name: etc-git
tasks_from: commit.yml
vars:
commit_message: "Ansible pre-run my splendid playbook"