Skip to content

Commit baa2f53

Browse files
authored
Merge pull request #1638 from ErikJiang/update_facts_pb
Fix(spray-job): Replace facts.yml symlink to fix playbook import path
2 parents 0e23606 + b8f9d8f commit baa2f53

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.ansible-lint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ warn_list:
5050
- ignore-errors # Use failed_when and specify error conditions instead of using ignore_errors.
5151
- no-free-form # Avoid using free-form when calling module actions.
5252
exclude_paths:
53+
- playbooks/facts.yml
5354
- playbooks/disable-firewalld.yml
5455
- playbooks/config-for-kube-vip.yml
5556
- playbooks/mount-xfs-pquota.yml

build/images/spray-job/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,4 @@ COPY playbooks/ /kubespray/
1010
# Add extra python packages and collections needed for the playbooks
1111
RUN python3 -m pip install toml
1212
RUN ansible-galaxy collection install sivel.toiletwater
13-
14-
RUN ln -s playbooks/facts.yml facts.yml
15-
1613
RUN apk add --no-cache openssl

playbooks/facts.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
- name: Gather the facts
3+
ansible.builtin.import_playbook: playbooks/facts.yml

0 commit comments

Comments
 (0)