Skip to content

Commit

Permalink
Remove obsolete tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Ndpnt committed Nov 28, 2023
1 parent 1ddff59 commit 6265348
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions roles/engine/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,33 @@
key_file: '/home/{{ ansible_user }}/.ssh/ota-bot-key'
depth: 1
tags:
- setup
- update
- update-declarations

- name: Install services declarations dependencies
ansible.builtin.command:
cmd: npm install --production
chdir: '/home/{{ ansible_user }}/{{ ota_declarations_directory }}'
tags:
- setup
- update
- update-declarations

- name: Add .env file
ansible.builtin.copy:
src: .env
dest: '/home/{{ ansible_user }}/{{ ota_declarations_directory }}/.env'
mode: "644"
tags:
- setup

- name: Add pm2 config file
ansible.builtin.copy:
src: pm2.config.cjs
dest: '/home/{{ ansible_user }}/{{ ota_declarations_directory }}/pm2.config.cjs'
mode: "644"
tags:
- setup

- name: Stop Open Terms Archive schedulers
ansible.builtin.command:
cmd: pm2 stop pm2.config.cjs
chdir: '/home/{{ ansible_user }}/{{ ota_declarations_directory }}'
tags:
- stop
- update
- update-declarations

- name: Setup snapshots git repository
Expand All @@ -54,9 +45,6 @@
engine_database_repository: '{{ app_config.recorder.snapshots.storage.git.repository }}'
engine_database_branch: '{{ ota_snapshots_branch }}'
engine_database_directory: '/home/{{ ansible_user }}/{{ ota_declarations_directory }}/{{ app_config.recorder.snapshots.storage.git.path }}'
tags:
- setup
- update

- name: Setup versions git repository
ansible.builtin.include_tasks: database.yml
Expand All @@ -66,9 +54,6 @@
engine_database_repository: '{{ app_config.recorder.versions.storage.git.repository }}'
engine_database_branch: '{{ ota_versions_branch }}'
engine_database_directory: '/home/{{ ansible_user }}/{{ ota_declarations_directory }}/{{ app_config.recorder.versions.storage.git.path }}'
tags:
- setup
- update

- name: Start Open Terms Archive schedulers
ansible.builtin.command:
Expand All @@ -79,5 +64,4 @@
tags:
- restart
- start
- update
- update-declarations

0 comments on commit 6265348

Please sign in to comment.