Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guillaumebriday/kamal-ansible-manager
Manage and optimize your servers automatically for Kamal with Ansible
https://github.com/guillaumebriday/kamal-ansible-manager
ansible kamal
Last synced: 13 days ago
JSON representation
Manage and optimize your servers automatically for Kamal with Ansible
- Host: GitHub
- URL: https://github.com/guillaumebriday/kamal-ansible-manager
- Owner: guillaumebriday
- License: mit
- Created: 2023-11-12T01:31:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-29T05:59:08.000Z (about 1 month ago)
- Last Synced: 2024-10-10T12:42:28.051Z (about 1 month ago)
- Topics: ansible, kamal
- Homepage:
- Size: 13.7 KB
- Stars: 91
- Watchers: 4
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Kamal Ansible Manager
This is an [Ansible](https://www.ansible.com/) playbook to automatically optimize and secure your servers for [Kamal](https://kamal-deploy.org/), for Ubuntu only.
## What's inside?
It will automatically update your packages and configure these packages to secure your server(s):
- [Docker](https://docs.docker.com/engine/install/ubuntu/)
- [Fail2ban](https://github.com/fail2ban/fail2ban)
- [UFW](https://wiki.ubuntu.com/UncomplicatedFirewall)
- [NTP](https://ubuntu.com/server/docs/network-ntp)The playbook also:
- Remove [Snap](https://snapcraft.io/).
- Disable ssh password login.## Getting Started
Clone the repo:
```bash
$ git clone [email protected]:guillaumebriday/kamal-ansible-manager.git
$ cd kamal-ansible-manager
```Copy the inventory example file:
```bash
$ cp hosts.ini.example hosts.ini
```Update the `` with your server's IP address (you can have multiple servers):
```bash
$ vim hosts.ini
```Run the playbook:
```bash
$ ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i hosts.ini playbook.yml
```## Contributing
Do not hesitate to contribute to the project by adapting or adding features ! Bug reports or pull requests are welcome.
## License
This project is released under the [MIT](http://opensource.org/licenses/MIT) license.