当前位置:网站首页>AUTOMATION DAY06 (Ansible Advanced, Ansible Role)
AUTOMATION DAY06 (Ansible Advanced, Ansible Role)
2022-08-11 06:59:00 【zoujiangMr】
Case 1: Ansible Application Case
Case 2: Ansible Roles
1 Case 1: Ansible application case
1.1 Question
This case requires more advanced grammar knowledge of Ansible, the specific requirements are as follows:
- Familiar with firewalld and template modules
- Familiar with the error handling mechanism
- Familiar with handler tasks
- Familiar with when conditional judgment
- Familiar with the block task block
- Familiar with how to use the loop loop
1.2 Steps
The following steps are required to implement this case.
Step 1: firewalld module
Use the firewalld module to configure firewall policies.
[[email protected] ~]# vim ~/ansible/firewall.yml---- hosts: test #hosts defines the hosts that need to be remotetasks: 边栏推荐
猜你喜欢
随机推荐
【转】Unity 内置渲染管线、SRP、URP、HDRP区别
胖鸟博客之勒索病毒紧急处理文件恢复及防范方案
CLR via C# 第五章 基元类型、引用类型和值类型
Unity C# 面试题、知识点总结
Project Notes - Random 2
SSL证书部署后,为什么还是显示不安全?
Vulnhub靶机--DC7
SECURITY DAY05(Kali系统 、 扫描与抓包 、 SSH基本防护、服务安全 )
项目笔记——随机2
web网络安全笔记
文本三剑客——sed 修改、替换
Unity的程序集Assembly 与 加快代码编译速度
Deep Learning Matlab Toolbox Code Comments
实操指南:多个域名该买哪种SSL证书?
2022年全国职业技能大赛网络安全竞赛试题B模块自己解析思路(5)
Lua 字符串
脚本自动选择Hierarchy或Project下的对象
将UI的点击事件渗透下去
无胁科技-TVD每日漏洞情报-2022-7-28
lua杂记









