Skip to content

Commit dede417

Browse files
committed
fix: ci galaxy
1 parent 5746ac8 commit dede417

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

Diff for: .github/workflows/release.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@ jobs:
3030
with:
3131
python-version: '3.x'
3232

33-
- name: Install Ansible.
34-
run: pip3 install ansible-core
33+
- name: Install Ansible
34+
run: |
35+
python -m pip install --upgrade pip
36+
pip install ansible
3537
3638
- name: Install required collections
3739
run: |
38-
ansible-galaxy collection install community.docker
39-
ansible-galaxy collection install community.general
40+
ansible-galaxy collection install -r requirements.yml
41+
ansible-galaxy collection install -r molecule/default/requirements.yml
4042
4143
- name: List installed collections
4244
run: ansible-galaxy collection list

Diff for: molecule/default/requirements.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
# Install a role from Ansible Galaxy.
2+
roles: []
33
collections:
44
- name: community.docker
55
version: ">=3.10.4"

Diff for: tests/roles/testrsync_server/tasks/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
that:
6262
- ansible_facts.services.rsync['state'] == 'running'
6363

64-
- name: Gather facts on listening ports
65-
community.general.listen_ports_facts:
64+
# - name: Gather facts on listening ports
65+
# community.general.listen_ports_facts:
6666

6767
- name: Test assert TCP port
6868
ansible.builtin.assert:

0 commit comments

Comments
 (0)