NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
apache安装 #this is ansible playbook ```` - hosts: oldboy tasks: - name: Install Httpd Service yum: name=httpd,httpd-tools state=installed - name: Configure Httpd Server copy: src=./httpd.conf dest=/etc/httpd/conf/httpd.conf notify: Restart Httpd Server - name: Start Httpd Service service: name=httpd state=started enabled=yes handlers: - name: Restart Httpd Server service: name=httpd state=restarted ```` #检查剧本 ansible-playbook --syntax-check httpd_install.yaml #模拟测试 ansible-playbook -C httpd_install.yaml