diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88417b181..6a22cab90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,9 +85,18 @@ jobs: name: fireguard-deb - name: Test Install package run: | - apt update - apt install -y postgresql wireguard iptables net-tools - dpkg -i fireguard*.deb + sudo apt update + sudo apt install -y postgresql wireguard iptables net-tools + sudo dpkg -i fireguard*.deb + + # Wait for app to start + sleep 5 + + # Ensure it's running + echo "FireGuard status:" + status=$(sudo systemctl status fireguard) + echo $status + echo $status | grep "active (running)" publish: needs: build diff --git a/ansible/playbook.yml b/ansible/playbook.yml index 5281de07a..c14e01072 100644 --- a/ansible/playbook.yml +++ b/ansible/playbook.yml @@ -18,6 +18,7 @@ - wireguard - postgresql - iptables + - net-tools - name: Configure System hosts: all become: yes