- Notifications
You must be signed in to change notification settings - Fork13
Simple, perfect setup of a Linux machine via Ansible
License
olivomarco/my-ansible-linux-setup
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
In 2020, having a Linux IaaS machine configured and setup should be easy and fast: after all, it's the basic task anybody has to do in order to start working on more-meaningful and productive activities.
However, this is not always the case: you work in different environments (different cloud providers, on-premises environments, lab environments) where you have different base images and different tools, and creating the very same machine is still quite a daunting - or at leasttime-consuming - task.
This project aims to solve that, by providing aboilerplate yet complete andeasy-to-use andeasy-to-customize way to spin up your own Linux machine.
You will needAnsible on your workstation in order to run this project, and you will need to first install a base Linux image on your target system. The target system can be a Debian-based system or an Ubuntu-based system, since theapt package is used.
You can start the fun with theinstall.sh script which takes in input the hostname to configure.
In the output, you will receive the passwords for the default user and theroot user.The script will add your local SSH keys as trusted keys for remote login, and will harden the Linux installation quite a bit.In the end, you will also have several utilities installed and a Docker daemon.
The playbook also uses theolivomarco/dotfiles repo in order to setup a custom and productive shell for the users of the system.
Please note that some of the parameters provided by this template repoMUST BE CHANGED before running the script.
Customization starts by modifying files inthis folder. In particular, consider that:
- inall.yml you must modify the
default_usernamevariable - inall.yml you must modify the
dot_forward_emailvariable - thevault.yml is anansible-vault encrypted file (default password:
secretpassword) which you must customize with your SMTP parameters
You can, of course, customize everything and add your own tools and configurations:if you think you have found something useful which can be beneficial to any user using this package, please open a feature request and I will gladly evaluate it.
About
Simple, perfect setup of a Linux machine via Ansible
Topics
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.