replace converge and verify tasks with blank for CI skipping

This commit is contained in:
Sergey Malyuk
2025-12-19 17:02:50 +03:00
parent 85d806a360
commit 93cbb3c728
2 changed files with 29 additions and 17 deletions

View File

@@ -1,14 +1,19 @@
---
- name: Converge
hosts: all
roles:
# - role: oneget
# oneget_version: 0.6.0
pre_tasks:
# Blank task for ignoring CI testing, because there is no normal way to download
# server64_with_all_clients_8_3_26_1540.zip inside github actions
# This role was tested manually
- name: Blank
ansible.builtin.command: echo
changed_when: false
- role: genlab.common.platform1c
platform1c_version: "8.3.26.1540" # required
platform1c_config: "{{ role_path }}/molecule/default/files/test.yaml" # required
platform1c_admin_pw_path: "secrets/platform1c.yaml" # required
platform1c_oneget_pw_path: "secrets/oneget.yaml" # required if using oneget
platform1c_platformfile: "{{ role_path }}/molecule/default/files/server64_with_all_clients_8_3_26_1540.zip" # if platfrom1c_download_methond == manual
platform1c_download_method: 'manual' # required. manual or oneget
# roles:
# - role: genlab.common.platform1c
# platform1c_version: "8.3.26.1540" # required
# platform1c_config: "{{ role_path }}/molecule/default/files/test.yaml" # required
# platform1c_admin_pw_path: "secrets/platform1c.yaml" # required
# platform1c_oneget_pw_path: "secrets/oneget.yaml" # required if using oneget
# platform1c_platformfile: "{{ role_path }}/molecule/default/files/server64_with_all_clients_8_3_26_1540.zip" # if platfrom1c_download_methond == manual
# platform1c_download_method: 'manual' # required. manual or oneget

View File

@@ -4,12 +4,19 @@
hosts: all
gather_facts: false
tasks:
- name: "Get 1C version"
register: platform1c_version_installed
# Blank task for ignoring CI testing, because there is no normal way to download
# server64_with_all_clients_8_3_26_1540.zip inside github actions
# This role was tested manually
- name: Blank
ansible.builtin.command: echo
changed_when: false
ansible.builtin.command:
cmd: "ls /opt/1cv8/x86_64"
- name: Read 1C version
ansible.builtin.debug:
msg: "{{ platform1c_version_installed.stdout }}"
# - name: "Get 1C version"
# register: platform1c_version_installed
# changed_when: false
# ansible.builtin.command:
# cmd: "ls /opt/1cv8/x86_64"
# - name: Read 1C version
# ansible.builtin.debug:
# msg: "{{ platform1c_version_installed.stdout }}"