From 880ea22154374948435ecff25be6269e11f5c05a Mon Sep 17 00:00:00 2001 From: Brandon Shipley Date: Fri, 20 Dec 2024 00:18:44 -0800 Subject: [PATCH 1/2] spelling fixes compatability --- tasks/rocketchat.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/rocketchat.yml b/tasks/rocketchat.yml index 669f2ed..5e0312d 100644 --- a/tasks/rocketchat.yml +++ b/tasks/rocketchat.yml @@ -122,7 +122,7 @@ dest: "{{ local_backup_dir }}" tags: mongodump -- name: Set feature compability version if we are upgrading mongoDB +- name: Set feature compatibility version if we are upgrading mongoDB when: set_feature_compat_version community.docker.docker_container_exec: container: rocketchat_mongo_1 @@ -131,7 +131,7 @@ # chdir: /home/{{ main_user }}/rocketchat # chdir: / #docker-compose exec mongo - register: __set_feature_compability_version_mongo + register: __set_feature_compatibility_version_mongo tags: mongoupgrade - name: debug docker compose down From 8d0be5e4d58718b6f11a83254a6ebdf2e5cb1c03 Mon Sep 17 00:00:00 2001 From: Brandon Shipley Date: Fri, 20 Dec 2024 00:24:04 -0800 Subject: [PATCH 2/2] use import_tasks instead of include --- tasks/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index ab5dbca..54a215d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,7 +1,12 @@ --- # tasks file for setting up a rocketchat server on ubuntu20.04 -- include: docker.yml +- name: Include docker.yml task list + ansible.builtin.import_tasks: + file: docker.yml tags: install-docker -- include: rocketchat.yml +- name: Include rocketchat.yml task list + ansible.builtin.import_tasks: + file: rocketchat.yml + tags: rocketchat