Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
image: ["debian:bullseye", "debian:bookworm"]
image: ["debian:bullseye", "debian:bookworm", "debian:trixie"]
rails_env: [staging, production]
container:
image: ${{ matrix.image }}
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ A remote server with one of the supported distributions:
- Ubuntu 24.04 x64
- Debian Bullseye x64
- Debian Bookworm x64
- Debian Trixie x64

Access to a remote server via public ssh key without password.
The default user is `deploy` but you can [use any user](#using-a-different-user-than-deploy) with sudo privileges.
Expand All @@ -49,7 +50,7 @@ Python 3 installed in the remote server

The following commands must be executed in your local machine

[Install Ansible >= 2.7](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)
[Install Ansible >= 6.x](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) (that is, ansible-core >= 2.13).

Get the Ansible Playbook

Expand Down
3 changes: 1 addition & 2 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[defaults]
# Use the YAML callback plugin.
stdout_callback = yaml
callback_result_format=yaml
allow_world_readable_tmpfiles = true
interpreter_python = auto
1 change: 1 addition & 0 deletions group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ fnm_command: "export PATH=\"{{ fnm_dir }}/:$PATH\" && eval \"$(fnm env)\""
# RVM
rvm_command: "source {{ home_dir }}/.rvm/scripts/rvm"
rvm1_delete_ruby: False
rvm1_ruby_install_flags: ""

# Errbit
errbit: False
Expand Down
4 changes: 0 additions & 4 deletions roles/letsencrypt/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
- when: domain is defined
block:
- name: Install software-properties-common
apt:
name: software-properties-common

- name: Check python3-certbot-nginx is available
command: apt-cache show python3-certbot-nginx
ignore_errors: yes
Expand Down
19 changes: 19 additions & 0 deletions roles/system/tasks/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- vim
- htop
- git-core
- gpg
- wget
- zlib1g-dev
- libssl-dev
Expand All @@ -24,4 +25,22 @@
- imagemagick
- ruby-dev
- shared-mime-info

- name: Install policykit-1
become: true
apt:
state: latest
update_cache: true
name:
- policykit-1
when: ansible_distribution_release in ["bullseye"]

- name: Install polkitd and pkexec
become: true
apt:
state: latest
update_cache: true
name:
- polkitd
- pkexec
when: ansible_distribution_release not in ["bullseye"]
2 changes: 1 addition & 1 deletion roles/user/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
- name: Install SSH key
authorized_key:
user: "{{ deploy_user }}"
key: "{{ lookup('file', '{{ ssh_public_key_path }}') }}"
key: "{{ lookup('file', ssh_public_key_path) }}"