{"id":15676962,"url":"https://github.com/pascalgrimaud/ansible-ubuntu","last_synced_at":"2025-08-11T17:35:04.128Z","repository":{"id":39674829,"uuid":"126644424","full_name":"pascalgrimaud/ansible-ubuntu","owner":"pascalgrimaud","description":"Personal Ansible playbooks to setup my Ubuntu machine","archived":false,"fork":false,"pushed_at":"2024-07-13T09:55:40.000Z","size":108,"stargazers_count":13,"open_issues_count":2,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T00:01:37.634Z","etag":null,"topics":["ansible","ansible-playbook","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/pascalgrimaud.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":"2018-03-24T22:12:19.000Z","updated_at":"2024-07-13T09:55:44.000Z","dependencies_parsed_at":"2024-05-28T21:59:20.814Z","dependency_job_id":"5170b552-1746-4ba5-b6b2-34c6a256b84f","html_url":"https://github.com/pascalgrimaud/ansible-ubuntu","commit_stats":{"total_commits":130,"total_committers":2,"mean_commits":65.0,"dds":"0.038461538461538436","last_synced_commit":"62f74c13f1486e88b5d4bcdf6bd37700be1e14de"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalgrimaud%2Fansible-ubuntu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalgrimaud%2Fansible-ubuntu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalgrimaud%2Fansible-ubuntu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalgrimaud%2Fansible-ubuntu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pascalgrimaud","download_url":"https://codeload.github.com/pascalgrimaud/ansible-ubuntu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252582245,"owners_count":21771634,"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","ansible-playbook","ubuntu"],"created_at":"2024-10-03T16:07:43.747Z","updated_at":"2025-05-05T21:43:53.880Z","avatar_url":"https://github.com/pascalgrimaud.png","language":"Shell","readme":"# ansible-ubuntu\n\n[![Build Status][github-actions-image]][github-actions-url]\n\nThis project is used to setup my Ubuntu machine :computer:\n\n## Prerequisites\n\n### Ansible\n\nYou have to install Ansible:\n\n```\nsudo apt-add-repository -y ppa:ansible/ansible \u0026\u0026 \\\nsudo apt-get update \u0026\u0026 \\\nsudo apt-get install -y ansible\n```\n\nCheck your folder: `~/.ansible/`\nYou must be the owner of this folder, specially if you already used `sudo ansible-playbook`.\n\n### Node.js and NPM\n\nNPM is needed to format all files, when you change some files.\n\nAfter installing Node, you should be able to run the following command to install development tools.\nYou will only need to run this command when dependencies change in [package.json](package.json).\n\n```\nnpm install\n```\n\n## Test with Docker\n\nBuild the Docker image\n\n```\ndocker build -t ansible:test .\n```\n\nStart the container with the code inside:\n\n```\ndocker run --rm -it ansible:test bash\n```\n\nStart the container, with volume, so you can change the code directly:\n\n```\ndocker run --rm -it -v \"$PWD\":/home/jhipster/app/ ansible:test bash\n```\n\n## Roles\n\n### Tools: curl, vim, wget\n\nTo install curl, vim, wget and gnome-tweaks :\n\n```\nansible-playbook -v playbooks/tools.yml -K\n```\n\n### Git\n\nTo install Git :\n\n```\nansible-playbook -v playbooks/git.yml -K\n```\n\nTo install Git and configure with your information :\n\n```\nansible-playbook -v playbooks/git.yml -K -e 'git_username=\"Firstname Lastname\"' -e git_email=yourmail\n```\n\n### zsh, oh-my-zsh, fonts-powerline, spaceship-prompt, zsh-autosuggestions\n\nTo install zsh, [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh), fonts-powerline,[spaceship-prompt](https://github.com/denysdovhan/spaceship-prompt) and [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)\n\n```\nansible-playbook -v playbooks/zsh.yml -K\n```\n\nLaunch this playbook to create a `.custom` file at your home, then customize it:\n\n```\nansible-playbook -v playbooks/custom.yml -u $USER\n```\n\n### OpenJDK 17\n\nTo install OpenJDK 17 :\n\n```\nansible-playbook -v playbooks/openjdk17.yml -K\n```\n\n### OpenJDK 21\n\nTo install OpenJDK 21 :\n\n```\nansible-playbook -v playbooks/openjdk21.yml -K\n```\n\n### Maven\n\nTo install Maven :\n\n```\nansible-playbook -v playbooks/maven.yml -K\n```\n\nTo install a specific version of Maven :\n\n```\nansible-playbook -v playbooks/maven.yml -K -e maven_version=3.9.6\n```\n\n### NodeJS\n\nTo install [NodeJS](https://nodejs.org/en/) :\n\n```\nansible-playbook -v playbooks/node.yml -K\n```\n\nTo install a specific version of NodeJS :\n\n```\nansible-playbook -v playbooks/node.yml -K -e node_version=20.15.1\n```\n\n### tilix\n\nTo install [tilix](https://github.com/gnunn1/tilix) :\n\n```\nansible-playbook -v playbooks/tilix.yml -K\n```\n\nDon't forget to change default cmd to `zsh`\n\n### Docker\n\nTo install [Docker](https://github.com/moby/moby) :\n\n```\nansible-playbook -v playbooks/docker.yml -K -u $USER\n```\n\n### Docker Compose\n\nTo install [Docker Compose](https://github.com/docker/compose) :\n\n```\nansible-playbook -v playbooks/dockercompose.yml -K\n```\n\n[github-actions-image]: https://github.com/pascalgrimaud/ansible-ubuntu/workflows/Build/badge.svg\n[github-actions-url]: https://github.com/pascalgrimaud/ansible-ubuntu/actions?query=workflow%3ABuild\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalgrimaud%2Fansible-ubuntu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpascalgrimaud%2Fansible-ubuntu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalgrimaud%2Fansible-ubuntu/lists"}