Skip to content

Commit f98b372

Browse files
committed
use new GHA for running playbook
1 parent 1913218 commit f98b372

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/build-test-release-client-packages.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ jobs:
1818
build-linux-packages:
1919
runs-on: ubuntu-latest
2020
steps:
21+
- name: Install Ansible
22+
run: |
23+
sudo apt update --yes
24+
sudo apt install --yes software-properties-common
25+
sudo add-apt-repository --yes --update ppa:ansible/ansible
26+
sudo apt install --yes ansible
27+
2128
- name: Checkout
2229
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
2330

@@ -36,11 +43,13 @@ jobs:
3643
- name: Make symlink to group_vars
3744
run: ln -s inventory/group_vars
3845

46+
# uses: roles-ansible/check-ansible-debian-stable-action@bc4b37806481d66df213c1a8d5c59495ed7801f0
3947
- name: Prepare package source
40-
uses: roles-ansible/check-ansible-debian-stable-action@bc4b37806481d66df213c1a8d5c59495ed7801f0
48+
uses: dawidd6/action-ansible-playbook@5d970176ea4bfd99a3f5004d48e293fe0994eda1 # v2.6.1
4149
with:
42-
targets: "./prepare-client-packages.yml"
43-
hosts: "localhost"
50+
playbook: "./prepare-client-packages.yml"
51+
options: |
52+
--inventory "localhost"
4453
4554
# We probably should loop over the set {rpm,deb,osxpkg} to create packages, but
4655
# it will make debugging more annoying.

0 commit comments

Comments
 (0)