EX294

Study mode — explanations shown

1

Manage task execution and roles

medium

Refer to the exhibit. When the playbook runs on target1, which value will nginx_port have in the role?

Network Topology
[root@control ansible]# ansible-inventoryhost target1yaml[root@control ansible]# cat roles/nginx/vars/main.ymlnginx_port: 8080nginx_user: nginx[root@control ansible]# cat roles/nginx/defaults/main.ymlnginx_port: 80nginx_user: www-data[root@control ansible]# cat playbook.yml- hosts: allroles:- role: nginxvars:nginx_port: 443all:hosts:target1:nginx_port: 9090nginx_user: custom
0 of 120 answered