{"id":18722428,"url":"https://github.com/nleiva/ansible-workstation","last_synced_at":"2026-05-08T13:18:03.613Z","repository":{"id":87030938,"uuid":"546807410","full_name":"nleiva/ansible-workstation","owner":"nleiva","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-03T18:26:31.000Z","size":86,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-19T16:12:39.458Z","etag":null,"topics":["ansible","fedora","rhel9"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nleiva.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,"zenodo":null}},"created_at":"2022-10-06T17:20:27.000Z","updated_at":"2025-02-16T20:33:53.000Z","dependencies_parsed_at":"2023-05-30T07:15:15.699Z","dependency_job_id":null,"html_url":"https://github.com/nleiva/ansible-workstation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nleiva/ansible-workstation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nleiva%2Fansible-workstation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nleiva%2Fansible-workstation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nleiva%2Fansible-workstation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nleiva%2Fansible-workstation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nleiva","download_url":"https://codeload.github.com/nleiva/ansible-workstation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nleiva%2Fansible-workstation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32781992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","fedora","rhel9"],"created_at":"2024-11-07T13:41:23.395Z","updated_at":"2026-05-08T13:18:03.592Z","avatar_url":"https://github.com/nleiva.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My workstation\n[![Ansible Lint](https://github.com/nleiva/ansible-workstation/actions/workflows/ansible_lint.yml/badge.svg)](https://github.com/nleiva/ansible-workstation/actions/workflows/ansible_lint.yml)\n\nI run RHEL9, which you can [get for free](https://developers.redhat.com/articles/faqs-no-cost-red-hat-enterprise-linux#general).\n\nThe following playbook installs the software I need and customizes the environment for any time I need to go back to square one.\n\n## Dependencies\n\n```\n$ ansible-galaxy collection install community.general --upgrade\n```\n\n## Running\n\nNeed a local user and `become` password. All inputs are in the [inputs.yml](inputs.yml) file.\n\n```\n$ ansible-playbook rhel.yml -vK -e \"ansible_user=nleiva\"\n```\n\nUse of tags example: Don't re-install RHEL additional repositories and skip RPM Fusion.\n\n```\n$ ansible-playbook rhel.yml -vK -e \"ansible_user=nleiva\" --skip-tags \"rhel_repo, fusion_repo\"\n```\n\n## Running on a new install\n\nIf you want to run it on a fresh system without Ansible.\n\n```\n$ python3 -m pip install --user ansible-core\n$ python3 -m pip show ansible-core\n```\n\n## Internal RH stuff\n\nYou need to manually install a couple of RPM's first: [See method 3](https://redhat.service-now.com/help?id=kb_article_view\u0026sysparm_article=KB0005424).\n\nTo skip these tasks, use tag `red_hat`:\n\n```\n$ ansible-playbook rhel.yml -vK -e \"ansible_user=nleiva\" --skip-tags \"rhel_repo, fusion_repo, red_hat\"\n```\n\n## After restoring files\n\n```\nsudo cp MyCA.pem /etc/pki/ca-trust/source/anchors/MyCA.pem\nsudo update-ca-trust\n```\n\n## Disable Wayland\n\nTo be able to screen-share during meetings.\n\n`/etc/gdm/custom.conf`\n\n```ini\n[daemon]\n# Uncomment the line below to force the login screen to use Xorg\nWaylandEnable=false\nDefaultSession=gnome-xorg.desktop\n```\n## Hack to fix SFTP for non-interactive sessions\n\nPut following into top of ~/.bashrc on username of id on remote machine if that id uses bash (SOURCE: https://unix.stackexchange.com/a/505642).\n\n```bash\n# If not running interactively, don't do anything and return early\n[[ $- == *i* ]] || return  \n```\n\n## Fedora\n\nAfter enabling the RH_internal stuff. To skip these tasks, use tag `red_hat`:\n\n```\n$ ansible-playbook fedora.yml -vK -e \"ansible_user=nleiva\" --skip-tags \"rhel_repo, red_hat\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnleiva%2Fansible-workstation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnleiva%2Fansible-workstation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnleiva%2Fansible-workstation/lists"}