define migrate
parent
8211e5d3af
commit
3f9a7b15e5
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue