设置允许http流量的传入
[student@ansible ansible]$ ansible node1 -m firewalld -a 'service=http permanent=yes state=enabled immediate=yes'node1 | CHANGED => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "msg": "Permanent and Non-Permanent(immediate) operation, Changed service http to enabled"}测试
[student@ansible ansible]$ curl http://node1my name is luojialong
经验总结扩展阅读
- 这才是使用ps命令的正确姿势
- Ansible 批处理实战
- 小米手环6nfc使用体验_小米手环6nfc使用测评
- 如何正确使用容声冰箱 容声冰箱报价
- 秋天室内空调调制冷还是制热 秋天空调怎么使用好
- 空调秋天开什么模式好 秋季空调使用指南
- 秋天空调晚上一般开多少度为最适合 秋天空调使用指南
- CF中怎么改名(cf买了改名卡怎么使用)
- 使用LEFT JOIN 统计左右存在的数据
- ansible应用之安装elk框架