/kamal-ansible-manager

Manage and optimize your servers automatically for Kamal with Ansible

MIT LicenseMIT

Kamal Ansible Manager

This is an Ansible playbook to automatically optimize and secure your servers for Kamal, for Ubuntu only.

What's inside?

It will automatically update your packages and configure these packages to secure your server(s):

The playbook also:

  • Remove Snap.
  • Disable ssh password login.
  • Create a /letsencrypt/acme.json file.

Getting Started

Clone the repo:

$ git clone git@github.com:guillaumebriday/kamal-ansible-manager.git
$ cd kamal-ansible-manager

Copy the inventory example file:

$ cp hosts.ini.example hosts.ini

Update the <host1> with your server's IP address (you can have multiple servers):

$ vim hosts.ini

Run the playbook:

$ 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 license.