Skip to content

Commit

Permalink
chore: use docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
maskudo committed Apr 20, 2024
1 parent bfacfc8 commit 300efa9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,22 @@ on: [push]
jobs:
run-ansible-playbook:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install Ansible
run: |
python -m pip install --upgrade pip
pip install ansible
apt update
apt upgrade -y
apt install ansible -y
# python -m pip install --upgrade pip
# pip install ansible
- name: checkout repo
uses: actions/checkout@v4
- name: run ansible-playbook
run: |
cd ${{ github.workspace }}
cat local.yml
ansible-playbook --vault-password-file <(echo ${{ secrets.VAULT_PASS }}) local.yml
4 changes: 2 additions & 2 deletions local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
roles:
- core
- configs
# - fonts
# - gui
- fonts
- gui
# - laptop
- programming

0 comments on commit 300efa9

Please sign in to comment.