You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jérémy Lecour ee21973371
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2777|524|2253|2462|:+1: Reference build: <a href="">Evolix » ansible-roles » unstable #223</a> Details
gitea/ansible-roles/pipeline/head This commit looks good Details
Fully Qualified Collection Name
3 months ago
defaults etc-git: use "ansible-commit" to efficiently commit all available repositories (including /etc inside LXC) from Ansible 1 year ago
files etc-git: release 22.05 of ansible-commit 1 year ago
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
tasks Use FQCN 3 months ago
tests etc-git: fix specs with correct /etc directory 6 years ago
.kitchen.yml Kitchen: Change base image to evolix/ansible 6 years ago Add evolix prefix to include_role 4 years ago


Put /etc under Git version control.


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

  - include_role:
      name: evolix/etc-git
      tasks_from: commit.yml
      commit_message: "Ansible pre-run my splendid playbook"

  roles :

  - include_role:
      name: evolix/etc-git
      tasks_from: commit.yml
      commit_message: "Ansible post-run my splendid playbook"

Available variables

  • etc_git_monitor_status: monitor uncommited changes in /etc/.git (default: True) ;