[default] callback_whitelist = profile_tasks # The best way I’ve found to time the execution of Ansible playbooks is by enabling the profile_tasks cal ...
分类:
其他好文 时间:
2020-11-04 19:01:00
阅读次数:
20
准备工作: 首先安装node 和 npm(不会安装的话请参考:https://www.cnblogs.com/xihailong/p/13592421.html),并且保证node版本是v6及以上,话不多说,上图 然后使用npm指令安装vue3+,安装方式如下: npm install -g @vu ...
分类:
其他好文 时间:
2020-11-04 17:37:30
阅读次数:
13
1. 安装Node包 wget https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-x64.tar.xz 2. 解压 tar xvJf node-v10.15.3-linux-x64.tar.xz 3. 重命名并移动到/usr/local下 mv ...
分类:
其他好文 时间:
2020-10-29 09:45:26
阅读次数:
20
1、更基础方法 https://www.cnblogs.com/wangyuxue/p/11218113.html 2、 安装node-gyp https://www.cnblogs.com/wangyuxue/p/11218113.html ...
分类:
其他好文 时间:
2020-10-26 10:56:04
阅读次数:
19
生产上使用splunk进行日志搜集,服务端已经安装完成,客户端有几十台需要部署,本文介绍使用ansible进行客户端批量安装
分类:
其他好文 时间:
2020-10-22 23:04:15
阅读次数:
26
实例环境:Centos 7.x 服务端的操作 1、这里我们使用epe源进行安装,需要打开自带的Base仓库 yum install epel-release -y yum install ansible -y 2、 ...
分类:
其他好文 时间:
2020-10-08 19:44:06
阅读次数:
27
修改cat/etc/ansible/hosts[test]10.27.235.108host_name=test_host_namehosts:testuser:rootgather_facts:truetasks:name:rsyncdirfilebeathostname:‘name={{host_name}}‘name:"addline"lineinfile
分类:
其他好文 时间:
2020-10-08 18:41:19
阅读次数:
19
1.yum模块 1)语法帮助 [root@m01 ~]# ansible-doc yum EXAMPLES: - name: install the latest version of Apache yum: name: httpd state: latest name: httpd #服务的名字 ...
分类:
其他好文 时间:
2020-10-07 21:26:48
阅读次数:
31