Skip to content

Commit a40fa43

Browse files
committed
Add Ansible Deployment Script Example
1 parent 158e709 commit a40fa43

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
- name: Deploy to Open
2+
# startup scripts does most of the hard work, but make sure
3+
# you're only deploying to things that finished from startup scripts
4+
hosts: open_django:&finished_startup
5+
gather_facts: true
6+
become: true
7+
8+
post_tasks:
9+
- name: Run Startup Script
10+
shell: |
11+
google_metadata_script_runner --script-type startup --debug
12+
args:
13+
chdir: /
14+
become: yes

0 commit comments

Comments
 (0)