✨ feat(ansible): Met à jour le port Redis et renomme le script de mise à jour.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
db_user: "e-cosplay"
|
||||
db_password: "e-cosplay"
|
||||
redis_password: "e-cosplay"
|
||||
redis_port: "20101"
|
||||
redis_port: "20502"
|
||||
tasks:
|
||||
- name: Installer le support ACL pour corriger les permissions de 'become_user'
|
||||
ansible.builtin.apt:
|
||||
@@ -56,16 +56,6 @@
|
||||
state: started
|
||||
enabled: yes
|
||||
when: ansible_os_family == "Debian"
|
||||
- name: Maintenance mode artemis on
|
||||
ansible.builtin.command: php bin/console mainframe:maintenance artemis true
|
||||
become: false
|
||||
args:
|
||||
chdir: "{{ path }}"
|
||||
- name: Maintenance mode api on
|
||||
ansible.builtin.command: php bin/console mainframe:maintenance api true
|
||||
become: false
|
||||
args:
|
||||
chdir: "{{ path }}"
|
||||
- name: Créer le fichier .env.local avec les secrets de production
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
|
||||
@@ -6,7 +6,7 @@ CYAN='\033[0;36m'
|
||||
RESET='\033[0m' # Reset color to default
|
||||
|
||||
echo "${CYAN}##########################${RESET}"
|
||||
echo "${CYAN}# MAINFRAME UPDATE START #${RESET}"
|
||||
echo "${CYAN}# E-COSPLAY UPDATE START #${RESET}"
|
||||
echo "${CYAN}##########################${RESET}"
|
||||
ansible-playbook -i ansible/hosts.ini ansible/playbook.yml
|
||||
echo "${CYAN}##############${RESET}"
|
||||
|
||||
Reference in New Issue
Block a user