题目一答案

图片

图片

图片

题目二答案

[user1@controller roles]$ ansible-galaxy role init newapache
[user1@controller roles]$ ansible-galaxy role init ceshi

图片

图片

图片

题目三答案

图片

[user1@controller p1]$
vim mycollection/ansible_collections/redhat/rhel_system_roles/roles/storage/vars/other.yaml

图片