Linux Distribution Debian Family Debian Bullseye (11) Bookworm (12) Ubuntu Jammy (22.04) Noble (24.04) RedHat Family Rocky Linux 9 Fedora 41 SUSE Family openSUSE Tumbleweed Note: other versions are likely to work but have not been tested. ...
this is needed in order to make some libraries available when running on RockyLinux Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>main (#7521) guits committed Mar 20, 2024 1 parent c42c0c3 commit 867be7c Showing 2 changed files with 11 additions and 1 deletion. Whitespace Ignore...
docker_yum_url:"https://mirrors.aliyun.com/docker-ce/linux/{{ ansible_distribution | lower }}" docker_custom_config: {"registry-mirrors": ["https://uyah70su.mirror.aliyuncs.com"],"data-root":"/data/docker/data-root","log-opts": {"max-size":"10m","max-file":"3"}} EOF 9.部...
Rocky Linux: 8 OracleLinux: 7, 8 Ubuntu: 16.04 Windows: Server 2012 R2 Note that for the "local" installation mode (the default), this role will locally download only one instance of the Consul archive, unzip it and install the resulting binary on all desired Consul hosts. To do so req...
- name: Install Apache on Rocky Linux Server dnf: name: httpd state: present become: yes when: ansible_os_family == "RedHat" - name: Install Apache2 on Ubuntu Server apt: name: apache2 state: present become: yes when: ansible_os_family == "Debian" ...
[rocky] 10.0.0.28ansible_connection=sshansible_ssh_port=6666ansible_ssh_user=rootansible_ssh_password=redhat#指定用户和密码 www.wang.org#通用域名连接,需要在/etc/hosts解析 [ubuntu] 10.0.0.101 10.0.0.102 [centos] 10.0.0.7 [local] 10.0.0.18ansible_connection=local##指定本地连接,无需ssh配置 ...
被控端如开启SELinux需要安装libselinux-python windows 不能做为主控端,只能做为被控制端 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. Ansible 安装 Ubuntu apt安装 [root@ubuntu2004 ~]#apt install -y ansible 正在读取软件包列表... 完成 ...
Alpine Linux: 3.8 CentOS: 7, 8 Debian: 9 FreeBSD: 11 Mac OS X: 10.15 (Catalina) RHEL: 7, 8 Rocky Linux: 8 OracleLinux: 7, 8 Ubuntu: 16.04 Windows: Server 2012 R2 Note that for the "local" installation mode (the default), this role will locally download only one instance of the...
Linux Distribution Debian Family Ubuntu Jammy (22.04) Noble (24.04) RedHat Family Rocky Linux 9 Note: other versions are likely to work but have not been tested.Java JDK You need to install the JDK src as well as the JDK. When using Java > 9 you also need to install the jmods. e...
1、loops循环 使用循环可以灵活的管理很多数据 1.1 通过变量文件写loop循环 [student@workstation ansible-var]$ cat group_vars/all# 定义变量矩阵,存储相关信息---packages:-name:httpdstate:started-name:firewalldstate:started[student@workstation ansible-var]$ cat install.yml# 使用循环安装软件包和服务---...