{"id":50474930,"url":"https://github.com/softwarefactory-project/sf-config","last_synced_at":"2026-06-01T12:31:33.844Z","repository":{"id":41070583,"uuid":"89486138","full_name":"softwarefactory-project/sf-config","owner":"softwarefactory-project","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-25T21:26:23.000Z","size":14336,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T22:29:19.933Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/softwarefactory-project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-04-26T13:48:46.000Z","updated_at":"2025-03-25T21:26:28.000Z","dependencies_parsed_at":"2024-05-13T16:15:10.322Z","dependency_job_id":"7b6dd0f6-b8af-4a8c-a620-c016ec6f72d1","html_url":"https://github.com/softwarefactory-project/sf-config","commit_stats":null,"previous_names":[],"tags_count":81,"template":false,"template_full_name":null,"purl":"pkg:github/softwarefactory-project/sf-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2Fsf-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2Fsf-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2Fsf-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2Fsf-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softwarefactory-project","download_url":"https://codeload.github.com/softwarefactory-project/sf-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2Fsf-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33775857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-06-01T12:31:31.528Z","updated_at":"2026-06-01T12:31:33.839Z","avatar_url":"https://github.com/softwarefactory-project.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SFCONFIG - Software Factory configuration management\n\n## Install Software Factory on rhel-9\n\nOnly the mimimal arch is supported on rhel-9, the arch file will be copied on /etc/software-factory/arch.yaml during `ansible-playbook ansible/setup.yaml` step\n\n* Register your system\n\n`sh\nsubscription-manager register\n`\n\n* Install git, pip and ansible-core\n\n`sh\ndnf install git python3-pip ansible-core langpacks-en glibc-all-langpacks -y\n`\n\n* Install ansible galaxy collection\n\n`sh\nansible-galaxy collection install ansible.posix community.general community.mysql\n`\n\n* Update crypto policies to allow old packages installation\n\n`sh\nupdate-crypto-policies --set DEFAULT:SHA1\n`\n\n* Clone sf-config repository as root user\n\n`sh\ngit clone https://softwarefactory-project.io/r/software-factory/sf-config\n`\n\n* Setup sf-config\n\n`sh\ncd /root/sf-config\nansible-playbook ansible/setup.yaml\n`\n\n* install Software Factory\n`sh\n/usr/local/bin/sfconfig\n`\n## Ansible roles components\n\nEach roles can define a meta/sfconfig.py file to create a Component class:\n\n* argparse() method can expose command line argument,\n  example: see the --zuul-merger parameter\n\n* prepare() method can validate role requirements and define global vars,\n  example: see the zuul-launcher prepare that automatically adds the logserver\n           role when needed\n\n* configure() method can be used to generate complex role parameters:\n** Call add_mysql_database() to set mysql role vars to create a database\n** Call generate_ssh_keys() to create ssh keys\n** Convert sfconfig.yaml settings into role variables\n** Render convenient variable such as internal_url\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftwarefactory-project%2Fsf-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftwarefactory-project%2Fsf-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftwarefactory-project%2Fsf-config/lists"}