码迷,mamicode.com
首页 >  
搜索关键字:ansible configuration management    ( 11126个结果
keepalived
keepalived配置文件 ! Configuration File for keepalived global_defs { notification_email { root@localhost } notification_email_from root@localhost smtp_ser ...
分类:其他好文   时间:2020-12-09 12:31:15    阅读次数:14
ansible playbook 安装docker
1.新增host配置到/etc/ansible/hosts文件中 [docker] 192.168.43.95 2.配置无密码登录 # 配置ssh,默认rsa加密,保存目录(公钥)~/.ssh/id_rsa.pub ssh-keygen -t rsa # 配置无密码登陆,这里需要分别4次发送至4台服 ...
分类:其他好文   时间:2020-12-09 12:17:15    阅读次数:4
ansible部署jdk
[root@node1 tasks]# cat main.yml name: 拷贝JKD到目标服务器 unarchive: src={{ jdk_pkg }} dest={{ jdk_dir }} mode=755 name: 添加环境变量 blockinfile: dest: /etc/profi ...
分类:其他好文   时间:2020-12-09 12:12:06    阅读次数:6
真懂Spring的@Configuration配置类?你可能自我感觉太良好
往期推荐程序人生|春风得意马蹄疾,一日看尽长安花不懂SpringApplication生命周期事件?那就等于不会SpringBoot嘛使用@AutoConfigureBefore调整配置顺序竟没生效?前言各位小伙伴大家好,我是A哥。这是一篇“插队”进来的文章,源于我公众号下面的这句评论:官方管这两种模式分别叫:Full@Configuration和lite@Beanmode,口语上我习惯把它称为S
分类:编程语言   时间:2020-12-07 12:11:44    阅读次数:5
可视化JVM中的内存管理
? Part of "memory-management" series Please follow me on Twitter for updates and let me know if something can be improved in the post. In this multi-p ...
分类:其他好文   时间:2020-12-05 11:10:24    阅读次数:7
spring-boot-configuration-processor用处
本文转自: https://blog.csdn.net/yuhan_0590/article/details/85100246 spring默认使用yml中的配置,但有时候要用传统的xml或properties配置,就需要使用spring-boot-configuration-processor了 ...
分类:编程语言   时间:2020-12-05 10:55:23    阅读次数:8
# ad-hoc篇
##1、--list-hosts # 查看所有配置主机 ansible all --list-hosts #查看tt主机组主机 ansible tt --list-hosts ##2、shell模块 语法: ansible [主机组] -m shell -a '[参数]' 注:复杂命令会有出错得可能 ...
分类:其他好文   时间:2020-12-04 11:29:42    阅读次数:5
批量抓包
-hosts:allvars:cap_file:packet_capture_{{ansible_hostname}}.pcaptasks:-name:starttcpdump#command:/usr/sbin/tcpdump-nnviany‘port80‘-s0-B65535-C50M-W100-w/data/tmp/{{cap_file}}command:/usr/sbin/tcpdump-
分类:其他好文   时间:2020-12-02 12:46:20    阅读次数:26
esp8266环境搭建
1、安信可官方方法 :http://aiclouds3.0-docs.aithinker.com/#/2.device/configuration_linux 一堆必安的依赖包 :sudo apt-get install git wget flex bison gperf python python ...
分类:其他好文   时间:2020-12-02 12:26:38    阅读次数:4
Ansible 常用的模块
接下来介绍一些后面章节中会用到的模块,也是很常用的模块。@调试和测试类的模块。。ping:ping一下你的远程主机,如果可以通过Ansible连接成功,那么返回pong。?debug:用于调试的模块,只是简单打印些消息,有点像Linux的echo命令。@文件类的模块。?copy:从本地复制文件到远程节点。。template:从本地复制文件到远程节点,并进行变量的替换。?file:设置文件属性。C)
分类:其他好文   时间:2020-12-02 12:01:25    阅读次数:2
11126条   上一页 1 ... 17 18 19 20 21 ... 1113 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!