{"id":18248097,"url":"https://github.com/loxda/foreman-proxy","last_synced_at":"2026-04-11T08:01:54.594Z","repository":{"id":191302462,"uuid":"676425424","full_name":"LOXDA/foreman-proxy","owner":"LOXDA","description":"Ansible role to deploy foreman smart_proxy (theforeman.org)","archived":false,"fork":false,"pushed_at":"2025-01-21T05:10:27.000Z","size":1337,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T10:45:50.713Z","etag":null,"topics":["ansible","ansible-role","foreman","foreman-proxy"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/LOXDA.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,"zenodo":null}},"created_at":"2023-08-09T07:08:41.000Z","updated_at":"2025-01-21T05:10:31.000Z","dependencies_parsed_at":"2023-08-29T08:21:42.660Z","dependency_job_id":"8c155900-82c0-46d1-b534-90a4ecb65b91","html_url":"https://github.com/LOXDA/foreman-proxy","commit_stats":null,"previous_names":["loxda/foreman-proxy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LOXDA/foreman-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOXDA%2Fforeman-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOXDA%2Fforeman-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOXDA%2Fforeman-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOXDA%2Fforeman-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LOXDA","download_url":"https://codeload.github.com/LOXDA/foreman-proxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOXDA%2Fforeman-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31673067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["ansible","ansible-role","foreman","foreman-proxy"],"created_at":"2024-11-05T09:35:34.919Z","updated_at":"2026-04-11T08:01:54.577Z","avatar_url":"https://github.com/LOXDA.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"ansible-role-foreman-proxy\n=========\n\nAnsible role to deploy foreman smart_proxy (theforeman.org)\n\nRequirements\n------------\n\nIt is designed to be include as a submodule to a project with its siblings :\n\n* `ansible-role-foreman-db`\n* `ansible-role-foreman-puppet`\n* `ansible-role-foreman-proxy` (this one)\n* `ansible-role-foreman-app`\n* `ansible-role-foreman-custom`\n\n`ansible-role-mirror` should help you get started with mirroring needed repositories.\n\nRole Variables\n--------------\n\nThe role needs some vars (default/main.yml)\nThe vars are self-explanatory, to look for answer one could use : foreman-installer --help\nAll vars are combined in `tasks/Setup_Options.yml` ( -vv is your friend )\n\nExample Playbook\n----------------\n\n```\n- hosts: tfm_proxy\n  gather_facts: true\n  vars:\n    oauth_consumer_key: \"{{ hostvars[groups['tfm_app'][0]]['oauth_consumer_key'] }}\"\n    oauth_consumer_secret: \"{{ hostvars[groups['tfm_app'][0]]['oauth_consumer_secret'] }}\"\n  roles:\n    - role: foreman-proxy\n    - role: ansible-role-deploy-git-repos\n```\n\n#### to deploy some ansible roles `on` the smart_proxy to run them `from` smart_proxy using remote_executions (foreman plugins ansible)\n```\n- hosts: tfm_proxy\n  gather_facts: true\n  roles:\n    - role: ansible-role-deploy-git-repos\n```\n\n#### There is an omapi bug after isc-dhcp-server_4.4.1-2+deb10u1 (Debian 10 Buster), this help : \n```\n--tags tfm,fixdhcp\n- hosts: tfm_proxy\n  gather_facts: true\n  tasks:\n    - name: fix isc-dhcp-server omapi bug with debian \u003e10\n      block:\n      - name: Download libisc-export1100 package from Buster\n        ansible.builtin.apt:\n          deb: http://mirror.lab.loxda.net/debian-security/pool/updates/main/b/bind9/libisc-export1100_9.11.5.P4+dfsg-5.1+deb10u8_amd64.deb\n      - name: Download libdns-export1104 package from Buster\n        ansible.builtin.apt:\n          deb: http://mirror.lab.loxda.net/debian-security/pool/updates/main/b/bind9/libdns-export1104_9.11.5.P4+dfsg-5.1+deb10u8_amd64.deb\n      - name: Download isc-dhcp-server package from Buster\n        get_url:\n          url: http://mirror.lab.loxda.net/debian/pool/main/i/isc-dhcp/isc-dhcp-server_4.4.1-2+deb10u1_amd64.deb\n          dest: /tmp/isc-dhcp-server_4.4.1-2+deb10u1_amd64.deb\n      - name: Fix isc-dhcp-server version\n        command: dpkg --force-downgrade --force-hold -i /tmp/isc-dhcp-server_4.4.1-2+deb10u1_amd64.deb\n      - name: Hold isc-dhcp-server\n        dpkg_selections: name=isc-dhcp-server selection=hold\n      - name: Restart service isc-dhcp-server\n        service: name=isc-dhcp-server state=restarted\n      when: ansible_distribution == 'Debian' and \"ansible_distribution_version\" \u003e= \"10\"\n```      \n\nLicense\n-------\n\nCC-BY-4.0\n\nAuthor Information\n------------------\n\nThomas Basset -- hobbyist sysadm \u003ctomm+code@loxda.net\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floxda%2Fforeman-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floxda%2Fforeman-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floxda%2Fforeman-proxy/lists"}