x86_64 ansible 源码编译安装
源码
GitHub - ansible/ansible: Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
编译安装过程记录
依赖
yeqiang@yeqiang-MS-7B23:~/Downloads/src/ansible$ python3 -m pip install -v -r requirements.txt
Using pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting jinja2>=3.0.0Using cached https://pypi.tuna.tsinghua.edu.cn/packages/bc/c3/f068337a370801f372f2f8f6bad74a5c140f6fda3d9de154052708dd3c65/Jinja2-3.1.2-py3-none-any.whl (133 kB)
Requirement already satisfied: PyYAML>=5.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 7)) (5.4.1)
Requirement already satisfied: cryptography in /home/yeqiang/.local/lib/python3.10/site-packages (from -r requirements.txt (line 8)) (36.0.2)
Collecting packagingUsing cached https://pypi.tuna.tsinghua.edu.cn/packages/ab/c3/57f0601a2d4fe15de7a553c00adbc901425661bf048f2a22dfc500caf121/packaging-23.1-py3-none-any.whl (48 kB)
Collecting resolvelib<1.1.0,>=0.5.3Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d2/fc/e9ccf0521607bcd244aa0b3fbd574f71b65e9ce6a112c83af988bbbe2e23/resolvelib-1.0.1-py2.py3-none-any.whl (17 kB)
Collecting MarkupSafe>=2.0Using cached https://pypi.tuna.tsinghua.edu.cn/packages/12/b3/d9ed2c0971e1435b8a62354b18d3060b66c8cb1d368399ec0b9baa7c0ee5/MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Requirement already satisfied: cffi>=1.12 in /home/yeqiang/.local/lib/python3.10/site-packages (from cryptography->-r requirements.txt (line 8)) (1.15.1)
Requirement already satisfied: pycparser in /home/yeqiang/.local/lib/python3.10/site-packages (from cffi>=1.12->cryptography->-r requirements.txt (line 8)) (2.21)
Installing collected packages: resolvelib, packaging, MarkupSafe, jinja2
Successfully installed MarkupSafe-2.1.3 jinja2-3.1.2 packaging-23.1 resolvelib-1.0.1
构建
yeqiang@yeqiang-MS-7B23:~/Downloads/src/ansible$ python3 setup.py build
running build
running build_py
creating build
creating build/lib
creating build/lib/ansible
...copying test/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules/module_args.py -> build/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules
copying test/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules/schema.py -> build/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules
copying test/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules/utils.py -> build/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules
creating build/lib/ansible_test/_util/controller/sanity/yamllint/config
copying test/lib/ansible_test/_util/controller/sanity/yamllint/config/default.yml -> build/lib/ansible_test/_util/controller/sanity/yamllint/config
copying test/lib/ansible_test/_util/controller/sanity/yamllint/config/modules.yml -> build/lib/ansible_test/_util/controller/sanity/yamllint/config
copying test/lib/ansible_test/_util/controller/sanity/yamllint/config/plugins.yml -> build/lib/ansible_test/_util/controller/sanity/yamllint/config
creating build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-aws.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-azure.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-cloudscale.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-cs.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-gcp.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-hcloud.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-opennebula.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-openshift.kubeconfig.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-scaleway.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-vcenter.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/cloud-config-vultr.ini.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/inventory.networking.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/inventory.winrm.template -> build/lib/ansible_test/config
copying test/lib/ansible_test/config/config.yml -> build/lib/ansible_test/config
running build_scripts
creating build/scripts-3.10
copying and adjusting bin/ansible-test -> build/scripts-3.10
changing mode of build/scripts-3.10/ansible-test from 664 to 775
安装
yeqiang@yeqiang-MS-7B23:~/Downloads/src/ansible$ sudo python3 setup.py install
...byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/integration-aliases/yaml_to_json.py to yaml_to_json.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/validate-modules/validate.py to validate.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/validate-modules/validate_modules/__init__.py to __init__.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/validate-modules/validate_modules/main.py to main.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/validate-modules/validate_modules/module_args.py to module_args.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/validate-modules/validate_modules/schema.py to schema.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/validate-modules/validate_modules/utils.py to utils.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/yamllint/yamllinter.py to yamllinter.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/pylint/plugins/deprecated.py to deprecated.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/pylint/plugins/string_format.py to string_format.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/ansible_test/_util/controller/sanity/pylint/plugins/unwanted.py to unwanted.cpython-310.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.10/ansible-test -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/ansible-test to 775
copying lib/ansible_core.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/ansible_core.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/ansible_core.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/ansible_core.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/ansible_core.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/ansible_core.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/ansible_core.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating dist
creating 'dist/ansible_core-2.16.0.dev0-py3.10.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing ansible_core-2.16.0.dev0-py3.10.egg
creating /usr/local/lib/python3.10/dist-packages/ansible_core-2.16.0.dev0-py3.10.egg
Extracting ansible_core-2.16.0.dev0-py3.10.egg to /usr/local/lib/python3.10/dist-packages
Adding ansible-core 2.16.0.dev0 to easy-install.pth file
Installing ansible-test script to /usr/local/bin
Installing ansible script to /usr/local/bin
Installing ansible-config script to /usr/local/bin
Installing ansible-connection script to /usr/local/bin
Installing ansible-console script to /usr/local/bin
Installing ansible-doc script to /usr/local/bin
Installing ansible-galaxy script to /usr/local/bin
Installing ansible-inventory script to /usr/local/bin
Installing ansible-playbook script to /usr/local/bin
Installing ansible-pull script to /usr/local/bin
Installing ansible-vault script to /usr/local/binInstalled /usr/local/lib/python3.10/dist-packages/ansible_core-2.16.0.dev0-py3.10.egg
Processing dependencies for ansible-core==2.16.0.dev0
Searching for resolvelib<1.1.0,>=0.5.3
Reading https://pypi.org/simple/resolvelib/
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future releasewarnings.warn(
Downloading https://files.pythonhosted.org/packages/d2/fc/e9ccf0521607bcd244aa0b3fbd574f71b65e9ce6a112c83af988bbbe2e23/resolvelib-1.0.1-py2.py3-none-any.whl#sha256=d2da45d1a8dfee81bdd591647783e340ef3bcb104b54c383f70d422ef5cc7dbf
Best match: resolvelib 1.0.1
Processing resolvelib-1.0.1-py2.py3-none-any.whl
Installing resolvelib-1.0.1-py2.py3-none-any.whl to /usr/local/lib/python3.10/dist-packages
Adding resolvelib 1.0.1 to easy-install.pth fileInstalled /usr/local/lib/python3.10/dist-packages/resolvelib-1.0.1-py3.10.egg
Searching for packaging
Reading https://pypi.org/simple/packaging/
Downloading https://files.pythonhosted.org/packages/ab/c3/57f0601a2d4fe15de7a553c00adbc901425661bf048f2a22dfc500caf121/packaging-23.1-py3-none-any.whl#sha256=994793af429502c4ea2ebf6bf664629d07c1a9fe974af92966e4b8d2df7edc61
Best match: packaging 23.1
Processing packaging-23.1-py3-none-any.whl
Installing packaging-23.1-py3-none-any.whl to /usr/local/lib/python3.10/dist-packages
Adding packaging 23.1 to easy-install.pth fileInstalled /usr/local/lib/python3.10/dist-packages/packaging-23.1-py3.10.egg
Searching for jinja2>=3.0.0
Reading https://pypi.org/simple/jinja2/
Downloading https://files.pythonhosted.org/packages/bc/c3/f068337a370801f372f2f8f6bad74a5c140f6fda3d9de154052708dd3c65/Jinja2-3.1.2-py3-none-any.whl#sha256=6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61
Best match: Jinja2 3.1.2
Processing Jinja2-3.1.2-py3-none-any.whl
Installing Jinja2-3.1.2-py3-none-any.whl to /usr/local/lib/python3.10/dist-packages
Adding Jinja2 3.1.2 to easy-install.pth fileInstalled /usr/local/lib/python3.10/dist-packages/Jinja2-3.1.2-py3.10.egg
Searching for MarkupSafe>=2.0
Reading https://pypi.org/simple/MarkupSafe/
Downloading https://files.pythonhosted.org/packages/12/b3/d9ed2c0971e1435b8a62354b18d3060b66c8cb1d368399ec0b9baa7c0ee5/MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=65c1a9bcdadc6c28eecee2c119465aebff8f7a584dd719facdd9e825ec61ab52
Best match: MarkupSafe 2.1.3
Processing MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Installing MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl to /usr/local/lib/python3.10/dist-packages
Adding MarkupSafe 2.1.3 to easy-install.pth fileInstalled /usr/local/lib/python3.10/dist-packages/MarkupSafe-2.1.3-py3.10-linux-x86_64.egg
Searching for cryptography==3.4.8
Best match: cryptography 3.4.8
Adding cryptography 3.4.8 to easy-install.pth fileUsing /usr/lib/python3/dist-packages
Searching for PyYAML==5.4.1
Best match: PyYAML 5.4.1
Adding PyYAML 5.4.1 to easy-install.pth fileUsing /usr/lib/python3/dist-packages
Finished processing dependencies for ansible-core==2.16.0.dev0
相关文章:
x86_64 ansible 源码编译安装
源码 GitHub - ansible/ansible: Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a languag…...
数据结构学习系列之顺序表的两种插入方式
方式1:在顺序表末端插入数据元素,代码如下:示例代码: int insert_seq_list_1(list_t *seq_list,int data){if(NULL seq_list){printf("入参为NULL\n");return -1;}if(N seq_list->count){printf("顺序表已满…...
Matlab/Python教程系列 | 根据目录下的已有图片制作视频(动画)
MATLAB和Python的编程教程: 根据目录下的已有图片制作视频(动画) 注1:本文系“MATLAB/Python编程教程”系列之一,致力于使用Python和Matlab实现特定的功能。本次要实现的功能是:根据目录下的已有图片制作视频(动画)。 在这个教程中,我们将一起学习如何使用MATLAB和Python编…...
Pyecharts数据可视化(一)
目录 1.Pyecharts简介 2.Pyecharts的常用方法 3.Pyecharts绘制柱状图 3.1 绘制并列柱状图 3.2 绘制水平直方图 1.Pyecharts简介 Pyecharts是一个用于创建交互式图表的Python库。它基于Echarts,一个强大的JavaScript图表库,Pyecharts允许Python开发者…...
stable diffusion实践操作-提示词-图片结构
系列文章目录 stable diffusion实践操作-提示词 文章目录 系列文章目录前言一、提示词汇总1.1 图片结构11.2 图片结构21.3 图片结构3 二、总结 前言 本文主要收纳总结了提示词-图片结构。 一、提示词汇总 1.1 图片结构1 StylesArtistshudson river school哈得逊河学派alpho…...
程序员自由创业周记#2:前期准备
感恩 上次公开了创业的决定后,得到了很多亲朋好友和陌生朋友的鼓励或支持,以不同的形式,感动之情溢于言表。这些都会记在心里,大恩不言谢~ 创业方向 笔者是一名资质平平的iOS开发程序猿,创业项目也就是开发App卖&am…...
Elasticsearch实战(四):Springboot实现Elasticsearch指标聚合与下钻分析open-API
文章目录 系列文章索引一、指标聚合与分类1、什么是指标聚合(Metric)2、Metric聚合分析分为单值分析和多值分析两类3、概述 二、单值分析API设计1、Avg(平均值)(1)对所有文档进行avg聚合(DSL)(2…...
Opencv图像暗通道调优
基于雾天退化模型的去雾算法,Opencv图像暗通道调优,(清华版代码)对普通相片也有较好的调优效果,相片更通透。 结合代码实际运行效果、算法理论模型、实际代码。我个人理解,实际效果是对图像的三个颜色通道…...
怎样来实现流量削峰方案
削峰从本质上来说就是更多地延缓用户请求,以及层层过滤用户的访问需求,遵从“最后落地到数据库的请求数要尽量少”的原则。 1.消息队列解决削峰 要对流量进行削峰,最容易想到的解决方案就是用消息队列来缓冲瞬时流量,把同步的直…...
git status搜索.c和.h后缀及git新建分支
git status搜索.c和.h后缀及git新建分支 1.脚本代码2.git新建分支(1)创建新分支(2)删除本地分支(3)删除远端分支(4)合并分支3.指定历史版本创建分支1.脚本代码 $ git status | grep "\.[hc]$"$ 是行尾的意思 \b 就是用在你匹配整个单词的时候。 如果不是整个…...
【配置环境】Visual Studio 配置 OpenCV
目录 一,环境 二,下载和配置 OpenCV 三,创建一个 Visual Studio 项目 四,配置 Visual Studio 项目 五,编写并编译 OpenCV 程序 六,解决CMake编译OpenCV报的错误 一,环境 Windows 11 家庭中…...
java.sql.SQLException: com.mysql.cj.jdbc.Driver
这篇文章分享一下Springboot整合Elasticsearch时遇到的一个问题,项目正常启动,但是查询数据库的时候发生了一个异常java.sql.SQLException: com.mysql.cj.jdbc.Driver java.sql.SQLException: com.mysql.cj.jdbc.Driverat com.alibaba.druid.util.JdbcU…...
React笔记(四)类组件(2)
一、类组件的props属性 组件中的数据,除了组件内部的状态使用state之外,状态也可以来自组件的外部,外部的状态使用类组件实例上另外一个属性来表示props 1、基本的使用 在components下创建UserInfo组件 import React, { Component } from…...
点云从入门到精通技术详解100篇-点云信息编码
目录 前言 研究发展现状 点云几何信息压缩 点云属性信息压缩 点云压缩算法的相关技术...
Python爬虫解析网页内容
Python爬虫是一种自动化程序,可以模拟人类用户访问网页,获取网页中的内容。爬虫在信息采集、数据分析和网络监测等领域有着广泛的应用。在爬虫过程中,解析网页内容是非常重要的一步。 Python提供了许多强大的库和工具,用于解析网…...
从零开始学习Python爬虫技术,并应用于市场竞争情报收集
在当今信息爆炸的时代,市场竞争情报收集对企业的发展至关重要。Python爬虫技术可以帮助我们高效地收集网络上的有价值信息。本文将从零开始介绍Python爬虫技术,并探讨如何将其应用于市场竞争情报收集。 一、Python爬虫技术基础 安装Python环境 首先&…...
SpringCloudGateway集成SpringDoc CORS问题
SpringCloudGateway集成SpringDoc CORS问题 集成SpringDoc后,在gateway在线文档界面,请求具体的服务接口,报CORS问题 Failed to fetch. Possible Reasons: CORS Network Failure URL scheme must be “http” or “https” for CORS reques…...
国际版阿里云/腾讯云:弹性高性能计算E-HPC入门概述
入门概述 本文介绍E-HPC的运用流程,帮助您快速上手运用弹性高性能核算。 下文以创立集群,在集群中安装GROMACS软件并运转水分子算例进行高性能核算为例,介绍弹性高性能核算的运用流程,帮助您快速上手运用弹性高性能核算。运用流程…...
【博客702】shell flock实现单例模式执行任务
shell flock实现单例模式执行任务 场景 我们需要定时执行一个任务,并且保证每次执行时都需要上一次已经执行完了,即保证同一时间只有一个在运行 示例 假设需要执行的脚本是:ping_and_mtr.sh 创建一个新的脚本来运行你的逻辑脚本࿱…...
数据分析基础-数据可视化07-用数据分析讲故事
如何构建⼀个引⼈⼊胜的故事? ⾸先:要想象什么? 可视化什么⽐如何可视化更重要 统计分析:GIGO(垃圾输⼊,垃圾输出) 在可视化分析环境中: 吉⾼ → 您⽆法从可视化的不适当数据中获…...
wordpress后台更新后 前端没变化的解决方法
使用siteground主机的wordpress网站,会出现更新了网站内容和修改了php模板文件、js文件、css文件、图片文件后,网站没有变化的情况。 不熟悉siteground主机的新手,遇到这个问题,就很抓狂,明明是哪都没操作错误&#x…...
【JVM】- 内存结构
引言 JVM:Java Virtual Machine 定义:Java虚拟机,Java二进制字节码的运行环境好处: 一次编写,到处运行自动内存管理,垃圾回收的功能数组下标越界检查(会抛异常,不会覆盖到其他代码…...
【Redis技术进阶之路】「原理分析系列开篇」分析客户端和服务端网络诵信交互实现(服务端执行命令请求的过程 - 初始化服务器)
服务端执行命令请求的过程 【专栏简介】【技术大纲】【专栏目标】【目标人群】1. Redis爱好者与社区成员2. 后端开发和系统架构师3. 计算机专业的本科生及研究生 初始化服务器1. 初始化服务器状态结构初始化RedisServer变量 2. 加载相关系统配置和用户配置参数定制化配置参数案…...
【android bluetooth 框架分析 04】【bt-framework 层详解 1】【BluetoothProperties介绍】
1. BluetoothProperties介绍 libsysprop/srcs/android/sysprop/BluetoothProperties.sysprop BluetoothProperties.sysprop 是 Android AOSP 中的一种 系统属性定义文件(System Property Definition File),用于声明和管理 Bluetooth 模块相…...
Web 架构之 CDN 加速原理与落地实践
文章目录 一、思维导图二、正文内容(一)CDN 基础概念1. 定义2. 组成部分 (二)CDN 加速原理1. 请求路由2. 内容缓存3. 内容更新 (三)CDN 落地实践1. 选择 CDN 服务商2. 配置 CDN3. 集成到 Web 架构 …...
从面试角度回答Android中ContentProvider启动原理
Android中ContentProvider原理的面试角度解析,分为已启动和未启动两种场景: 一、ContentProvider已启动的情况 1. 核心流程 触发条件:当其他组件(如Activity、Service)通过ContentR…...
Kafka主题运维全指南:从基础配置到故障处理
#作者:张桐瑞 文章目录 主题日常管理1. 修改主题分区。2. 修改主题级别参数。3. 变更副本数。4. 修改主题限速。5.主题分区迁移。6. 常见主题错误处理常见错误1:主题删除失败。常见错误2:__consumer_offsets占用太多的磁盘。 主题日常管理 …...
数据结构第5章:树和二叉树完全指南(自整理详细图文笔记)
名人说:莫道桑榆晚,为霞尚满天。——刘禹锡(刘梦得,诗豪) 原创笔记:Code_流苏(CSDN)(一个喜欢古诗词和编程的Coder😊) 上一篇:《数据结构第4章 数组和广义表》…...
C# winform教程(二)----checkbox
一、作用 提供一个用户选择或者不选的状态,这是一个可以多选的控件。 二、属性 其实功能大差不差,除了特殊的几个外,与button基本相同,所有说几个独有的 checkbox属性 名称内容含义appearance控件外观可以变成按钮形状checkali…...
CSS 工具对比:UnoCSS vs Tailwind CSS,谁是你的菜?
在现代前端开发中,Utility-First (功能优先) CSS 框架已经成为主流。其中,Tailwind CSS 无疑是市场的领导者和标杆。然而,一个名为 UnoCSS 的新星正以其惊人的性能和极致的灵活性迅速崛起。 这篇文章将深入探讨这两款工具的核心理念、技术差…...
