update ansible to allow for api version changes

This commit is contained in:
Expand-sys 2022-12-11 11:14:55 +11:00
parent decfd83931
commit ed0d5c8231
2 changed files with 4 additions and 2 deletions

View file

@ -54,7 +54,7 @@
ansible.builtin.command: ansible.builtin.command:
chdir: '{{BUILD_DIR}}/CCash/build' chdir: '{{BUILD_DIR}}/CCash/build'
cmd: | cmd: |
cmake -DDROGON_CONFIG_LOC="{{ BUILD_DIR }}/CCash/config/config.json" -DUSER_SAVE_LOC="{{ BUILD_DIR }}/CCash/config/users.dat" .. cmake -DDROGON_CONFIG_LOC="{{ BUILD_DIR }}/CCash/config/config.json" -DUSER_SAVE_LOC="{{ BUILD_DIR }}/CCash/config/users.dat" -DAPI_VERSION="{{ API_VERSION }}" -DMIN_API_SUPPORT="{{ MIN_API_SUPPORT }}" ..
- name: make CCash - name: make CCash
community.general.make: community.general.make:

View file

@ -1,4 +1,6 @@
--- ---
BUILD_DIR: '/root' BUILD_DIR: '/root'
ADMIN_A: "admin" ADMIN_A: "admin"
SAVE_FREQ: "2" SAVE_FREQ: "2"
API_VERSION: "2"
MIN_API_SUPPORT: "1"