Skip to content

WIP: TODO: Make it run on debian #109

WIP: TODO: Make it run on debian

WIP: TODO: Make it run on debian #109

Workflow file for this run

---
name: Run bootstrap script
on: # yamllint disable-line rule:truthy
push:
branches:
- main
pull_request:
jobs:
bootstrap_archlinux:
runs-on: ubuntu-latest
container:
image: archlinux:latest
options: --privileged
steps:
- uses: actions/[email protected]
- run: |
pacman --sync --refresh --noconfirm --sysupgrade python sudo
useradd ansible --create-home
passwd --delete ansible
echo 'ansible ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
sudo --user ansible ./bootstrap.sh
bootstrap_ubuntu:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
options: --privileged
steps:
- uses: actions/[email protected]
- run: |
apt update
apt upgrade --yes
apt install --yes python3 python3-venv python-is-python3 sudo
useradd ansible --create-home
passwd --delete ansible
echo 'ansible ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
sudo --user ansible ./bootstrap.sh