{"id":10431,"date":"2024-04-13T16:00:52","date_gmt":"2024-04-13T12:30:52","guid":{"rendered":"https:\/\/xaas.ir\/blog\/?p=10431"},"modified":"2025-09-02T19:38:41","modified_gmt":"2025-09-02T16:08:41","slug":"install-ansible","status":"publish","type":"post","link":"https:\/\/abalon.cloud\/blog\/install-ansible\/","title":{"rendered":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648"},"content":{"rendered":"<p>\u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\u060c \u0627\u0645\u06a9\u0627\u0646 \u062e\u0648\u062f\u06a9\u0627\u0631\u0633\u0627\u0632\u06cc \u0641\u0631\u0627\u06cc\u0646\u062f\u0647\u0627\u06cc \u0632\u06cc\u0631\u0633\u0627\u062e\u062a\u06cc \u0631\u0627 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f. \u0627\u0646\u0633\u06cc\u0628\u0644 \u06cc\u06a9\u06cc \u0627\u0632 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u062d\u0628\u0648\u0628 \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0641\u0631\u0627\u06cc\u0646\u062f\u0647\u0627\u06cc \u0632\u06cc\u0631\u0633\u0627\u062e\u062a \u0627\u0633\u062a \u06a9\u0647 \u0628\u06cc\u0646 \u0645\u062a\u062e\u0635\u0635\u0627\u0646 DevOps \u0645\u062d\u0628\u0648\u0628\u06cc\u062a \u0628\u0627\u0644\u0627\u06cc\u06cc \u062f\u0627\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0627\u0632 <span style=\"color: #3366ff;\"><a style=\"color: #3366ff;\" href=\"https:\/\/abalon.cloud\" target=\"_blank\" rel=\"noopener\">\u0622\u0628\u0627\u0644\u0648\u0646<\/a> <\/span>\u0628\u0647 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0645\u06cc\u200c\u067e\u0631\u062f\u0627\u0632\u06cc\u0645.<\/p>\n<p style=\"text-align: justify;\">\u0627\u0632 \u0645\u062d\u0628\u0648\u0628\u200c\u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0628\u0631\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645\u200c\u0647\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0647 Chef \u0648 Puppet \u0627\u0634\u0627\u0631\u0647 \u06a9\u0631\u062f. \u0627\u0644\u0628\u062a\u0647 \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627 \u0628\u0631\u0627\u06cc \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646\u060c \u0628\u06cc\u0634 \u0627\u0632 \u062d\u062f \u067e\u06cc\u0686\u06cc\u062f\u0647 \u0647\u0633\u062a\u0646\u062f\u061b \u0627\u0645\u0627 Ansible \u0646\u0633\u0628\u062a\u0627 \u0633\u0627\u062f\u0647\u200c\u062a\u0631 \u0627\u0633\u062a \u0648 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u0646\u0635\u0628 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631 \u062e\u0627\u0635\u06cc \u0631\u0648\u06cc \u0646\u0648\u062f\u0647\u0627 \u0646\u062f\u0627\u0631\u062f. \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0627\u06cc\u0646 \u0627\u0632 SSH \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0648\u0638\u0627\u06cc\u0641 \u0627\u062a\u0648\u0645\u0627\u0633\u06cc\u0648\u0646 \u0648 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc YAML \u0628\u0631\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u062c\u0632\u0626\u06cc\u0627\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n<h2><strong>\u067e\u06cc\u0634 \u0646\u06cc\u0627\u0632\u0647\u0627\u06cc \u0646\u0635\u0628 ansible \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648<\/strong><\/h2>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u062f\u0627\u0631\u06cc\u062f:<\/p>\n<p style=\"text-align: justify;\">\u06cc\u06a9 \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644 \u0627\u0646\u0633\u06cc\u0628\u0644: \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644 (Control Node) \u0645\u0627\u0634\u06cc\u0646\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0627\u0632 \u0622\u0646 \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0648 \u06a9\u0646\u062a\u0631\u0644 \u0645\u06cc\u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc Ansible \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644\u06cc \u0627\u0646\u0633\u06cc\u0628\u0644 \u0645\u0627\u0634\u06cc\u0646 \u0644\u0648\u06a9\u0627\u0644 \u06cc\u0627 \u0633\u0631\u0648\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0627\u062c\u0631\u0627\u06cc Ansible \u0627\u062e\u062a\u0635\u0627\u0635 \u062f\u0627\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644\u06cc\u060c \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0627\u0633\u062a. \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u062d\u0627\u0635\u0644 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u06af\u0631\u0647 \u06a9\u0646\u062a\u0631\u0644 \u062f\u0627\u0631\u0627\u06cc \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p>\n<ul>\n<li>\u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u063a\u06cc\u0631 \u0631\u0648\u062a \u0628\u0627 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a sudo<\/li>\n<li>\u06cc\u06a9 \u062c\u0641\u062a \u06a9\u0644\u06cc\u062f SSH \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631<\/li>\n<\/ul>\n<p>\u06cc\u06a9 \u06cc\u0627 \u0686\u0646\u062f \u0647\u0627\u0633\u062a \u0627\u0646\u0633\u06cc\u0628\u0644: \u0647\u0627\u0633\u062a \u0627\u0646\u0633\u06cc\u0628\u0644\u060c \u0647\u0631 \u0645\u0627\u0634\u06cc\u0646\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644 ansible \u0628\u0631\u0627\u06cc \u062e\u0648\u062f\u06a9\u0627\u0631\u0633\u0627\u0632\u06cc \u0622\u0646 \u0645\u0627\u0634\u06cc\u0646 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0641\u0631\u0636 \u0628\u0631 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0647\u0627\u0633\u062a\u200c\u0647\u0627\u06cc \u0627\u0646\u0633\u06cc\u0628\u0644 \u0634\u0645\u0627 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0631\u06cc\u0645\u0648\u062a \u0647\u0633\u062a\u0646\u062f. \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u062d\u0627\u0635\u0644 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0647\u0631 \u0647\u0627\u0633\u062a \u0634\u0627\u0645\u0644 \u06a9\u0644\u06cc\u062f \u0639\u0645\u0648\u0645\u06cc SSH \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u06a9\u0644\u06cc\u062f\u0647\u0627\u06cc \u0645\u062c\u0627\u0632 \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u0633\u06cc\u0633\u062a\u0645 (authorized_keys) \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0627\u06cc\u0646 \u06a9\u0627\u0631\u0628\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u06cc\u0648\u0632\u0631 \u0631\u0648\u062a \u06cc\u0627 \u063a\u06cc\u0631 \u0631\u0648\u062a \u0628\u0627 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a sudo \u0628\u0627\u0634\u062f.<\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 14pt;\"><strong>\n                <style>\n                    @media (max-width: 540px) {\n                        .custom-read-more-box {\n                            flex-direction: column !important;\n                        }\n                        .custom-read-more-box > div {\n                            margin-bottom: 15px;\n                            margin-right: 0 !important;\n                        }\n                        .custom-read-more-box-image {\n                            width: auto !important;\n                        }\n                    }\n                <\/style>\n            <div style=\"background-color: #e9f1f9; padding: 20px; border-radius: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); margin-top: 20px;\">\n                <div class=\"custom-read-more-box\" style=\"display: flex; align-items: center;\">\n                    <p style=\"flex: 1; font-size: 14px; color: #555; margin: 0 0 10px; align-self: center; white-space: break-spaces; text-align: center; max-width: 120px;\">\u062c\u0647\u062a \u0645\u0637\u0627\u0644\u0639\u0647 \u0628\u06cc\u0634\u062a\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f:<\/p>\n                    <div style=\"background-color: #fff; padding: 15px; border-radius: 10px; display: flex; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.1); flex: 4; width: 100%;\">\n                        <div class=\"custom-read-more-box-no-margin\" style=\"flex: 1; font-size: 19px; text-align: right; margin-top: 15px; margin-right:15px; min-height: 70px; align-content: space-around;\">\n                            <span style=\"text-decoration: none;\"><span style=\"color: #3366ff;\"><a style=\"color: #3366ff;\" href=\"https:\/\/abalon.cloud\/blog\/what-is-ansible\" target=\"_blank\" rel=\"noopener\">\u0627\u0646\u0633\u06cc\u0628\u0644 \u0686\u06cc\u0633\u062a<\/a>\u061f<\/span><\/strong><\/span><\/span>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            <\/div><\/p>\n<h2>\u0645\u0631\u0627\u062d\u0644 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4<\/h2>\n<p>\u0646\u0635\u0628 ansible \u0628\u0633\u06cc\u0627\u0631 \u0631\u0627\u062d\u062a \u0628\u0648\u062f\u0647 \u0648 \u0634\u0645\u0627 \u0628\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0645\u0631\u0627\u062d\u0644 \u0632\u06cc\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f:<\/p>\n<h3>\u0645\u0631\u062d\u0644\u0647 \u0627\u0648\u0644: \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644<\/h3>\n<p>\u062c\u0647\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0628\u0647\u200c\u0639\u0646\u0648\u0627\u0646 \u0627\u0628\u0632\u0627\u0631\u06cc \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0632\u06cc\u0631\u0633\u0627\u062e\u062a \u0633\u0631\u0648\u0631\u060c \u0628\u0627\u06cc\u062f \u0627\u06cc\u0646 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631 \u0631\u0627 \u0631\u0648\u06cc \u062f\u0633\u062a\u06af\u0627\u0647 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u0647\u200c\u0639\u0646\u0648\u0627\u0646 \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644 Ansible \u0639\u0645\u0644 \u06a9\u0646\u062f.<\/p>\n<p>\u0627\u0632 \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644\u06cc \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f \u062a\u0627 PPA \u0631\u0633\u0645\u06cc \u067e\u0631\u0648\u0698\u0647 (personal package archive) \u0631\u0627 \u062f\u0631 \u0641\u0647\u0631\u0633\u062a \u0645\u0646\u0627\u0628\u0639 \u0633\u06cc\u0633\u062a\u0645 \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f:<\/p>\n<pre class=\"wp-block-brad-border-box bash language-bash lang:default code_snippet1\">sudo apt-add-repository ppa:ansible\/ansible<\/pre>\n<p>\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0627\u0632 \u0634\u0645\u0627 \u062e\u0648\u0627\u0633\u062a\u0647 \u0634\u062f \u062a\u0627 \u0627\u0641\u0632\u0648\u062f\u0646 PPA \u0631\u0627 \u0628\u067e\u0630\u06cc\u0631\u06cc\u062f\u060c <code>ENTER<\/code>\u00a0\u0631\u0627 \u0641\u0634\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<p>\u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0628\u0639\u062f\u060c \u0627\u06cc\u0646\u062f\u06a9\u0633 \u067e\u06a9\u06cc\u062c \u0633\u06cc\u0633\u062a\u0645 \u062e\u0648\u062f \u0631\u0627 \u0631\u0641\u0631\u0634 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0627\u0632 \u0628\u0633\u062a\u0647\u200c\u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 PPA \u06a9\u0647 \u0628\u0647 \u062a\u0627\u0632\u06af\u06cc \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0622\u06af\u0627\u0647 \u0634\u0648\u062f:<\/p>\n<pre class=\"wp-block-brad-border-box bash language-bash lang:default code_snippet1\">sudo apt update<\/pre>\n<p>\u0627\u06a9\u0646\u0648\u0646 \u067e\u0633 \u0627\u0632 \u0627\u06cc\u0646 \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 Ansible \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"wp-block-brad-border-box bash language-bash lang:default code_snippet1\">sudo apt install ansible<\/pre>\n<p>\u0627\u06a9\u0646\u0648\u0646 control node \u0627\u0646\u0633\u06cc\u0628\u0644 \u0647\u0645\u0647 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0647\u0627\u0633\u062a \u0631\u0627 \u062f\u0627\u0631\u062f. \u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0628\u0639\u062f\u060c \u0646\u062d\u0648\u0647 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0647\u0627\u0633\u062a \u0628\u0647 \u0641\u0647\u0631\u0633\u062a \u0645\u0648\u062c\u0648\u062f \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u062a\u0627 \u0628\u062a\u0648\u0627\u0646 \u0622\u0646\u0647\u0627 \u0631\u0627 \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0631\u062f.<\/p>\n<h3>\u0645\u0631\u062d\u0644\u0647 \u062f\u0648\u0645: \u0646\u062d\u0648\u0647 \u062a\u0646\u0638\u06cc\u0645 Inventory File<\/h3>\n<p>\u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0628\u0647 \u0631\u0648\u0634 \u062a\u0646\u0638\u06cc\u0645 \u0641\u0627\u06cc\u0644 \u0627\u06cc\u0646\u0648\u0646\u062a\u0648\u0631\u06cc \u0645\u06cc\u200c\u067e\u0631\u062f\u0627\u0632\u06cc\u0645. \u0641\u0627\u06cc\u0644 \u0627\u06cc\u0646\u0648\u0646\u062a\u0648\u0631\u06cc (inventory file) \u0634\u0627\u0645\u0644 \u0627\u0637\u0644\u0627\u0639\u0627\u062a\u06cc \u062f\u0631 \u0645\u0648\u0631\u062f \u0647\u0627\u0633\u062a\u200c\u0647\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0627 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f. \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u06cc\u06a9 \u062a\u0627 \u0686\u0646\u062f \u0635\u062f \u0633\u0631\u0648\u0631 \u0631\u0627 \u062f\u0631 inventory file \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f \u0648 \u0647\u0627\u0633\u062a\u200c\u0647\u0627 \u0631\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u062f\u0631 \u06af\u0631\u0648\u0647\u200c\u0647\u0627 \u0648 \u0632\u06cc\u0631 \u06af\u0631\u0648\u0647\u200c\u0647\u0627 \u062f\u0633\u062a\u0647\u200c\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f. \u0641\u0627\u06cc\u0644 \u0627\u06cc\u0646\u0648\u0646\u062a\u0648\u0631\u06cc \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0628\u0631\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0641\u0642\u0637 \u0628\u0631\u0627\u06cc \u0647\u0627\u0633\u062a\u200c\u0647\u0627 \u06cc\u0627 \u06af\u0631\u0648\u0647\u200c\u0647\u0627\u06cc \u062e\u0627\u0635 \u0645\u0639\u062a\u0628\u0631 \u0647\u0633\u062a\u0646\u062f \u062a\u0627 \u062f\u0631 \u067e\u0644\u06cc \u0628\u0648\u06a9 \u0648 \u0642\u0627\u0644\u0628\u200c\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0648\u0646\u062f. \u0628\u0631\u062e\u06cc \u0627\u0632 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627 \u0646\u06cc\u0632 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0631 \u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u06cc\u06a9 \u067e\u0644\u06cc \u0628\u0648\u06a9 \u0645\u0627\u0646\u0646\u062f ansible_python_interpreter \u062a\u0623\u062b\u06cc\u0631 \u0628\u06af\u0630\u0627\u0631\u0646\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0645\u062d\u062a\u0648\u06cc\u0627\u062a inventory \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0627\u0646\u0633\u06cc\u0628\u0644\u060c \u0641\u0627\u06cc\u0644 <code>etc\/ansible\/hosts\/<\/code>\u00a0\u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u062f\u06cc\u062a\u0648\u0631 \u062a\u06a9\u0633\u062a \u0627\u0646\u062a\u062e\u0627\u0628\u06cc \u062e\u0648\u062f \u062f\u0631 \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"wp-block-brad-border-box bash language-bash lang:default code_snippet1\">sudo nano \/etc\/ansible\/hosts<\/pre>\n<p style=\"padding-right: 40px;\"><strong>\u0646\u06a9\u062a\u0647:<\/strong> \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0627\u06cc\u0646\u0648\u0646\u062a\u0648\u0631\u06cc \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u062f\u0631\u00a0<code>etc\/ansible\/hosts<\/code> \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f \u0627\u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0628\u0647 \u0634\u0645\u0627 \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u0647 inventory file \u0631\u0627 \u062f\u0631 \u0647\u0631 \u0645\u06a9\u0627\u0646\u06cc \u06a9\u0647 \u0628\u0627 \u0646\u06cc\u0627\u0632\u0647\u0627\u06cc \u0634\u0645\u0627 \u0645\u0637\u0627\u0628\u0642\u062a \u062f\u0627\u0631\u062f \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a\u060c \u0628\u0627\u06cc\u062f \u0645\u0633\u06cc\u0631 \u0641\u0627\u06cc\u0644 \u0627\u06cc\u0646\u0648\u0646\u062a\u0648\u0631\u06cc \u0633\u0641\u0627\u0631\u0634\u06cc \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 <code>i-<\/code> \u0647\u0646\u06af\u0627\u0645 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a Ansible \u0648 playbooks \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f. \u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0627\u06cc\u0646\u0648\u0646\u062a\u0648\u0631\u06cc \u0647\u0631 \u067e\u0631\u0648\u0698\u0647 \u0631\u0627 \u062c\u062f\u0627 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0631\u06cc\u0633\u06a9 \u0627\u062c\u0631\u0627\u06cc \u067e\u0644\u06cc\u200c\u0628\u0648\u06a9\u200c\u0647\u0627 \u0631\u0648\u06cc \u06af\u0631\u0648\u0647 \u0627\u0634\u062a\u0628\u0627\u0647 \u0633\u0631\u0648\u0631\u0647\u0627 \u0631\u0627 \u06a9\u0627\u0647\u0634 \u062f\u0647\u06cc\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0628\u0647\u200c\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636\u060c \u0641\u0627\u06cc\u0644 \u0627\u06cc\u0646\u0648\u0646\u062a\u0648\u0631\u06cc \u0634\u0627\u0645\u0644 \u062a\u0639\u062f\u0627\u062f\u06cc \u0645\u062b\u0627\u0644 \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0622\u0646\u0647\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u0631\u062c\u0639 \u062a\u0646\u0638\u06cc\u0645 \u0627\u06cc\u0646\u0648\u0646\u062a\u0648\u0631\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u06af\u0631\u0648\u0647\u06cc \u0628\u0647 \u0646\u0627\u0645 [servers] \u0631\u0627 \u0628\u0627 \u0633\u0647 \u0633\u0631\u0648\u0631 \u0645\u062e\u062a\u0644\u0641 \u062f\u0631 \u0622\u0646 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0628\u0627 \u0646\u0627\u0645 \u0645\u0633\u062a\u0639\u0627\u0631 \u0633\u0641\u0627\u0631\u0634\u06cc server2 \u060cserver1 \u0648 server3 \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u0645\u06cc\u200c\u0634\u0648\u0646\u062f. \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u062d\u0627\u0635\u0644 \u06a9\u0646\u06cc\u062f \u06a9\u0647 IP\u0647\u0627\u06cc \u0647\u0627\u06cc\u0644\u0627\u06cc\u062a \u0634\u062f\u0647 \u0631\u0627 \u0628\u0627 \u0622\u062f\u0631\u0633\u200c\u0647\u0627\u06cc IP \u0647\u0627\u0633\u062a\u200c\u0647\u0627\u06cc \u0627\u0646\u0633\u06cc\u0628\u0644 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u06a9\u0646\u06cc\u062f.<\/p>\n<div class=\"code-label\" style=\"text-align: center;\" title=\"\/etc\/ansible\/hosts\">etc\/ansible\/hosts\/<\/div>\n<pre><code>[servers]\r\nserver1 ansible_host=216.239.38.120\r\nserver2 ansible_host=98.137.27.103\r\nserver3 ansible_host=202.89.233.101\r\n\r\n[all:vars]\r\nansible_python_interpreter=\/usr\/bin\/python3\r\n<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0632\u06cc\u0631\u06af\u0631\u0648\u0647 <code>all:vars<\/code> \u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u0647\u0627\u0633\u062a <code>ansible_python_interpreter<\/code> \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0647\u0645\u0647 \u0647\u0627\u0633\u062a\u200c\u0647\u0627\u06cc \u0627\u06cc\u0646\u0648\u0646\u062a\u0648\u0631\u06cc \u0645\u0639\u062a\u0628\u0631 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f. \u0627\u06cc\u0646 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u0645\u0637\u0645\u0626\u0646 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0633\u0631\u0648\u0631 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0627\u0632 <code>\/usr\/bin\/python3<\/code>\u067e\u0627\u06cc\u062a\u0648\u0646 \u06f3 \u0628\u0647 \u062c\u0627\u06cc <code>\/usr\/bin\/python<\/code> (\u067e\u0627\u06cc\u062a\u0648\u0646 \u06f2.\u06f7) \u06a9\u0647 \u062f\u0631 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc \u0627\u062e\u06cc\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0631\u062f\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0646\u0647\u0627\u06cc\u062a \u0628\u0631\u0627\u06cc \u0630\u062e\u06cc\u0631\u0647 \u0641\u0627\u06cc\u0644\u060c \u06a9\u0644\u06cc\u062f\u0647\u0627\u06cc <code>CTRL+X<\/code> \u0648\u00a0\u00a0<code>Y<\/code> \u0648 \u0628\u0631\u0627\u06cc \u062a\u0627\u06cc\u06cc\u062f \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0646\u0647\u0627\u06cc\u06cc \u06a9\u0644\u06cc\u062f <code>ENTER<\/code>\u00a0\u0631\u0627 \u0641\u0634\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u0628\u0631\u0631\u0633\u06cc inventory\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"wp-block-brad-border-box bash language-bash lang:default code_snippet1\">ansible-inventory --list -y<\/pre>\n<p>\u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0641\u0631\u0627\u06cc\u0646\u062f \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u062e\u0631\u0648\u062c\u06cc \u0632\u06cc\u0631\u0627 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f \u06a9\u0647 \u0634\u0627\u0645\u0644 \u0632\u06cc\u0631\u0633\u0627\u062e\u062a \u0633\u0631\u0648\u0631 \u0641\u0627\u06cc\u0644 \u0627\u06cc\u0646\u0648\u0646\u062a\u0648\u0631\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0627\u0633\u062a:<\/p>\n<pre><code>Output\r\nall:\r\n  children:\r\n    servers:\r\n      hosts:\r\n        server1:\r\n          ansible_host: 216.239.38.120\r\n          ansible_python_interpreter: \/usr\/bin\/python3\r\n        server2:\r\n          ansible_host: 98.137.27.103\r\n          ansible_python_interpreter: \/usr\/bin\/python3\r\n        server3:\r\n          ansible_host: 202.89.233.101\r\n          ansible_python_interpreter: \/usr\/bin\/python3\r\n    ungrouped: {}<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0627\u06a9\u0646\u0648\u0646 \u06a9\u0647 inventory file \u0631\u0627 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f\u060c \u0647\u0645\u0647 \u0686\u06cc\u0632\u0647\u0627\u06cc\u06cc \u0631\u0627 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0647\u0627\u0633\u062a \u0627\u0646\u0633\u06cc\u0628\u0644 \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0627\u0633\u062a \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u062f\u0627\u0631\u06cc\u062f.<\/p>\n<h3>\u0645\u0631\u062d\u0644\u0647 \u0633\u0648\u0645: \u062a\u0633\u062a \u0627\u062a\u0635\u0627\u0644 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644<\/h3>\n<p style=\"text-align: justify;\">\u067e\u0633 \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645 \u0641\u0627\u06cc\u0644 inventory \u0628\u0631\u0627\u06cc \u0633\u0631\u0648\u0631\u0647\u0627\u060c \u0632\u0645\u0627\u0646 \u0622\u0646 \u0631\u0633\u06cc\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f \u0622\u06cc\u0627 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0642\u0627\u062f\u0631 \u0628\u0647 \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0627\u06cc\u0646 \u0633\u0631\u0648\u0631\u0647\u0627 \u0648 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u0627\u0633\u062a \u06cc\u0627 \u062e\u06cc\u0631.<\/p>\n<p style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u0645\u0627 \u0627\u0632 \u062d\u0633\u0627\u0628 \u0631\u0648\u062a \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f\u061b \u0632\u06cc\u0631\u0627 \u0627\u06cc\u0646 \u062d\u0633\u0627\u0628 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u062a\u0646\u0647\u0627 \u062d\u0633\u0627\u0628\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u062f\u0631 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u062c\u062f\u06cc\u062f \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647 \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0627\u0633\u062a. \u0627\u06af\u0631 \u0647\u0627\u0633\u062a\u200c\u0647\u0627\u06cc Ansible \u0634\u0645\u0627 \u0642\u0628\u0644\u0627\u064b \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 sudo \u063a\u06cc\u0631 \u0631\u0648\u062a \u062f\u0627\u0631\u0646\u062f\u060c \u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645\u060c \u0627\u0632 \u0622\u0646 \u062d\u0633\u0627\u0628 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0622\u0631\u06af\u0648\u0645\u0627\u0646 <code>u-<\/code> \u0628\u0631\u0627\u06cc \u0645\u0634\u062e\u0635 \u06a9\u0631\u062f\u0646 \u06cc\u0648\u0632\u0631 \u0633\u06cc\u0633\u062a\u0645 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0622\u0631\u06af\u0648\u0645\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u06a9\u0646\u06cc\u062f\u060c \u0627\u0646\u0633\u06cc\u0628\u0644 \u0633\u0639\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06a9\u0627\u0631\u0628\u0631 \u0641\u0639\u0644\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0628\u0647 \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644 \u0645\u062a\u0635\u0644 \u0634\u0648\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0627\u0632 \u0645\u0627\u0634\u06cc\u0646 \u0644\u0648\u06a9\u0627\u0644 \u06cc\u0627 \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644 Ansible\u060c \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"wp-block-brad-border-box bash language-bash lang:default code_snippet1\">ansible all -m ping -u root<\/pre>\n<p>\u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 \u067e\u06cc\u0646\u06af \u062f\u0627\u062e\u0644\u06cc \u0627\u0646\u0633\u06cc\u0628\u0644 \u0628\u0631\u0627\u06cc \u062a\u0633\u062a \u0627\u062a\u0635\u0627\u0644 \u0631\u0648\u06cc \u062a\u0645\u0627\u0645 \u0646\u0648\u062f\u0647\u0627 \u0627\u0632 inventory \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0628\u0647\u200c\u0639\u0646\u0648\u0627\u0646 \u0631\u0648\u062a \u0628\u0647 \u0647\u0645 \u0645\u062a\u0635\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f.<\/p>\n<p>\u0645\u0627\u0698\u0648\u0644 \u067e\u06cc\u0646\u06af \u0627\u06cc\u0646 \u0645\u0648\u0627\u0631\u062f \u0631\u0627 \u062a\u0633\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f:<\/p>\n<ul>\n<li>\u0622\u06cc\u0627 \u0647\u0627\u0633\u062a\u200c\u0647\u0627 \u0642\u0627\u0628\u0644 \u062f\u0633\u062a\u0631\u0633\u06cc \u0647\u0633\u062a\u0646\u062f.<br \/>\n\u0622\u06cc\u0627 \u0627\u0639\u062a\u0628\u0627\u0631\u0646\u0627\u0645\u0647 SSH \u0645\u0639\u062a\u0628\u0631\u06cc \u062f\u0627\u0631\u06cc\u062f.<br \/>\n\u0622\u06cc\u0627 \u0647\u0627\u0633\u062a\u200c\u0647\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627\u06cc Ansible \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0627\u062c\u0631\u0627 \u06a9\u0646\u0646\u062f.<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0646\u0647\u0627\u06cc\u062a \u0628\u0627\u06cc\u062f \u062e\u0631\u0648\u062c\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>Output\r\nserver1 | SUCCESS =&gt; {\r\n    \"changed\": false,\r\n    \"ping\": \"pong\"\r\n}\r\nserver2 | SUCCESS =&gt; {\r\n    \"changed\": false,\r\n    \"ping\": \"pong\"\r\n}\r\nserver3 | SUCCESS =&gt; {\r\n    \"changed\": false,\r\n    \"ping\": \"pong\"\r\n}<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0627\u06af\u0631 \u0627\u0648\u0644\u06cc\u0646 \u0628\u0627\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u0628\u0647 \u0627\u06cc\u0646 \u0633\u0631\u0648\u0631\u0647\u0627 \u0645\u062a\u0635\u0644 \u0645\u06cc\u200c\u0634\u0648\u06cc\u062f\u060c \u0627\u0632 \u0634\u0645\u0627 \u062e\u0648\u0627\u0633\u062a\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0635\u062d\u062a \u0647\u0627\u0633\u062a\u200c\u0647\u0627\u06cc\u06cc \u0631\u0627 \u06a9\u0647 \u0627\u0632 \u0637\u0631\u06cc\u0642 Ansible \u0628\u0647 \u0622\u0646\u0647\u0627 \u0648\u0635\u0644 \u0645\u06cc\u200c\u0634\u0648\u06cc\u062f\u060c \u062a\u0623\u06cc\u06cc\u062f \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u062a\u0627\u06cc\u06cc\u062f \u0627\u06cc\u0646 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u0639\u0628\u0627\u0631\u062a <code>yes<\/code> \u0631\u0627 \u062a\u0627\u06cc\u067e \u06a9\u0646\u06cc\u062f \u0648 \u0633\u067e\u0633 \u06a9\u0644\u06cc\u062f <code>ENTER<\/code> \u0631\u0627 \u0641\u0634\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u06cc\u06a9 \u067e\u0627\u0633\u062e <code>\"pong\"<\/code> \u0631\u0627 \u0627\u0632 \u06cc\u06a9 \u0647\u0627\u0633\u062a \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0631\u062f\u06cc\u062f\u060c \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0639\u0646\u0627\u0633\u062a \u06a9\u0647 \u0634\u0645\u0627 \u0622\u0645\u0627\u062f\u0647 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a Ansible \u0648 playbooks \u062f\u0631 \u0622\u0646 \u0633\u0631\u0648\u0631 \u0647\u0633\u062a\u06cc\u062f.<\/p>\n<h3>\u0645\u0631\u062d\u0644\u0647 \u0686\u0647\u0627\u0631\u0645: \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a Ad-Hoc (\u0627\u062e\u062a\u06cc\u0627\u0631\u06cc)<\/h3>\n<p style=\"text-align: justify;\">\u067e\u0633 \u0627\u0632 \u062a\u0633\u062a \u0648 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0648 \u062a\u0623\u06cc\u06cc\u062f \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u06a9\u0647 \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644 \u0627\u0646\u0633\u06cc\u0628\u0644 \u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u0628\u0631\u0642\u0631\u0627\u0631\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627 \u0647\u0627\u0633\u062a \u0631\u0627 \u062f\u0627\u0631\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0633\u062a\u0648\u0631\u0627\u062a ad-hoc \u0648 playbooks \u0631\u0627 \u062f\u0631 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u062e\u0648\u062f \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0647\u0631 \u062f\u0633\u062a\u0648\u0631\u06cc \u06a9\u0647 \u0631\u0648\u06cc \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u0627\u062c\u0631\u0627 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0628\u0627 Ansible \u0631\u0648\u06cc \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u0627\u06cc\u0646\u0648\u0646\u062a\u0648\u0631\u06cc \u0627\u062c\u0631\u0627 \u0634\u0648\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u06cc\u0632\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u06cc\u0633\u06a9 \u0631\u0627 \u062f\u0631 \u0647\u0645\u0647 \u0633\u0631\u0648\u0631\u0647\u0627 \u0628\u0627 \u0628\u0647 \u06a9\u0627\u0631 \u0628\u0631\u062f\u0646 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"wp-block-brad-border-box bash language-bash lang:default code_snippet1\">ansible all -a \"df -h\" -u root<\/pre>\n<pre><code>Output\r\nserver1 | CHANGED | rc=0 &gt;&gt;\r\nFilesystem      Size  Used Avail Use% Mounted on\r\nudev            3.8G     0  3.8G   0% \/dev\r\ntmpfs           728M  624K  728M   1% \/run\r\n\/dev\/vda1       156G  2.4G  154G   2% \/\r\ntmpfs           3.9G     0  3.9G   0% \/dev\/shm\r\ntmpfs           5.0M     0  5.0M   0% \/run\/lock\r\ntmpfs           3.9G     0  3.9G   0% \/sys\/fs\/cgroup\r\n\/dev\/vda15      107M  3.6M  103M   4% \/boot\/efi\r\ntmpfs           698M     0  698M   0% \/run\/user\/0\r\n\r\nserver2 | CHANGED | rc=0 &gt;&gt;\r\nFilesystem      Size  Used Avail Use% Mounted on\r\nudev            2.0G     0  2.0G   0% \/dev\r\ntmpfs           391M  608K  390M   1% \/run\r\n\/dev\/vda1        72G  2.2G   70G   3% \/\r\ntmpfs           2.0G     0  2.0G   0% \/dev\/shm\r\ntmpfs           5.0M     0  5.0M   0% \/run\/lock\r\ntmpfs           2.0G     0  2.0G   0% \/sys\/fs\/cgroup\r\n\/dev\/vda15      109M  3.6M  105M   4% \/boot\/efi\r\ntmpfs           325M     0  325M   0% \/run\/user\/0\r\n\r\n...<\/code><\/pre>\n<p style=\"text-align: justify;\">\u062f\u0633\u062a\u0648\u0631 <code>df -h<\/code> \u0631\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0647\u0631 \u062f\u0633\u062a\u0648\u0631\u06cc \u06a9\u0647 \u062f\u0648\u0633\u062a \u062f\u0627\u0634\u062a\u06cc\u062f \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u06a9\u0646\u06cc\u062f. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627\u06cc Ansible \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062f\u0633\u062a\u0648\u0631\u0627\u062a ad-hoc \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f\u060c \u0645\u0634\u0627\u0628\u0647 \u0622\u0646\u0686\u0647 \u06a9\u0647 \u0642\u0628\u0644\u0627\u064b \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 <code>ping<\/code> \u0628\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0627\u062a\u0635\u0627\u0644 \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f\u06cc\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 <code>apt<\/code> \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0622\u062e\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 <code>vim<\/code> \u062f\u0631 \u062a\u0645\u0627\u0645 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc inventory \u0622\u0645\u062f\u0647 \u0627\u0633\u062a:<\/p>\n<pre class=\"wp-block-brad-border-box bash language-bash lang:default code_snippet1\">ansible all -m apt -a \"name=vim state=latest\" -u root<\/pre>\n<p style=\"text-align: justify;\">\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0647\u0646\u06af\u0627\u0645 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0627\u0646\u0633\u06cc\u0628\u0644\u060c \u0647\u0627\u0633\u062a\u200c\u0647\u0627\u06cc \u062c\u062f\u0627\u06af\u0627\u0646\u0647\u060c \u06af\u0631\u0648\u0647\u200c\u0647\u0627 \u0648 \u0632\u06cc\u0631 \u06af\u0631\u0648\u0647\u200c\u0647\u0627 \u0631\u0627 \u0647\u062f\u0641 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u067e\u200c\u062a\u0627\u06cc\u0645 \u0647\u0631 \u0647\u0627\u0633\u062a \u062f\u0631 \u06af\u0631\u0648\u0647 \u0633\u0631\u0648\u0631\u0647\u0627 \u0631\u0627 \u0628\u0627 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"wp-block-brad-border-box bash language-bash lang:default code_snippet1\">ansible servers -a \"uptime\" -u root<\/pre>\n<p style=\"text-align: justify;\">\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0686\u0646\u062f\u06cc\u0646 \u0647\u0627\u0633\u062a \u0631\u0627 \u0628\u0627 \u062c\u062f\u0627 \u06a9\u0631\u062f\u0646 \u0622\u0646\u0647\u0627 \u0628\u0627 \u062f\u0648 \u0646\u0642\u0637\u0647 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u0645:<\/p>\n<pre class=\"wp-block-brad-border-box bash language-bash lang:default code_snippet1\">ansible server1:server2 -m ping -u root<\/pre>\n<h2>\u062c\u0645\u0639\u200c\u0628\u0646\u062f\u06cc<\/h2>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0622\u0645\u0648\u0632\u0634\u06cc \u0628\u0627 \u0645\u0631\u0627\u062d\u0644 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0622\u0634\u0646\u0627 \u0634\u062f\u06cc\u0645. \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06af\u0627\u0645\u200c\u0647\u0627\u06cc \u0628\u0627\u0644\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f Ansible \u0631\u0627 \u0646\u0635\u0628 \u0648 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0627\u06cc\u0646\u0648\u0646\u062a\u0648\u0631\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a ad-hoc \u0627\u0632 \u06cc\u06a9 \u0646\u0648\u062f \u06a9\u0646\u062a\u0631\u0644 \u0627\u0646\u0633\u06cc\u0628\u0644 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f. \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u062a\u0623\u06cc\u06cc\u062f \u06a9\u0631\u062f\u06cc\u062f \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0632\u06cc\u0631\u0633\u0627\u062e\u062a \u062e\u0648\u062f \u0631\u0627 \u0627\u0632 \u06cc\u06a9 \u0645\u0627\u0634\u06cc\u0646 \u06a9\u0646\u062a\u0631\u0644\u200c\u06a9\u0646\u0646\u062f\u0647 \u0645\u0631\u06a9\u0632\u06cc Ansible \u0645\u062a\u0635\u0644 \u0648 \u06a9\u0646\u062a\u0631\u0644 \u0646\u0645\u0627\u06cc\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0647\u0631 \u062f\u0633\u062a\u0648\u0631 \u06cc\u0627 \u067e\u0644\u06cc\u200c\u0628\u0648\u06a9 \u0631\u0627 \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u0631\u0648\u06cc \u0622\u0646 \u0647\u0627\u0633\u062a \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\u060c \u0627\u0645\u06a9\u0627\u0646 \u062e\u0648\u062f\u06a9\u0627\u0631\u0633\u0627\u0632\u06cc \u0641\u0631\u0627\u06cc\u0646\u062f\u0647\u0627\u06cc \u0632\u06cc\u0631\u0633\u0627\u062e\u062a\u06cc \u0631\u0627 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f. \u0627\u0646\u0633\u06cc\u0628\u0644 \u06cc\u06a9\u06cc \u0627\u0632 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u062d\u0628\u0648\u0628 \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0641\u0631\u0627\u06cc\u0646\u062f\u0647\u0627\u06cc \u0632\u06cc\u0631\u0633\u0627\u062e\u062a \u0627\u0633\u062a \u06a9\u0647 \u0628\u06cc\u0646 \u0645\u062a\u062e\u0635\u0635\u0627\u0646 DevOps \u0645\u062d\u0628\u0648\u0628\u06cc\u062a \u0628\u0627\u0644\u0627\u06cc\u06cc \u062f\u0627\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0627\u0632 \u0622\u0628\u0627\u0644\u0648\u0646 &#8230;<\/p>\n","protected":false},"author":20,"featured_media":10911,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","spc_primary_category":-1},"categories":[39,43],"tags":[],"class_list":["post-10431","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-app-guide"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.8 (Yoast SEO v25.8) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u06a9\u0627\u0645\u0644 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4<\/title>\n<meta name=\"description\" content=\"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0633\u0631\u06cc\u0639 \u0648 \u0622\u0633\u0627\u0646 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0646\u062d\u0648\u0647 \u062a\u0633\u062a \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0647\u0627\u0633\u062a\u200c\u0647\u0627 \u0648 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a Ad-Hoc \u062f\u0631 ansible\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/abalon.cloud\/blog\/install-ansible\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648\" \/>\n<meta property=\"og:description\" content=\"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0633\u0631\u06cc\u0639 \u0648 \u0622\u0633\u0627\u0646 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0646\u062d\u0648\u0647 \u062a\u0633\u062a \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0647\u0627\u0633\u062a\u200c\u0647\u0627 \u0648 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a Ad-Hoc \u062f\u0631 ansible\" \/>\n<meta property=\"og:url\" content=\"https:\/\/abalon.cloud\/blog\/install-ansible\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af \u0622\u0628\u0627\u0644\u0648\u0646\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-13T12:30:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-02T16:08:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/01\/xaas-how-to-install-ansible.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"780\" \/>\n\t<meta property=\"og:image:height\" content=\"470\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/abalon.cloud\/blog\/install-ansible\/\",\"url\":\"https:\/\/abalon.cloud\/blog\/install-ansible\/\",\"name\":\"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u06a9\u0627\u0645\u0644 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4\",\"isPartOf\":{\"@id\":\"https:\/\/abalon.cloud\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/abalon.cloud\/blog\/install-ansible\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/abalon.cloud\/blog\/install-ansible\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/01\/xaas-how-to-install-ansible.jpeg\",\"datePublished\":\"2024-04-13T12:30:52+00:00\",\"dateModified\":\"2025-09-02T16:08:41+00:00\",\"author\":{\"@id\":\"https:\/\/abalon.cloud\/blog\/#\/schema\/person\/e0b9bcf700745d2786c22d6cb7afa27d\"},\"description\":\"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0633\u0631\u06cc\u0639 \u0648 \u0622\u0633\u0627\u0646 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0646\u062d\u0648\u0647 \u062a\u0633\u062a \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0647\u0627\u0633\u062a\u200c\u0647\u0627 \u0648 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a Ad-Hoc \u062f\u0631 ansible\",\"breadcrumb\":{\"@id\":\"https:\/\/abalon.cloud\/blog\/install-ansible\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/abalon.cloud\/blog\/install-ansible\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/abalon.cloud\/blog\/install-ansible\/#primaryimage\",\"url\":\"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/01\/xaas-how-to-install-ansible.jpeg\",\"contentUrl\":\"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/01\/xaas-how-to-install-ansible.jpeg\",\"width\":780,\"height\":470,\"caption\":\"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/abalon.cloud\/blog\/install-ansible\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/abalon.cloud\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/abalon.cloud\/blog\/#website\",\"url\":\"https:\/\/abalon.cloud\/blog\/\",\"name\":\"\u0628\u0644\u0627\u06af \u0622\u0628\u0627\u0644\u0648\u0646\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/abalon.cloud\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/abalon.cloud\/blog\/#\/schema\/person\/e0b9bcf700745d2786c22d6cb7afa27d\",\"name\":\"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/abalon.cloud\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/12\/mystery-96x96.png\",\"contentUrl\":\"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/12\/mystery-96x96.png\",\"caption\":\"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc\"},\"url\":\"https:\/\/abalon.cloud\/blog\/author\/r-rasouli\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u06a9\u0627\u0645\u0644 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4","description":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0633\u0631\u06cc\u0639 \u0648 \u0622\u0633\u0627\u0646 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0646\u062d\u0648\u0647 \u062a\u0633\u062a \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0647\u0627\u0633\u062a\u200c\u0647\u0627 \u0648 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a Ad-Hoc \u062f\u0631 ansible","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:\/\/abalon.cloud\/blog\/install-ansible\/","og_locale":"fa_IR","og_type":"article","og_title":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648","og_description":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0633\u0631\u06cc\u0639 \u0648 \u0622\u0633\u0627\u0646 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0646\u062d\u0648\u0647 \u062a\u0633\u062a \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0647\u0627\u0633\u062a\u200c\u0647\u0627 \u0648 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a Ad-Hoc \u062f\u0631 ansible","og_url":"https:\/\/abalon.cloud\/blog\/install-ansible\/","og_site_name":"\u0628\u0644\u0627\u06af \u0622\u0628\u0627\u0644\u0648\u0646","article_published_time":"2024-04-13T12:30:52+00:00","article_modified_time":"2025-09-02T16:08:41+00:00","og_image":[{"width":780,"height":470,"url":"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/01\/xaas-how-to-install-ansible.jpeg","type":"image\/jpeg"}],"author":"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"8 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/abalon.cloud\/blog\/install-ansible\/","url":"https:\/\/abalon.cloud\/blog\/install-ansible\/","name":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u06a9\u0627\u0645\u0644 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4","isPartOf":{"@id":"https:\/\/abalon.cloud\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/abalon.cloud\/blog\/install-ansible\/#primaryimage"},"image":{"@id":"https:\/\/abalon.cloud\/blog\/install-ansible\/#primaryimage"},"thumbnailUrl":"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/01\/xaas-how-to-install-ansible.jpeg","datePublished":"2024-04-13T12:30:52+00:00","dateModified":"2025-09-02T16:08:41+00:00","author":{"@id":"https:\/\/abalon.cloud\/blog\/#\/schema\/person\/e0b9bcf700745d2786c22d6cb7afa27d"},"description":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0633\u0631\u06cc\u0639 \u0648 \u0622\u0633\u0627\u0646 \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f2.\u06f0\u06f4 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0646\u062d\u0648\u0647 \u062a\u0633\u062a \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0647\u0627\u0633\u062a\u200c\u0647\u0627 \u0648 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a Ad-Hoc \u062f\u0631 ansible","breadcrumb":{"@id":"https:\/\/abalon.cloud\/blog\/install-ansible\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/abalon.cloud\/blog\/install-ansible\/"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/abalon.cloud\/blog\/install-ansible\/#primaryimage","url":"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/01\/xaas-how-to-install-ansible.jpeg","contentUrl":"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/01\/xaas-how-to-install-ansible.jpeg","width":780,"height":470,"caption":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648"},{"@type":"BreadcrumbList","@id":"https:\/\/abalon.cloud\/blog\/install-ansible\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/abalon.cloud\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0627\u0646\u0633\u06cc\u0628\u0644 \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648"}]},{"@type":"WebSite","@id":"https:\/\/abalon.cloud\/blog\/#website","url":"https:\/\/abalon.cloud\/blog\/","name":"\u0628\u0644\u0627\u06af \u0622\u0628\u0627\u0644\u0648\u0646","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/abalon.cloud\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"},{"@type":"Person","@id":"https:\/\/abalon.cloud\/blog\/#\/schema\/person\/e0b9bcf700745d2786c22d6cb7afa27d","name":"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/abalon.cloud\/blog\/#\/schema\/person\/image\/","url":"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/12\/mystery-96x96.png","contentUrl":"https:\/\/abalon.cloud\/blog\/wp-content\/uploads\/2024\/12\/mystery-96x96.png","caption":"\u0633\u0627\u0631\u0627 \u0631\u0633\u0648\u0644\u06cc"},"url":"https:\/\/abalon.cloud\/blog\/author\/r-rasouli\/"}]}},"_links":{"self":[{"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/posts\/10431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/comments?post=10431"}],"version-history":[{"count":8,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/posts\/10431\/revisions"}],"predecessor-version":[{"id":10912,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/posts\/10431\/revisions\/10912"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/media\/10911"}],"wp:attachment":[{"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/media?parent=10431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/categories?post=10431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/abalon.cloud\/blog\/wp-json\/wp\/v2\/tags?post=10431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}