Ansible how to reference the variables from different tasks files – CentOS
I want to be able to reference the variable vpc_info registered by file create-public-vpc from file create-public-sunbet /etc/ansible/roles/ec2/tasks/main.yml # tasks file for ec2-provision - name: import_tasks: create-vpc.yml import_tasks: create-public-subnet.yml /etc/ansible/roles/ec2/vars/main.yml --- # vars file for ec2-provision ################################### designate python interpreter…