{"id":19331088,"url":"https://github.com/systemli/ansible-drift","last_synced_at":"2025-08-31T03:40:15.748Z","repository":{"id":37005617,"uuid":"142984582","full_name":"systemli/ansible-drift","owner":"systemli","description":"Create mails showing your configuration drift from an ansible repo","archived":false,"fork":false,"pushed_at":"2025-03-04T18:25:53.000Z","size":57,"stargazers_count":19,"open_issues_count":3,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-02T04:47:26.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/systemli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-07-31T08:21:48.000Z","updated_at":"2025-03-04T18:25:56.000Z","dependencies_parsed_at":"2024-01-01T15:45:23.736Z","dependency_job_id":null,"html_url":"https://github.com/systemli/ansible-drift","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fansible-drift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fansible-drift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fansible-drift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fansible-drift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/systemli","download_url":"https://codeload.github.com/systemli/ansible-drift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250340290,"owners_count":21414516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T02:39:00.847Z","updated_at":"2025-04-22T23:31:47.052Z","avatar_url":"https://github.com/systemli.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-drift\n\n[![Build Status](https://github.com/systemli/ansible-drift/workflows/Integration/badge.svg?branch=main)](https://github.com/systemli/ansible-drift/actions?query=workflow%3AIntegration)\n[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-drift-blue.svg)](https://galaxy.ansible.com/systemli/drift)\n\nansible-drift will send mails showing your configration drift from a specified playbook.\nThe script can be run interactively or via cron and update your git repo if necessary.\nEach host in hostlist will be checked separately.\n\n## Role Variables\n\n```\n# a bash compatible list of hosts you want to check\ndrift_hostlist: \"{{ groups['all']|sort|join(' ') }}\"\n\n# send mails to\ndrift_receiver: root\n\n# run as\ndrift_user: ansible\n\n# define playbook to be regularly executed\n# drift_playbook:\n\n# define a git branch to pull\n# drift_branch: \"origin main\"\ndrift_branch: \"\"\n\n```\n\n## Download\n\nDownload latest release with `ansible-galaxy`\n\n```\n$ ansible-galaxy install systemli.drift\n```\n\n## Example Playbook\n\n```\n- hosts: servers\n  roles:\n    - systemli.drift\n  vars:\n    drift_playbook: /home/ansible/ansible/site.yml\n```\n\nTesting \u0026 Development\n---------------------\n\nTests\n-----\n\nFor developing and testing the role we use Github Actions, Molecule, and Vagrant. On the local environment you can easily test the role with\n\nRun local tests with:\n\n```\nmolecule test \n```\n\nRequires Molecule, Vagrant and `python-vagrant` to be installed.For developing and testing the role we use Travis CI, Molecule and Vagrant. On the local environment you can easily test the role with\n\n\n\n## License\n\nGPL\n\n## Author Information\n\nhttps://www.systemli.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemli%2Fansible-drift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystemli%2Fansible-drift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemli%2Fansible-drift/lists"}