using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _2D命令行小游戏Beta1_0 { class... ...
分类:
其他好文 时间:
2017-02-08 22:55:03
阅读次数:
271
server: using Fleck;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace ConsoleA ...
分类:
Web程序 时间:
2017-02-08 22:48:49
阅读次数:
840
在这里我选择redis作为celery异步任务的中间人,系统选择CentOS6.5 64位。redis、celery和supervisor的安装参见官方文档。 安装完毕后: 1, 创建celery的实例/home/user_00/learn/tasks.py文件 tasks.py: 2, 启动red ...
分类:
系统相关 时间:
2017-02-08 20:15:43
阅读次数:
803
1.playbook参数详解:hosts:hosts用于指定要执行指定任务的主机其可以是一个或多个由冒号分隔主机组。
user:root指定远程主机上执行任务的用户
remote_user:root
vars:变量
tasks:任务
-name:描述
module:options
如:servericename=httpdstate=running
shell:/sbin/se..
分类:
其他好文 时间:
2017-02-03 00:43:55
阅读次数:
422
你好吗? using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Micros... ...
分类:
其他好文 时间:
2017-01-31 18:32:00
阅读次数:
293
一、AnsiblePlaybook的使用1、Playbook的核心元素2、Playbooks简介3、Playbook的基础(1)主机与用户(2)tasks任务列表(3)task定义示例(4)Playbook使用示例4、Playbook变量的使用(1)变量的定义示例5、Playbook中notifyh和handlers的使用.示例:触发6、Playbook中tags的使用7、tepm..
分类:
其他好文 时间:
2017-01-29 23:16:34
阅读次数:
4384
一、时间计时模块ansible中可以加入一个计时模块在执行ansible-playbook时显示执行时长。方便使用。1、配置方法cd/etc/ansiblemkdircallback_pluginscdcallback_pluginswgethttps://raw.githubusercontent.com/jlafon/ansible-\profile/master/callback_plugins/profile_tasks...
分类:
其他好文 时间:
2017-01-29 23:15:09
阅读次数:
1697
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows;using System.Windo... ...
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1 { class P... ...
分类:
其他好文 时间:
2017-01-28 18:08:25
阅读次数:
253
tomcat安装脚本:---
-name:Tomcatinstallandconfiguration
hosts:"{{host}}"
user:root
vars:
tomcat_home:"{{tomcat_home}}"
tasks:
-name:absentoldtomcat
file:path={{item}}state=absent
with_items:
-"{{tomcat_home}}"
-/geelyapp/auto_scripts/tomcat.sh
-name:gettom..
分类:
其他好文 时间:
2017-01-22 21:35:03
阅读次数:
2637