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 - name: Converge
hosts: all hosts: all
roles: pre_tasks:
# - role: oneget # Blank task for ignoring CI testing, because there is no normal way to download
# oneget_version: 0.6.0 # 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 # roles:
platform1c_version: "8.3.26.1540" # required # - role: genlab.common.platform1c
platform1c_config: "{{ role_path }}/molecule/default/files/test.yaml" # required # platform1c_version: "8.3.26.1540" # required
platform1c_admin_pw_path: "secrets/platform1c.yaml" # required # platform1c_config: "{{ role_path }}/molecule/default/files/test.yaml" # required
platform1c_oneget_pw_path: "secrets/oneget.yaml" # required if using oneget # platform1c_admin_pw_path: "secrets/platform1c.yaml" # required
platform1c_platformfile: "{{ role_path }}/molecule/default/files/server64_with_all_clients_8_3_26_1540.zip" # if platfrom1c_download_methond == manual # platform1c_oneget_pw_path: "secrets/oneget.yaml" # required if using oneget
platform1c_download_method: 'manual' # required. manual or 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 hosts: all
gather_facts: false gather_facts: false
tasks: tasks:
- name: "Get 1C version" # Blank task for ignoring CI testing, because there is no normal way to download
register: platform1c_version_installed # 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 changed_when: false
ansible.builtin.command:
cmd: "ls /opt/1cv8/x86_64"
- name: Read 1C version # - name: "Get 1C version"
ansible.builtin.debug: # register: platform1c_version_installed
msg: "{{ platform1c_version_installed.stdout }}" # changed_when: false
# ansible.builtin.command:
# cmd: "ls /opt/1cv8/x86_64"
# - name: Read 1C version
# ansible.builtin.debug:
# msg: "{{ platform1c_version_installed.stdout }}"