{"id":13753384,"url":"https://github.com/fabaff/fedora-ansible","last_synced_at":"2025-04-05T14:08:22.431Z","repository":{"id":18399754,"uuid":"21581209","full_name":"fabaff/fedora-ansible","owner":"fabaff","description":"Ansible playbooks for Fedora","archived":false,"fork":false,"pushed_at":"2025-01-07T23:56:06.000Z","size":348,"stargazers_count":107,"open_issues_count":0,"forks_count":25,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-29T13:11:15.432Z","etag":null,"topics":["ansible","fedora","fedora-security-lab","playbook","python"],"latest_commit_sha":null,"homepage":"","language":"Jinja","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/fabaff.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,"publiccode":null,"codemeta":null}},"created_at":"2014-07-07T18:08:40.000Z","updated_at":"2025-01-21T13:10:28.000Z","dependencies_parsed_at":"2023-11-17T12:29:20.673Z","dependency_job_id":"2b00c5d2-502e-4931-8d7c-bacfb1fbdf33","html_url":"https://github.com/fabaff/fedora-ansible","commit_stats":{"total_commits":447,"total_committers":6,"mean_commits":74.5,"dds":"0.23266219239373598","last_synced_commit":"9f7da7d88d65bd849b0fd3513ac876408af3aea3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabaff%2Ffedora-ansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabaff%2Ffedora-ansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabaff%2Ffedora-ansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabaff%2Ffedora-ansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabaff","download_url":"https://codeload.github.com/fabaff/fedora-ansible/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345854,"owners_count":20924102,"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":["ansible","fedora","fedora-security-lab","playbook","python"],"created_at":"2024-08-03T09:01:21.312Z","updated_at":"2025-04-05T14:08:22.415Z","avatar_url":"https://github.com/fabaff.png","language":"Jinja","funding_links":[],"categories":["Jinja","python"],"sub_categories":[],"readme":"# Fedora - Ansible Contrib Repository\n\nThis repository contains user-contributed real world examples for Ansible\nplaybooks, especially for Fedora and its downstream (RHEL), as well as modules\nthat are not a part of Ansible's core distribution.\n\nThis is designed to be a resource to folks learning configuring Fedora\nwith Ansible, as well as a way to share useful resources of all kinds.\n\nIf you have just found Ansible or Fedora, you should start here:\n\n * [Fedora](http://www.fedoraproject.org)\n * [Ansible project](https://github.com/ansible/ansible) -- see the examples directory\n\nA lot of playbooks in this repository are made and used with the \n[Fedora Security Lab](https://fedorahosted.org/security-spin/) and the \n[Fedora Security Lab Test bench](https://fedorahosted.org/security-spin/wiki/Test%20bench). \nFor all security-related playbooks please check the \n[Fedora Security Lab Test bench](https://github.com/fabaff/fsl-test-bench) git\nrepository.\n\n## Prerequisites\n\nThe setup of Ansible is explained on the \n[Ansible Getting Started](http://ansible.cc/docs/gettingstarted.html) page. \nHere is only the setup of the managed nodes covered. For every system you want\nto manage, you need to have the client's SSH key in the *authorized_keys* file\nof the management system and Python.\n\nMake sure that [Python](http://www.python.org/) is installed. If not, install\nthe Python package.\n\n```bash\n$ sudo dnf -y install python\n```\nAdd the SSH key to the *authorized_keys* file.\n\nFrom the managed node:\n\n```bash\n$ ssh root@[IP address of your management system] 'cat ~/.ssh/id_rsa.pub' | cat - \u003e\u003e ~/.ssh/authorized_keys\n```\nFrom the management system:\n\n```bash\n$ sudo ssh-copy-id -i /root/.ssh/id_rsa.pub root@[IP address of your managed node]\n```\n\n## Structure\n\nAt the moment the structure of the repository looks like this:\n\n```bash\n.\n├── files ----------- Template files\n├── handlers -------- Handlers for Fedora services\n├── maintenance ----- Complete playbooks\n├── maintenance.yml - Regular tasks to perform on a running system\n├── modules --------- Modules especially for Fedora\n├── README.md ------- This files\n├── tasks ----------- A collection of tasks\n├── setup.yml ------- Collected tasks for a fresh installed system\n└── variables ------- Storage files for variables\n```\n\n## Warning\n**Think first** before you implement stuff from this repository. Consider the \nplaybooks in this repository as a show case. Somethings doesn't make sense, are\nnasty hacks, or easier to do with another approach.\n\n## Licensing\nExamples and modules should be licensed GPLv3 per the rest of Ansible, to\nencourage modules to graduate from contrib to core.\n\nAll playbook content is assumed to be Creative Commons 3.0 Attribution licensed. \nNon-commerical or No-derivatives CC extensions are not acceptable, to encourage\neasy use by all users, regardless of purpose.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabaff%2Ffedora-ansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabaff%2Ffedora-ansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabaff%2Ffedora-ansible/lists"}