当离线版本的x86版本的ansible用久了后,放到arm上以为也还能用,一安装才知道,嘿,用不了。
那就下载arm版本的ansible吧。离线安装版本,留着备用。
# lscpu
架构: aarch64
CPU 运行模式: 64-bit
字节序: Little Endian
CPU: 32
在线 CPU 列表: 0-31
每个核的线程数: 1
每个座的核数: 16
座: 2
NUMA 节点: 1
厂商 ID: HiSilicon
型号: 0
型号名称: Kunpeng-920
步进: 0x1
BogoMIPS: 200.00
NUMA 节点0 CPU: 0-31
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1: Mitigation; __user pointer sanitization
Vulnerability Spectre v2: Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
标记: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm
arm资源信息
链接: https://caiyun.139.com/m/i?185CEev6y1xHS 提取码:RcMC
# ansible --version
[DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.7.9 (default, Mar 2 2021, 14:57:35) [GCC 7.3.0]. This
feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ansible [core 2.11.12]
config file = None
configured module search path = ['/data/dag/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /data/dag/.local/lib/python3.7/site-packages/ansible
ansible collection location = /data/dag/.ansible/collections:/usr/share/ansible/collections
executable location = /data/dag/.local/bin/ansible
python version = 3.7.9 (default, Mar 2 2021, 14:57:35) [GCC 7.3.0]
jinja version = 2.11.2
libyaml = True
x86资源列表
链接: https://caiyun.139.com/m/i?185CEKwQ3LlnF 提取码:t9Xd
# ansible --version
ansible 2.9.27
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/yyt/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /bin/ansible
python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]