Project

General

Profile

Actions

Ansible cheat sheet » History » Revision 1

Revision 1/25 | Next »
Jon Goldberg, 11/06/2020 04:18 PM


{{last_updated_at}} by {{last_updated_by}}

Ansible cheat sheet

This page will cover some helpful one-line commands we can execute with Ansible to accomplish various tasks.

Roll back a site to the latest commit (e.g. after a failed merge):

ansible --become -m shell -a 'cd {{civiroot}} && git clean -fdx {{civiroot}} && get reset --hard HEAD'  mysite1.local,mysite2.local

Updated by Jon Goldberg about 4 years ago · 1 revisions