GK
в смысле в одном репе?
Size: a a a
GK
A
GK
A
GK
A
Х
GK
GK
- hosts: localhost
connection: local
gather_facts: no
tasks:
- name: Create project
terraform:
project_path: '../../../terraform/projects/perf'
variables_file: '../../../terraform/projects/perf/secrets.tfvars'
state: present
register: tf_create_project
- name: Create resource
terraform:
project_path: '../../../terraform/resources/perf'
variables_file: '../../../terraform/resources/perf/secrets.tfvars'
state: present
register: tf_create_resource
# - debug:
# msg: "{{ tf_create_resource.outputs.vpn_external_ip.value }}"
- hosts: "{{ hostvars['localhost'].tf_create_resource.outputs.vpn_external_ip.value | default('web') }}"
tasks:
- debug:
msg: test
GK
GK
IB
- hosts: localhost
connection: local
gather_facts: no
tasks:
- name: Create project
terraform:
project_path: '../../../terraform/projects/perf'
variables_file: '../../../terraform/projects/perf/secrets.tfvars'
state: present
register: tf_create_project
- name: Create resource
terraform:
project_path: '../../../terraform/resources/perf'
variables_file: '../../../terraform/resources/perf/secrets.tfvars'
state: present
register: tf_create_resource
# - debug:
# msg: "{{ tf_create_resource.outputs.vpn_external_ip.value }}"
- hosts: "{{ hostvars['localhost'].tf_create_resource.outputs.vpn_external_ip.value | default('web') }}"
tasks:
- debug:
msg: test
GK
GK
IB
AK
AK
AK
ansible 2.9.6
ansible python module location = /usr/lib/python3.6/site-packages/ansible
python version = 3.6.10 (default, Jan 16 2020, 09:12:04) [GCC]
AK
MODULE FAILURE
File \"/tmp/ansible_docker_container_payload_LJPmWa/ansible_docker_container_payload.zip/ansible/modules/cloud/docker/docker_container.py\", line 2174, in has_different_configuration\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 17: ordinal not in range(128)\r\n"
AK
File "/usr/lib64/python2.7/runpy.py", line 176, in run_module