Tags: sitepilot/app-stack
Tags
Changed `app_hosts` from `test-server` to `localhost` in app1.yml and… … app2.yml. The commit updates the configuration of two applications, app1 and app2, for testing purposes. This change aims to run the applications on the local server instead of the test server to enhance the debugging process and streamline local development.
Update conditions for MySQL removal in destroy role The conditions to execute the MySQL database and user removal tasks in the Ansible role have been updated. Now, these tasks will run not only when 'mysql.service' is present in ansible_facts.services, but also when 'app_mysql_database' or 'app_mysql_user' are defined. This ensures more robust removal when cleaning apps.
Change app_bin_path and update cron PATH in app configuration The "app_bin_path" in the application configuration file has been updated to use a different directory. Also, the default PATH variable in the ansible role has been replaced with a cron PATH, ensuring that the correct paths are used when jobs are run on the server.