Skip to content

Commit f1e0baf

Browse files
committed
move set_nginx_containers_files to nginx playbook
1 parent 62fcba2 commit f1e0baf

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

tasks/nginx.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,16 @@
4848
tags: [always, nginx]
4949

5050

51+
- name: copy adjust containers files script to the host machine
52+
ansible.builtin.template:
53+
src: adjust_containers_files.sh.j2
54+
dest: /tmp/adjust_containers_files.sh
55+
mode: '0755'
56+
tags: [never, set_nginx_containers_files]
57+
58+
- name: Execute the templated script
59+
become: yes
60+
ansible.builtin.command: bash /tmp/adjust_containers_files.sh
61+
tags: [never, set_nginx_containers_files]
5162

5263
# always qq

tasks/searchengine.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -439,16 +439,3 @@
439439
- "{{ apps_folder }}/searchengine/searchengine/logs/:/opt/app-root/src/logs/"
440440
- "{{ apps_folder }}/data_dump:/data/data_dump"
441441
tags: [never, bff_screens]
442-
443-
- name: copy adjust containers files script to the host machine
444-
ansible.builtin.template:
445-
src: adjust_containers_files.sh.j2
446-
dest: /tmp/adjust_containers_files.sh
447-
mode: '0755'
448-
tags: [never, set_nginx_containers_files]
449-
450-
- name: Execute the templated script
451-
become: yes
452-
ansible.builtin.command: bash /tmp/adjust_containers_files.sh
453-
tags: [never, set_nginx_containers_files]
454-

0 commit comments

Comments
 (0)