单项选择题
YAML语法中如何需要配置变量开头的变量正确的配置方式()。
A.app_path:{{base_path }}/22
B.app_path="{{base_path }}/22"
C.app_path={{base_path }}/22
D.app_path:"{{base_path }}/22"
点击查看答案&解析
相关考题
-
单项选择题
ansible 能进行配置的变量格式()。
A.foo-port
B.foo por
C.foo.port
D.foo_port -
单项选择题
ansible 配置在配置发生改变时执行的操作()执行特定操作。
A.task 中设定
B.Handlers设定
C.playbook中设定 -
单项选择题
ansible配置文件查找顺序()。
A.~/.ansible.cfg,检查当前目录下的ansible.cfg配置文件
B./etc/ansible.cfg检查etc目录的配置文件
C.变量ANSIBLE_CONFIG指向的路径文件(export ANSIBLE_CONFIG=/etc/ansible.cfg)
