ansible-role二进制批量部署mariadb
总结构
1
1 | - include: group.yml |
2
1 | - name: create group |
3
1 | - name: create user |
4
1 | - name: mkdir |
5
1 | - name: copy data |
6
1 | - name: link |
7
1 | - name: link state |
8
1 | - name: mkdir conf |
9
1 | - name: install |
10 安全初始化
1 | #!/usr/bin/expect |