Skip to content

swebvn/hansible

Repository files navigation

hansible

Install wordpress plugin

This playbook also active the plugin after install it. Copy the plugin zip file in /roles/install-wp-plugin/files/ folder. Sample command

ansible-playbook playbooks/install-wp-plugin.yml -e "plugin_zip=intercept-carshield.zip  plugin_name=intercept-cardshield"  -i inventories/wordpress.ini

Update wordpress plugin

Copy the plugin zip file in /roles/update-wp-plugin/files/ folder. Sample command

ansible-playbook playbooks/update-wp-plugin.yml -e "plugin_zip=intercept-cardshield.zip plugin_name=intercept-cardshield" -i inventories/wordpress.ini"

Runn php artisan command (Lunar only)

Example

ansible-playbook playbooks/lunar-artisan.yml -e "command='php artisan inspire'" -i inventories/lunar.ini

Migrate lunar server to v2

Remember change the inventory file to new server

Migrate lunar to v2 server

ansible-playbook playbooks/lunar2-migrate.yml -i lunar.ini

Setup the hub on new server, remember to point domain for each server, this can only run once.

export BUNNY_API_KEY=your_bunny_api_key
ansible-playbook playbooks/lunar2-createhub-hub.yml -i lunar.ini -e "domain=s322.tdalunar.com"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published