Skip to content

Commit 2f157b8

Browse files
committedDec 6, 2024
fix ansible
1 parent 72efe68 commit 2f157b8

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
 

‎.forgejo/workflows/ansibleCD.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Run Ansible Playbook
9090
uses: docker://mafyuh/ansible-bws:v1.0.3
9191
with:
92-
args: ansible-playbook -i hosts.ini /playbooks/deploy-docker.yml --extra-vars "target_host=$target_host folder=$folder"
92+
args: ansible-playbook -i hosts.ini ./playbooks/deploy-docker.yml --extra-vars "target_host=$target_host folder=$folder"
9393
env:
9494
BWS_ACCESS_TOKEN: ${{ secrets.BWS_ACCESS_TOKEN }}
9595
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

‎ansible/hosts.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
[iac]
22
arrs.lan ansible_host={{ lookup('bitwarden.secrets.lookup', 267abc49-f755-4c88-a2a8-b23d00503e31) }}
3+
ai.lan ansible_host={{ lookup('bitwarden.secrets.lookup', e74d1f67-c909-4a2e-b6fc-b23e001dfa4a) }}
4+
arm.lan ansible_host={{ lookup('bitwarden.secrets.lookup', 6f9cef86-eb39-4e05-8c5b-b23e001e6170) }} ansible_user=ubuntu ansible_port=2424
5+
auth.lan ansible_host={{ lookup('bitwarden.secrets.lookup', 52512c15-b474-42c3-9835-b23e001edf35) }}
6+
jf.lan ansible_host={{ lookup('bitwarden.secrets.lookup', 903364d9-1b29-4b7f-aa66-b23e001f7327) }}
7+
kasm.lan ansible_host={{ lookup('bitwarden.secrets.lookup', e4c5d8be-b91f-41ab-8071-b23e00203340) }}
8+
netboot.lan ansible_host={{ lookup('bitwarden.secrets.lookup', 566329f5-5af3-4bcd-b187-b23e00216134) }}
9+
npm.lan ansible_host={{ lookup('bitwarden.secrets.lookup', fb62a8d1-6dd5-4fab-aff4-b23e0021e215) }}
10+
runner.lan ansible_host={{ lookup('bitwarden.secrets.lookup', 90a16954-45df-49ad-9f45-b23e002273c5) }}
11+
ubu.lan ansible_host={{ lookup('bitwarden.secrets.lookup', a5b6fa4b-4643-4f85-988b-b23e00245e2f) }}

0 commit comments

Comments
 (0)
Please sign in to comment.