define migrate

pull/1/head
Raymond Yee 2016-05-09 14:26:24 -07:00
parent 8211e5d3af
commit 3f9a7b15e5
1 changed files with 1 additions and 2 deletions

View File

@ -5,8 +5,6 @@
aws_secret_key: "{{ lookup('env','AWS_SECRET_ACCESS_KEY') }}" aws_secret_key: "{{ lookup('env','AWS_SECRET_ACCESS_KEY') }}"
target: '{{vname}}' target: '{{vname}}'
dev_ssh_host: "{{ hostvars[target]['ansible_ssh_host'] }}" dev_ssh_host: "{{ hostvars[target]['ansible_ssh_host'] }}"
migrate: "{{do_migrate | default('true')}}"
tasks: tasks:
- name: print dev_ssh_host - name: print dev_ssh_host
@ -43,6 +41,7 @@
aws_access_key: "{{ lookup('env','AWS_ACCESS_KEY_ID') }}" aws_access_key: "{{ lookup('env','AWS_ACCESS_KEY_ID') }}"
aws_secret_key: "{{ lookup('env','AWS_SECRET_ACCESS_KEY') }}" aws_secret_key: "{{ lookup('env','AWS_SECRET_ACCESS_KEY') }}"
target: '{{vname}}' target: '{{vname}}'
migrate: "{{do_migrate | default('true')}}"
sudo: yes sudo: yes
pre_tasks: pre_tasks: