1 Star 0 Fork 13

duxiaohui/k8s 高可用集群 ansible 剧本部署

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ps1_mod.yaml 332 Bytes
一键复制 编辑 原始数据 按行查看 历史
山河已无恙 提交于 2023-02-05 23:52 . init
---
- name: all modify PS1
hosts: ansible_node
tasks:
- name: PS1 modify
shell: echo 'PS1="\[\033[1;32m\]┌──[\[\033[1;34m\]\u@\H\[\033[1;32m\]]-[\[\033[0;1m\]\w\[\033[1;32m\]] \n\[\033[1;32m\]└─\[\033[1;34m\]\$\[\033[0m\]"' >> /root/.bashrc
- name: PS1 disply
shell: cat /root/.bashrc | grep PS1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dxh-gitee/k8s_deploy_ansible.git
git@gitee.com:dxh-gitee/k8s_deploy_ansible.git
dxh-gitee
k8s_deploy_ansible
k8s 高可用集群 ansible 剧本部署
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385