{"id":42554,"date":"2023-05-29T02:08:16","date_gmt":"2023-03-29T21:29:54","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/"},"modified":"2024-01-15T11:26:58","modified_gmt":"2024-01-15T03:26:58","slug":"%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/","title":{"rendered":"\u5728Azure\u4e0a\u5b89\u88c5Ansible\u5230RHEL8\uff08\u65e0\u9700RHAAP\uff09"},"content":{"rendered":"<p>\u5728\u4f01\u696d\u7684IT\u90e8\u9580\u88e1\uff0c\u8d8a\u662f\u9ad8\u7d1a\u7684\u4eba\u8d8a\u5bb9\u6613\u8aa4\u89e3\u4e00\u4ef6\u4e8b\u60c5\uff1a\u53ea\u8981\u64c1\u6709Red Hat Enterprise Linux\u7684\u8a02\u95b1\uff0c\u5c31\u80fd\u8f15\u9b06\u4f7f\u7528Ansible\u3002\u9019\u5176\u5be6\u662fRed Hat\u53ef\u80fd\u6545\u610f\u9032\u884c\u7684\u5e02\u5834\u8aa4\u5c0e\uff0c\u56e0\u70baRHEL8\u4e26\u6c92\u6709\u9644\u5e36\u7531Red Hat\u652f\u63f4\u7684Ansible\u3002\u5728RHEL8\u7684\u5b89\u88dd\u5149\u789f\u4e2d\u4e5f\u4e0d\u5305\u542bAnsible\u7684rpm\u5957\u4ef6\u3002\u5982\u679c\u60f3\u8981\u4f7f\u7528\u7531Red Hat\u652f\u63f4\u7684Ansible\uff0c\u5c31\u53ea\u80fd\u8cfc\u8cb7Red Hat Ansible Automation Platform\uff08RHAAP\uff09\u7684\u8a02\u95b1\u3002<\/p>\n<p>\u5982\u679c\u4f60\u6ca1\u6709RHAAP\u7684\u8ba2\u9605\uff0c\u90a3\u4e48\u4f60\u5c06\u65e0\u6cd5\u83b7\u5f97Red Hat\u652f\u6301\u7684Ansible\u3002\u6362\u53e5\u8bdd\u8bf4\uff0c\u5982\u679c\u4f60\u4e0d\u9700\u8981Red Hat\u7684\u652f\u6301\uff0c\u90a3\u4e48\u4f7f\u7528Ansible\u5f00\u53d1\u793e\u533a\u63d0\u4f9b\u7684Ansible\u4e5f\u4e0d\u4f1a\u6709\u652f\u6301\u4e0a\u7684\u5dee\u522b\u3002\u56e0\u6b64\uff0c\u5982\u679c\u4f60\u6ca1\u6709RHAAP\u7684\u8ba2\u9605\uff0c\u6211\u4eec\u5efa\u8bae\u5728\u4efb\u4f55\u60c5\u51b5\u4e0b\u90fd\u4f7f\u7528Ansible\u793e\u533a\u7248\u3002\u8fd8\u53ef\u4ee5\u8003\u8651\u4f7f\u7528EPEL\u3002<\/p>\n<p>\u55ef\uff0csubscription-manager repos &#8211;enable ansible-2.9-for-rhel-8-x86_64-rpms \u8fd9\u4e2a\u547d\u4ee4\u5728\u6ca1\u6709\u8ba2\u9605\u7684\u60c5\u51b5\u4e0b\u662f\u65e0\u6cd5\u5b89\u88c5Ansible\u7684\uff0c\u53ea\u4f1a\u6d6a\u8d39\u65f6\u95f4\uff0c\u975e\u5e38\u4f4e\u6548\u3002\u5c31\u50cf\u4f7f\u7528Docker\u65f6\u4e5f\u9047\u5230\u8fc7\u7c7b\u4f3c\u7684\u9677\u9631\uff0c\u8fd9\u4e5f\u662f\u6211\u8ba4\u4e3aRed Hat\u5e76\u4e0d\u662f\u4e00\u79cd\u5341\u5206\u6e05\u6d01\u548c\u53ef\u4fe1\u8d56\u7684\u53d1\u884c\u7248\u7684\u539f\u56e0\u4e4b\u4e00\u3002<\/p>\n<h1>\u73af\u5883<\/h1>\n<p>\u5728Azure\u4e0a\u521b\u5efa\u4e00\u4e2aRHEL8\u865a\u62df\u673a\u3002\u6211\u8ba4\u4e3a\u5927\u5c0f\u65e0\u6240\u8c13\uff0c\u4f46\u7531\u4e8e\u63a8\u8350\uff0c\u6211\u9009\u62e9\u4e86RHEL 8.2\u4f5c\u4e3a\u64cd\u4f5c\u7cfb\u7edf\u3002<br \/>\n\u6211\u6ce8\u610f\u5230\u5728Azure\u4e0a\uff0c\u65e0\u8bba\u662fUbuntu\u8fd8\u662fRHEL\uff0c\u865a\u62df\u673a\u7684\u4ef7\u683c\u90fd\u6ca1\u6709\u5dee\u522b\uff0c\u6240\u4ee5\u6211\u60f3\u5230\u4e86RHEL\u4f55\u65f6\u53d8\u6210\u514d\u8d39\u7684\u4e86\uff0c\u4f46\u5728AWS EC2\u4e0a\uff0c\u4ef7\u683c\u5dee\u5f02\u4ecd\u7136\u5b58\u5728\u3002\u55ef\uff1f \uff085\/12\u9644\u6ce8\uff1aAzure\u4e0a\u4ecd\u7136\u4f1a\u6536\u53d6RHEL\u64cd\u4f5c\u7cfb\u7edf\u8d39\u7528\uff0c\u8fd9\u662f\u865a\u62df\u673a\u521b\u5efa\u754c\u9762\u7684\u9519\u8bef\uff09\u3002<\/p>\n<p>\u5728\u5fae\u8f6fAzure\u4e0a\u7684\u7ea2\u5e3d<\/p>\n<p>\u5728\u4e2d\u56fd\u672c\u571f\uff0cOn-Demand\u6620\u50cf\u7531Microsoft\u63d0\u4f9b\u652f\u6301\uff0c\u5e76\u4e14Red Hat\u7684\u8ba2\u8d2d\u4e0d\u4f1a\u88ab\u6d88\u8017\u6389\u3002\u54e6\uff0c\u660e\u767d\u4e86\u3002\u55ef\uff0c\u5982\u679c\u53ef\u4ee5\u514d\u8d39\u4f7f\u7528\uff0c\u90a3\u66f4\u597d\u4e86\u3002<\/p>\n<h1>\u5b89\u88c5Ansible<\/h1>\n<p>\u521b\u5efa\u4e00\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u5b9e\u4f8b\uff0c\u5e76\u901a\u8fc7SSH\u8fdb\u884c\u8fde\u63a5\u3002<\/p>\n<p>\u6211\u8a66\u8457\u53ea\u9700\u8981\u4e00\u500b\u9078\u9805\u4ee5\u4e2d\u6587\u5c07\u4ee5\u4e0b\u5167\u5bb9\u91cd\u65b0\u8868\u9054\uff1a<br \/>\n\u7a81\u7136\u9593\u5617\u8a66\u904b\u884cyum install ansible\uff0c\u4f46\u7576\u7136\u5931\u6557\u4e86\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo -i\r\n# yum install ansible\r\nRed Hat Enterprise Linux 8 for x86_64 - BaseOS   11 MB\/s |  38 MB     00:03\r\nRed Hat Enterprise Linux 8 for x86_64 - AppStre 6.5 MB\/s |  23 MB     00:03\r\nMicrosoft Azure RPMs for RHEL8 Extended Update  1.7 kB\/s | 2.2 kB     00:01\r\nLast metadata expiration check: 0:00:01 ago on Mon 09 May 2022 07:51:15 AM UTC.\r\nNo match for argument: ansible\r\nError: Unable to find a match: ansible\r\n<\/code><\/pre>\n<p>\u662f\u7684\uff0c\u5bf9\uff0c\u662f\u8fd9\u6837\u7684\u3002\u6839\u636e\/etc\/yum.repos.d\/\u4e2d\u7684yum\u5b58\u50a8\u5e93\uff0c\u5c06\u5f15\u7528\u7531Microsoft\u7ef4\u62a4\u7684\u57fa\u7840\u64cd\u4f5c\u7cfb\u7edf\u548c\u5e94\u7528\u7a0b\u5e8f\u6d41\u7684\u5b58\u50a8\u5e93\uff0c\u800c\u6ca1\u6709\u627e\u5230Ansible\u7684\u5b58\u50a8\u5e93\u3002<\/p>\n<p>\u65e2\u7136\u5982\u6b64\uff0c\u6211\u4eec\u53ef\u4ee5\u6309\u7167\u4e0e\u73b0\u5728\u5df2\u7ecf\u4e0d\u5b58\u5728\u7684CentOS 8\u76f8\u540c\u6b65\u9aa4\uff0c\u4eceEPEL\u5b89\u88c5Ansible\u3002<br \/>\n\u4e0d\u77e5\u9053EPEL\u4f1a\u4fdd\u6301\u591a\u4e45\u5462\u3002<br \/>\nhttps:\/\/docs.ansible.com\/ansible\/2.9_zh_CN\/installation_guide\/intro_installation.html#rhelcentos-fedora-ansible<\/p>\n<p>\u5f15\u7528\u65f6\u8bf4\u9053\uff1a\u201c\u76ee\u524d\u652f\u6301\u7684 RHEL RPM \u53ef\u4ee5\u4ece releases.ansible.com \u548c EPEL \u83b7\u53d6\u3002\u201d<\/p>\n<p>&nbsp;<\/p>\n<p>\u5305\u542b\u542f\u7528\u300ccodeready-builder\u300d\u8ba2\u9605\u7684\u6b65\u9aa4\uff0c\u4f46\u8fd9\u53ea\u662f\u7ea2\u5e3d\u516c\u53f8\u6210\u89c1\u7684\u6076\u4f5c\u5267\uff0c\u53ea\u8981\u80fd\u6267\u884c\u4e0b\u9762\u7684\u300cdnf install \uff5eepel\uff5e\u300d\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<pre class=\"post-pre\"><code># dnf install https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-8.noarch.rpm\r\n<\/code><\/pre>\n<p>\u4f7f\u7528\u8fd9\u4e2a\uff0c\u5c31\u80fd\u591f\u5b89\u88c5Ansible\u3002<\/p>\n<pre class=\"post-pre\"><code># yum install ansible\r\n...\r\n================================================================================\r\n Package          Arch   Version       Repository                          Size\r\n================================================================================\r\nInstalling:\r\n ansible          noarch 2.9.27-1.el8  epel                                17 M\r\nInstalling dependencies:\r\n libsodium        x86_64 1.0.18-2.el8  epel                               162 k\r\n python3-bcrypt   x86_64 3.1.6-2.el8.1 epel                                44 k\r\n python3-jmespath noarch 0.9.0-11.el8  rhel-8-for-x86_64-appstream-eus-rhui-rpms\r\n                                                                           45 k\r\n python3-pynacl   x86_64 1.3.0-5.el8   epel                               100 k\r\n sshpass          x86_64 1.06-9.el8    epel                                27 k\r\nInstalling weak dependencies:\r\n python3-paramiko noarch 2.4.3-2.el8   epel                               290 k\r\n\r\nTransaction Summary\r\n================================================================================\r\nInstall  7 Packages\r\n\r\nTotal download size: 18 M\r\nInstalled size: 99 M\r\nIs this ok [y\/N]: y\r\n...\r\n<\/code><\/pre>\n<p>\u786e\u8ba4\u80fd\u5426\u5728\u672c\u5730\u4e3b\u673a\u4e0a\u6267\u884cansible\u547d\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code>$ ansible localhost -a \"echo hello world\"\r\nlocalhost | CHANGED | rc=0 &gt;&gt;\r\nhello world\r\n<\/code><\/pre>\n<p>\u5236\u4f5cSSH\u5bc6\u94a5\u5e76\u9a8c\u8bc1\u516c\u94a5\u3002<\/p>\n<pre class=\"post-pre\"><code>$ ssh-keygen -f ~\/.ssh\/id_rsa -N \"\"\r\n$ cat ~\/.ssh\/id_rsa.pub\r\n<\/code><\/pre>\n<p>\u4f7f\u7528\u8be5\u516c\u94a5\u521b\u5efa\u53e6\u4e00\u53f0\u53d7\u7ba1\u7684RHEL8\u673a\u5668\u3002<br \/>\n\u4e00\u65e6\u865a\u62df\u673a\u521b\u5efa\u6210\u529f\uff0c\u4eceAnsible\u673a\u5668\u5c1d\u8bd5\u901a\u8fc7ssh\u8bbf\u95ee\u53d7\u7ba1\u673a\u5668\uff0c\u5e76\u6267\u884cansible\u547d\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code>$ ssh managed\r\nThe authenticity of host 'managed (10.0.0.5)' can't be established.\r\nECDSA key fingerprint is SHA256:1ph6SLdRn7yctUpvygT065iCD710OUVTZ4wXEiXGiAE.\r\nAre you sure you want to continue connecting (yes\/no\/[fingerprint])? yes\r\nWarning: Permanently added 'managed' (ECDSA) to the list of known hosts.\r\nActivate the web console with: systemctl enable --now cockpit.socket\r\n\r\nThis system is not registered to Red Hat Insights. See https:\/\/cloud.redhat.com\/\r\nTo register this system, run: insights-client --register\r\n\r\nLast login: Mon May  9 09:48:25 2022 from 10.0.0.4\r\n[azureuser@managed ~]$ exit\r\n\r\n$ echo managed&gt;inventory\r\n$ ansible -i .\/inventory managed -a \"hostname\"\r\nmanaged | CHANGED | rc=0 &gt;&gt;\r\nmanaged\r\n<\/code><\/pre>\n<p>\u5509\uff0cAzure+RHEL+Ansible\u771f\u9ebb\u70e6\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u5c3d\u7ba1\u5c06\u6765\u6211\u60f3\u4ed8\u8d39\u83b7\u5f97Red Hat\u652f\u6301\uff0c\u4f46\u76ee\u524d\u7531\u4e8e\u516c\u53f8\u7684\u539f\u56e0\uff0c\u65e0\u6cd5\u4f7f\u7528RHAAP\u7684\u8ba2\u9605\u3002\u5f00\u6e90\u8f6f\u4ef6\u4e5f\u884c\u4e0d\u901a\uff0c\u6211\u4e00\u5b9a\u9700\u8981\u652f\u6301\u3002\u6240\u4ee5\uff0c\u53ef\u4ee5\u6682\u65f6\u4f7f\u752860\u5929\u7684\u8bc4\u4f30\u7248\u6765\u63a8\u8fdf\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<p>\u5982\u679c\u4f7f\u7528Azure VM\uff0c\u5c06\u5728\/home\/azureuser\u7684\u78c1\u76d8\u7a7a\u95f4\u4e0d\u8db3\u65e0\u6cd5\u5c55\u5f00\u5927\u5c0f\u4e3a800MB\u5de6\u53f3\u7684tar.gz\u6587\u4ef6\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u975e\u5e38\u70e6\u607c\u7684\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4f01\u696d\u7684IT\u90e8\u9580\u88e1\uff0c\u8d8a\u662f\u9ad8\u7d1a\u7684\u4eba\u8d8a\u5bb9\u6613\u8aa4\u89e3\u4e00\u4ef6\u4e8b\u60c5\uff1a\u53ea\u8981\u64c1\u6709Red Hat Enterprise Linux\u7684 [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-42554","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728Azure\u4e0a\u5b89\u88c5Ansible\u5230RHEL8\uff08\u65e0\u9700RHAAP\uff09 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728azure\u4e0a\u5b89\u88c5ansible\u5230rhel8\uff08\u65e0\u9700rhaap\uff09\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728Azure\u4e0a\u5b89\u88c5Ansible\u5230RHEL8\uff08\u65e0\u9700RHAAP\uff09\" \/>\n<meta property=\"og:description\" content=\"\u5728\u4f01\u696d\u7684IT\u90e8\u9580\u88e1\uff0c\u8d8a\u662f\u9ad8\u7d1a\u7684\u4eba\u8d8a\u5bb9\u6613\u8aa4\u89e3\u4e00\u4ef6\u4e8b\u60c5\uff1a\u53ea\u8981\u64c1\u6709Red Hat Enterprise Linux\u7684 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728azure\u4e0a\u5b89\u88c5ansible\u5230rhel8\uff08\u65e0\u9700rhaap\uff09\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-29T21:29:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-15T03:26:58+00:00\" \/>\n<meta name=\"author\" content=\"\u96c5, \u609f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u96c5, \u609f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/\",\"name\":\"\u5728Azure\u4e0a\u5b89\u88c5Ansible\u5230RHEL8\uff08\u65e0\u9700RHAAP\uff09 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-03-29T21:29:54+00:00\",\"dateModified\":\"2024-01-15T03:26:58+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728Azure\u4e0a\u5b89\u88c5Ansible\u5230RHEL8\uff08\u65e0\u9700RHAAP\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6\",\"name\":\"\u96c5, \u609f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"caption\":\"\u96c5, \u609f\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728Azure\u4e0a\u5b89\u88c5Ansible\u5230RHEL8\uff08\u65e0\u9700RHAAP\uff09 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728azure\u4e0a\u5b89\u88c5ansible\u5230rhel8\uff08\u65e0\u9700rhaap\uff09\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728Azure\u4e0a\u5b89\u88c5Ansible\u5230RHEL8\uff08\u65e0\u9700RHAAP\uff09","og_description":"\u5728\u4f01\u696d\u7684IT\u90e8\u9580\u88e1\uff0c\u8d8a\u662f\u9ad8\u7d1a\u7684\u4eba\u8d8a\u5bb9\u6613\u8aa4\u89e3\u4e00\u4ef6\u4e8b\u60c5\uff1a\u53ea\u8981\u64c1\u6709Red Hat Enterprise Linux\u7684 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728azure\u4e0a\u5b89\u88c5ansible\u5230rhel8\uff08\u65e0\u9700rhaap\uff09\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-03-29T21:29:54+00:00","article_modified_time":"2024-01-15T03:26:58+00:00","author":"\u96c5, \u609f","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u96c5, \u609f","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/","name":"\u5728Azure\u4e0a\u5b89\u88c5Ansible\u5230RHEL8\uff08\u65e0\u9700RHAAP\uff09 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-03-29T21:29:54+00:00","dateModified":"2024-01-15T03:26:58+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728Azure\u4e0a\u5b89\u88c5Ansible\u5230RHEL8\uff08\u65e0\u9700RHAAP\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6","name":"\u96c5, \u609f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","caption":"\u96c5, \u609f"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8azure%e4%b8%8a%e5%ae%89%e8%a3%85ansible%e5%88%b0rhel8%ef%bc%88%e6%97%a0%e9%9c%80rhaap%ef%bc%89%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=42554"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42554\/revisions"}],"predecessor-version":[{"id":59042,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42554\/revisions\/59042"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=42554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=42554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=42554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}