1# SOME DESCRIPTIVE TITLE.
2# Copyright (C) 2019 Red Hat, Inc.
3# This file is distributed under the same license as the Ansible package.
4# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
5#
6msgid ""
7msgstr ""
8"Project-Id-Version: Ansible devel\n"
9"Report-Msgid-Bugs-To: \n"
10"POT-Creation-Date: 2021-07-12 10:48+0200\n"
11"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13"Language-Team: LANGUAGE <LL@li.org>\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=utf-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17"Generated-By: Babel 2.9.0\n"
18
19#: ../../rst/network/dev_guide/developing_plugins_network.rst:7
20msgid "Developing network plugins"
21msgstr "ネットワークプラグインの開発"
22
23#: ../../rst/network/dev_guide/developing_plugins_network.rst:9
24msgid "You can extend the existing network modules with custom plugins in your collection."
25msgstr "コレクションのカスタムプラグインを使用して、既存のネットワークモジュールを拡張できます。"
26
27#: ../../rst/network/dev_guide/developing_plugins_network.rst:15
28msgid "Network connection plugins"
29msgstr "ネットワーク接続プラグイン"
30
31#: ../../rst/network/dev_guide/developing_plugins_network.rst:16
32msgid "Each network connection plugin has a set of its own plugins which provide a specification of the connection for a particular set of devices. The specific plugin used is selected at runtime based on the value of the ``ansible_network_os`` variable assigned to the host. This variable should be set to the same value as the name of the plugin to be loaded. Thus, ``ansible_network_os=nxos`` will try to load a plugin in a file named ``nxos.py``, so it is important to name the plugin in a way that will be sensible to users."
33msgstr "各ネットワーク接続プラグインには、独自のプラグインセットがあります。これは、特定のデバイスセットの接続の仕様を提供します。使用される特定のプラグインは、ホストに割り当てられた ``ansible_network_os`` 変数の値に基づいてランタイム時に選択されます。この変数は、読み込むプラグインの名前と同じ値に設定する必要があります。そのため、``ansible_network_os=nxos`` は、``nxos.py`` という名前のファイルにプラグインを読み込もうとするため、ユーザーが適切な方法でプラグインに名前を付けることが重要です。"
34
35#: ../../rst/network/dev_guide/developing_plugins_network.rst:23
36msgid "Public methods of these plugins may be called from a module or module_utils with the connection proxy object just as other connection methods can. The following is a very simple example of using such a call in a module_utils file so it may be shared with other modules."
37msgstr "これらのプラグインのパブリックメソッドは、他の接続方法と同様に、接続のプロキシーオブジェクトを使用して、モジュールまたは module_utils から接続で呼び出すことができます。以下は、その他のモジュールと共有できるように、module_utils ファイルでこのような呼び出しを使用する非常に簡単な例です。"
38
39#: ../../rst/network/dev_guide/developing_plugins_network.rst:45
40msgid "Developing httpapi plugins"
41msgstr "httpapi プラグインの開発"
42
43#: ../../rst/network/dev_guide/developing_plugins_network.rst:47
44msgid ":ref:`httpapi plugins <httpapi_plugins>` serve as adapters for various HTTP(S) APIs for use with the ``httpapi`` connection plugin. They should implement a minimal set of convenience methods tailored to the API you are attempting to use."
45msgstr ":ref:`httpapi プラグイン <httpapi_plugins>` は、``httpapi`` 接続プラグインで使用するさまざまな HTTP(S) API のアダプターとして機能します。このプラグインは、使用しようとしている API に適した最小限の便利なメソッドを実装する必要があります。"
46
47#: ../../rst/network/dev_guide/developing_plugins_network.rst:49
48msgid "Specifically, there are a few methods that the ``httpapi`` connection plugin expects to exist."
49msgstr "具体的には、``httpapi`` 接続プラグインが存在することが必要なメソッドがいくつかあります。"
50
51#: ../../rst/network/dev_guide/developing_plugins_network.rst:52
52msgid "Making requests"
53msgstr "要求の作成"
54
55#: ../../rst/network/dev_guide/developing_plugins_network.rst:54
56msgid "The ``httpapi`` connection plugin has a ``send()`` method, but an httpapi plugin needs a ``send_request(self, data, **message_kwargs)`` method as a higher-level wrapper to ``send()``. This method should prepare requests by adding fixed values like common headers or URL root paths. This method may do more complex work such as turning data into formatted payloads, or determining which path or method to request. It may then also unpack responses to be more easily consumed by the caller."
57msgstr "``httpapi`` 接続プラグインには ``send()`` メソッドがありますが、httpapi プラグインには、``send()`` への高レベルラッパーとして ``send_request(self, data, **message_kwargs)`` メソッドが必要です。このメソッドは、共通ヘッダーや URL ルートパスなどの固定値を追加することで要求を準備する必要があります。このメソッドは、フォーマットされたペイロードへのデータの切り替えや、リクエスト用のパスやメソッドの特定など、より複雑な作業を行うことがあります。その後、呼び出し元によって簡単に消費される応答が展開される可能性があります"
58
59#: ../../rst/network/dev_guide/developing_plugins_network.rst:74
60msgid "Authenticating"
61msgstr "認証"
62
63#: ../../rst/network/dev_guide/developing_plugins_network.rst:76
64msgid "By default, all requests will authenticate with HTTP Basic authentication. If a request can return some kind of token to stand in place of HTTP Basic, the ``update_auth(self, response, response_text)`` method should be implemented to inspect responses for such tokens. If the token is meant to be included with the headers of each request, it is sufficient to return a dictionary which will be merged with the computed headers for each request. The default implementation of this method does exactly this for cookies. If the token is used in another way, say in a query string, you should instead save that token to an instance variable, where the ``send_request()`` method (above) can add it to each request"
65msgstr "デフォルトでは、すべての要求は HTTP Basic 認証で認証されます。要求が HTTP Basic の代わりにある種のトークンを返す場合は、``update_auth(self, response, response_text)`` メソッドを実装して、このようなトークンの応答を検査する必要があります。トークンが各要求のヘッダーに含まれるように設計されている場合は、各要求に対して計算されたヘッダーとマージするディクショナリーを返すだけで十分です。このメソッドのデフォルト実装は Cookie に対して行われる方法で行われます。トークンが別の方法 (クエリー文字列など) で使用される場合は、そのトークンをインスタンス変数に保存して、``send_request()`` メソッド (上記) により各要求に追加できるようにします。"
66
67#: ../../rst/network/dev_guide/developing_plugins_network.rst:87
68msgid "If instead an explicit login endpoint needs to be requested to receive an authentication token, the ``login(self, username, password)`` method can be implemented to call that endpoint. If implemented, this method will be called once before requesting any other resources of the server. By default, it will also be attempted once when a HTTP 401 is returned from a request."
69msgstr "代わりに明示的なログインエンドポイントを要求して認証トークンを受け取る必要がある場合は、``login(self, username, password)`` メソッドを実装して、そのエンドポイントを呼び出すことができます。このメソッドを実装すると、サーバーの他のリソースを要求する前にこのメソッドが一度呼び出されます。デフォルトでは、要求から HTTP 401 が返されるとこれが一度試行されます。"
70
71#: ../../rst/network/dev_guide/developing_plugins_network.rst:105
72msgid "Similarly, ``logout(self)`` can be implemented to call an endpoint to invalidate and/or release the current token, if such an endpoint exists. This will be automatically called when the connection is closed (and, by extension, when reset)."
73msgstr "同様に、``logout(self)`` を実装してエンドポイントを呼び出し、そのエンドポイントが存在する場合は現在のトークンを無効化または解放できます。これは、接続を閉じると自動的に呼び出されます (また、リセット時には拡張により呼び出されます)。"
74
75#: ../../rst/network/dev_guide/developing_plugins_network.rst:117
76msgid "Error handling"
77msgstr "エラー処理"
78
79#: ../../rst/network/dev_guide/developing_plugins_network.rst:119
80msgid "The ``handle_httperror(self, exception)`` method can deal with status codes returned by the server. The return value indicates how the plugin will continue with the request:"
81msgstr "``handle_httperror(self, exception)`` メソッドは、サーバーによって返されるステータスコードを処理できます。戻り値は、プラグインがどのようにリクエストを続けるかを示します。"
82
83#: ../../rst/network/dev_guide/developing_plugins_network.rst:121
84msgid "A value of ``true`` means that the request can be retried. This my be used to indicate a transient error, or one that has been resolved. For example, the default implementation will try to call ``login()`` when presented with a 401, and return ``true`` if successful."
85msgstr "``true`` の値は、要求を再試行できることを意味します。これは、一時的なエラーや解決されたエラーを示すために使用できます。たとえば、デフォルトの実装では、401 が示されると ``login()`` の呼び出しが試行され、成功した場合は ``true`` が返されます。"
86
87#: ../../rst/network/dev_guide/developing_plugins_network.rst:123
88msgid "A value of ``false`` means that the plugin is unable to recover from this response. The status code will be raised as an exception to the calling module."
89msgstr "``false`` の値は、プラグインがこの応答から復元できないことを意味します。ステータスコードは、呼び出したモジュールに例外としてあげられます。"
90
91#: ../../rst/network/dev_guide/developing_plugins_network.rst:125
92msgid "Any other value will be taken as a nonfatal response from the request. This may be useful if the server returns error messages in the body of the response. Returning the original exception is usually sufficient in this case, as HTTPError objects have the same interface as a successful response."
93msgstr "その他の値は、要求からの致命的でない応答として取られます。これは、サーバーが応答のボディーでエラーメッセージを返す場合に便利です。HTTPError オブジェクトは正常な応答と同じインターフェースを持つため、通常は元の例外を返します。"
94
95#: ../../rst/network/dev_guide/developing_plugins_network.rst:127
96msgid "For example httpapi plugins, see the `source code for the httpapi plugins <https://github.com/ansible/ansible/tree/devel/lib/ansible/plugins/httpapi>`_ included with Ansible Core."
97msgstr "httpapi プラグインの例は、Ansible Core に含まれる `httpapi プラグインのソースコード <https://github.com/ansible/ansible/tree/devel/lib/ansible/plugins/httpapi>`_ を参照してください。"
98
99#: ../../rst/network/dev_guide/developing_plugins_network.rst:132
100msgid "Developing NETCONF plugins"
101msgstr "NETCONF プラグインの開発"
102
103#: ../../rst/network/dev_guide/developing_plugins_network.rst:134
104msgid "The :ref:`netconf <netconf_connection>` connection plugin provides a connection to remote devices over the ``SSH NETCONF`` subsystem. Network devices typically use this connection plugin to send and receive ``RPC`` calls over ``NETCONF``."
105msgstr ":ref:`netconf <netconf_connection>` 接続プラグインは、``SSH NETCONF`` サブシステム経由でリモートデバイスへの接続を提供します。ネットワークデバイスは通常、この接続プラグインを使用して、``NETCONF`` で ``RPC`` 呼び出しを送受信します。"
106
107#: ../../rst/network/dev_guide/developing_plugins_network.rst:136
108msgid "The ``netconf`` connection plugin uses the ``ncclient`` Python library under the hood to initiate a NETCONF session with a NETCONF-enabled remote network device. ``ncclient`` also executes NETCONF RPC requests and receives responses. You must install the ``ncclient`` on the local Ansible controller."
109msgstr "``netconf`` 接続プラグインは、Python ライブラリー ``ncclient`` を使用して、NETCONF が有効なリモートネットワークデバイスで NETCONF セッションを開始します。また、``ncclient`` は NETCONF RPC 要求を実行し、応答を受け取ります。ローカルの Ansible コントローラーに ``ncclient`` をインストールする必要があります。"
110
111#: ../../rst/network/dev_guide/developing_plugins_network.rst:138
112msgid "To use the ``netconf`` connection plugin for network devices that support standard NETCONF (:RFC:`6241`) operations such as ``get``, ``get-config``, ``edit-config``, set ``ansible_network_os=default``. You can use :ref:`netconf_get <netconf_get_module>`, :ref:`netconf_config <netconf_config_module>` and :ref:`netconf_rpc <netconf_rpc_module>` modules to talk to a NETCONF enabled remote host."
113msgstr "``get``、``get-config``、``edit-config`` などの標準 NETCONF (:RFC:`6241`) 操作に対応するネットワークデバイスの ``netconf`` 接続プラグインを使用するには、``ansible_network_os=default`` を設定します。:ref:`netconf_get <netconf_get_module>` モジュール、:ref:`netconf_config <netconf_config_module>` モジュール、および :ref:`netconf_rpc <netconf_rpc_module>` モジュールを使用して、NETCONF が有効なリモートホストと通信できます。"
114
115#: ../../rst/network/dev_guide/developing_plugins_network.rst:141
116msgid "As a contributor and user, you should be able to use all the methods under the ``NetconfBase`` class if your device supports standard NETCONF. You can contribute a new plugin if the device you are working with has a vendor specific NETCONF RPC. To support a vendor specific NETCONF RPC, add the implementation in the network OS specific NETCONF plugin."
117msgstr "デバイスが標準の NETCONF に対応している場合は、貢献者およびユーザーとして、``NetconfBase`` クラスのすべてのメソッドを使用できるようにする必要があります。作業しているデバイスにベンダー固有の NETCONF RPC がある場合は、新しいプラグインを提供できます。ベンダー固有の NETCONF RPC に対応するには、ネットワーク OS 固有の NETCONF プラグインに実装を追加します。"
118
119#: ../../rst/network/dev_guide/developing_plugins_network.rst:144
120msgid "For Junos for example:"
121msgstr "たとえば、Junios の場合は以下のようになります。"
122
123#: ../../rst/network/dev_guide/developing_plugins_network.rst:146
124msgid "See the vendor-specific Junos RPC methods implemented in ``plugins/netconf/junos.py``."
125msgstr "``plugins/netconf/junos.py`` に実装されるベンダー固有の Junos RPC メソッドを参照してください。"
126
127#: ../../rst/network/dev_guide/developing_plugins_network.rst:147
128msgid "Set the value of ``ansible_network_os`` to the name of the netconf plugin file, that is ``junos`` in this case."
129msgstr "``ansible_network_os`` の値を netconf プラグインファイルの名前 (ここでは ``junos``) に設定します。"
130
131#: ../../rst/network/dev_guide/developing_plugins_network.rst:152
132msgid "Developing network_cli plugins"
133msgstr "network_cli プラグインの開発"
134
135#: ../../rst/network/dev_guide/developing_plugins_network.rst:154
136msgid "The :ref:`network_cli <network_cli_connection>` connection type uses ``paramiko_ssh`` under the hood which creates a pseudo terminal to send commands and receive responses. ``network_cli`` loads two platform specific plugins based on the value of ``ansible_network_os``:"
137msgstr "接続タイプ :ref:`network_cli <network_cli_connection>` は、コマンドを送信して応答を受け取るための疑似端末を作成するフード (hood) の下で、``paramiko_ssh`` を使用します。``network_cli`` は、``ansible_network_os`` の値に基づいて 2 つのプラットフォーム固有のプラグインを読み込みます。"
138
139#: ../../rst/network/dev_guide/developing_plugins_network.rst:157
140msgid "Terminal plugin (for example ``plugins/terminal/ios.py``) - Controls the parameters related to terminal, such as setting terminal length and width, page disabling and privilege escalation. Also defines regex to identify the command prompt and error prompts."
141msgstr "端末のプラグイン (例: ``plugins/terminal/ios.py``) - 端末の長さや幅の設定、ページの無効化、権限の昇格など、端末に関連するパラメーターを制御します。また、正規表現を定義して、コマンドプロンプトおよびエラープロンプトを特定します。"
142
143#: ../../rst/network/dev_guide/developing_plugins_network.rst:159
144msgid ":ref:`cliconf_plugins` (for example, :ref:`ios cliconf <ios_cliconf>`) - Provides an abstraction layer for low level send and receive operations. For example, the ``edit_config()`` method ensures that the prompt is in ``config`` mode before executing configuration commands."
145msgstr ":ref:`cliconf_plugins` (例: :ref:`ios cliconf <ios_cliconf>`) - 低レベルの送受信操作の抽象化レイヤーを提供します。たとえば、``edit_config()`` メソッドは、設定コマンドを実行する前にプロンプトが ``config`` モードになるようにします。"
146
147#: ../../rst/network/dev_guide/developing_plugins_network.rst:161
148msgid "To contribute a new network operating system to work with the ``network_cli`` connection, implement the ``cliconf`` and ``terminal`` plugins for that network OS."
149msgstr "新しいネットワークオペレーティングシステムが ``network_cli`` 接続と連携するようにするには、そのネットワーク OS の ``cliconf`` プラグインおよび ``terminal`` プラグインを実装します。"
150
151#: ../../rst/network/dev_guide/developing_plugins_network.rst:163
152msgid "The plugins can reside in:"
153msgstr "このプラグインは以下の場所に置くことができます。"
154
155#: ../../rst/network/dev_guide/developing_plugins_network.rst:165
156msgid "Adjacent to playbook in folders"
157msgstr "ディレクトリー内で Playbook に隣接"
158
159#: ../../rst/network/dev_guide/developing_plugins_network.rst:172
160msgid "Roles"
161msgstr "ロール"
162
163#: ../../rst/network/dev_guide/developing_plugins_network.rst:179
164#: ../../rst/shared_snippets/basic_concepts.txt:17
165msgid "Collections"
166msgstr "コレクション"
167
168#: ../../rst/network/dev_guide/developing_plugins_network.rst:186
169msgid "The user can also set the :ref:`DEFAULT_CLICONF_PLUGIN_PATH`  to configure the ``cliconf`` plugin path."
170msgstr "``cliconf`` プラグインパスを設定するために、ユーザーは :ref:`DEFAULT_CLICONF_PLUGIN_PATH` を設定することもできます。"
171
172#: ../../rst/network/dev_guide/developing_plugins_network.rst:188
173msgid "After adding the ``cliconf`` and ``terminal`` plugins in the expected locations, users can:"
174msgstr "予想される場所に ``cliconf`` プラグインおよび ``terminal`` プラグインを追加したら、ユーザーは以下を行うことができます。"
175
176#: ../../rst/network/dev_guide/developing_plugins_network.rst:190
177msgid "Use the :ref:`cli_command <cli_command_module>` to run an arbitrary command on the network device."
178msgstr ":ref:`cli_command <cli_command_module>` を使用して、ネットワークデバイス上で任意のコマンドを実行します。"
179
180#: ../../rst/network/dev_guide/developing_plugins_network.rst:191
181msgid "Use the :ref:`cli_config <cli_config_module>` to  implement configuration changes on the remote hosts without platform-specific modules."
182msgstr ":ref:`cli_config <cli_config_module>` を使用して、プラットフォーム固有のモジュールを使用しないリモートホストに設定変更を実装する。"
183
184#: ../../rst/network/dev_guide/developing_plugins_network.rst:197
185msgid "Developing cli_parser plugins in a collection"
186msgstr "コレクションでの cli_parser プラグインの開発"
187
188#: ../../rst/network/dev_guide/developing_plugins_network.rst:199
189msgid "You can use ``cli_parse`` as an entry point for a cli_parser plugin in your own collection."
190msgstr "``cli_parse`` は、独自のコレクションで cli_parser プラグインのエントリーポイントとして使用できます。"
191
192#: ../../rst/network/dev_guide/developing_plugins_network.rst:202
193msgid "The following sample shows the start of a custom cli_parser plugin:"
194msgstr "以下の例は、カスタム cli_parser プラグインの開始を示しています。"
195
196#: ../../rst/network/dev_guide/developing_plugins_network.rst:245
197msgid "The following task uses this custom cli_parser plugin:"
198msgstr "以下のタスクでは、このカスタム cli_parser プラグインを使用します。"
199
200#: ../../rst/network/dev_guide/developing_plugins_network.rst:255
201msgid "To develop a custom plugin: - Each cli_parser plugin requires a ``CliParser`` class. - Each cli_parser plugin requires a ``parse`` function. - Always return a dictionary with ``errors`` or ``parsed``. - Place the custom cli_parser in plugins/cli_parsers directory of the collection. - See the `current cli_parsers <https://github.com/ansible-collections/ansible.netcommon/tree/main/plugins/cli_parsers>`_ for examples to follow."
202msgstr "カスタムプラグインを開発するには: - 各 cli_parser プラグインには ``CliParser`` クラスが必要です。- 各 cli_parser プラグインには ``parse`` 関数が必要です。- 常に ``errors`` または ``parsed`` でディクショナリーを返します。コレクションの plugins/cli_parsers ディレクトリーにカスタムの cli_parser を置きます。例は `現在の cli_parsers <https://github.com/ansible-collections/ansible.netcommon/tree/main/plugins/cli_parsers>` を参照してください。"
203
204#: ../../rst/network/dev_guide/developing_plugins_network.rst:265
205msgid ":ref:`cli_parsing`"
206msgstr ":ref:`cli_parsing`"
207
208#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:6
209msgid "Developing network resource modules"
210msgstr "ネットワークリソースモジュールの開発"
211
212#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:13
213msgid "Understanding network and security resource modules"
214msgstr "ネットワークおよびセキュリティーのリソースモジュールの概要"
215
216#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:15
217msgid "Network and security devices separate configuration into sections (such as interfaces, VLANs, and so on) that apply to a network or security service. Ansible resource modules take advantage of this to allow users to configure subsections or resources within the device configuration. Resource modules provide a consistent experience across different network and security devices. For example, a network resource module may only update the configuration for a specific portion of the network interfaces, VLANs, ACLs, and so on for a network device. The resource module:"
218msgstr "ネットワークデバイスおよびセキュリティーデバイスは、その設定を、ネットワークサービスまたはセキュリティーサービスに適用されるセクション (インターフェース、VLAN など) に分割します。Ansible リソースモジュールはこれを利用して、ユーザーがデバイス設定でサブセクションやリソースを設定できるようにします。リソースモジュールは、異なるネットワークおよびセキュリティーデバイス全体で一貫したエクスペリエンスを提供します。たとえば、ネットワークリソースモジュールは、ネットワークインターフェース、VLAN、ACL などの特定の部分に対して設定を更新することができます。リソースモジュールは、以下を行います。"
219
220#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:17
221msgid "Fetches a piece of the configuration (fact gathering), for example, the interfaces configuration."
222msgstr "インターフェース設定など、設定の一部 (ファクト収集) を取得します。"
223
224#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:18
225msgid "Converts the returned configuration into key-value pairs."
226msgstr "返された設定をキーと値のペアに変換します。"
227
228#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:19
229msgid "Places those key-value pairs into an internal agnostic structured data format."
230msgstr "これらのキーと値のペアを内部に依存しない構造化データ形式に置きます。"
231
232#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:21
233msgid "Now that the configuration data is normalized, the user can update and modify the data and then use the resource module to send the configuration data back to the device. This results in a full round-trip configuration update without the need for manual parsing, data manipulation, and data model management."
234msgstr "設定データが正規化され、ユーザーはデータを更新して変更し、リソースモジュールを使用して設定データをデバイスに戻すことができます。これにより、手動の解析、データ操作、およびデータモデル管理を必要とせずに、完全なラウンドトリップ設定の更新が可能になります。"
235
236#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:23
237msgid "The resource module has two top-level keys - ``config`` and ``state``:"
238msgstr "リソースモジュールには、``config`` と ``state`` の 2 つのトップレベルキーがあります。"
239
240#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:25
241msgid "``config`` defines the resource configuration data model as key-value pairs.  The type of the ``config`` option can be ``dict`` or ``list of dict`` based on the resource managed.  That is, if the device has a single global configuration, it should be a ``dict`` (for example, a global LLDP configuration). If the device has multiple instances of configuration, it should be of type ``list`` with each element in the list of type ``dict`` (for example, interfaces configuration)."
242msgstr "``config`` は、リソース設定のデータモデルをキーと値のペアとして定義します。``config`` オプションのタイプは、管理されるリソースに基づいて ``dict`` または ``list of dict`` になります。つまり、デバイスにグローバル設定が 1 つある場合には、``dict`` でなければなりません (例: グローバル LLDP 設定)。デバイスに複数の設定インスタンスがある場合は、タイプが ``list`` となり、リストの各要素はタイプが ``dict`` である必要があります (例: インターフェース設定)。"
243
244#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:28
245msgid "``state`` defines the action the resource module takes on the end device."
246msgstr "``state`` リソースモジュールがエンドデバイスで使用するアクションを定義します。"
247
248#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:30
249msgid "The ``state`` for a new resource module should support the following values (as applicable for the devices that support them):"
250msgstr "新しいリソースモジュールの ``state`` は、以下の値をサポートする必要があります (サポートするデバイスに該当する場合)。"
251
252#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:33
253#: ../../rst/network/user_guide/network_resource_modules.rst:19
254msgid "merged"
255msgstr "merged"
256
257#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:33
258#: ../../rst/network/user_guide/network_resource_modules.rst:19
259msgid "Ansible merges the on-device configuration with the provided configuration in the task."
260msgstr "Ansible は、デバイス上の設定をタスクに指定した設定と統合します。"
261
262#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:36
263#: ../../rst/network/user_guide/network_resource_modules.rst:22
264msgid "replaced"
265msgstr "replaced"
266
267#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:36
268#: ../../rst/network/user_guide/network_resource_modules.rst:22
269msgid "Ansible replaces the on-device configuration subsection with the provided configuration subsection in the task."
270msgstr "Ansible が、デバイス上の設定のサブセクションを、タスクに指定した設定のサブセクションに置き換えます。"
271
272#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:39
273#: ../../rst/network/user_guide/network_resource_modules.rst:25
274msgid "overridden"
275msgstr "overridden"
276
277#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:39
278#: ../../rst/network/user_guide/network_resource_modules.rst:25
279msgid "Ansible overrides the on-device configuration for the resource with the provided configuration in the task. Use caution with this state as you could remove your access to the device (for example, by overriding the management interface configuration)."
280msgstr "Ansible は、リソースのデバイスの設定を、タスクで提供された設定を使用して上書きします。この状態では、デバイスへのアクセスが削除される可能性があるため、注意が必要です (たとえば、管理インターフェイスの設定を上書きするなど)。"
281
282#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:42
283#: ../../rst/network/user_guide/network_resource_modules.rst:28
284msgid "deleted"
285msgstr "deleted"
286
287#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:42
288#: ../../rst/network/user_guide/network_resource_modules.rst:28
289msgid "Ansible deletes the on-device configuration subsection and restores any default settings."
290msgstr "Ansible は、デバイス上の設定サブセクションを削除して、デフォルト設定を復元します。"
291
292#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:45
293#: ../../rst/network/user_guide/network_resource_modules.rst:31
294msgid "gathered"
295msgstr "gathered"
296
297#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:45
298#: ../../rst/network/user_guide/network_resource_modules.rst:31
299msgid "Ansible displays the resource details gathered from the network device and accessed with the ``gathered`` key in the result."
300msgstr "Ansible は、ネットワークデバイスから収集したリソースの詳細を表示し、結果の ``gathered`` キーを使用してアクセスします。"
301
302#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:48
303#: ../../rst/network/user_guide/network_resource_modules.rst:34
304msgid "rendered"
305msgstr "rendered"
306
307#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:48
308#: ../../rst/network/user_guide/network_resource_modules.rst:34
309msgid "Ansible renders the provided configuration in the task in the device-native format (for example, Cisco IOS CLI). Ansible returns this rendered configuration in the ``rendered`` key in the result. Note this state does not communicate with the network device and can be used offline."
310msgstr "Ansible は、デバイスネイティブの形式でタスク内の提供された設定をレンダリングします (例: Cisco IOS CLI)。Ansible は、結果内の ``rendered`` キーでレンダリングされた設定を返します。この状態はネットワークデバイスと通信せず、オフラインで使用できる点に注意してください。"
311
312#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:52
313#: ../../rst/network/user_guide/network_resource_modules.rst:37
314msgid "parsed"
315msgstr "parsed"
316
317#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:51
318#: ../../rst/network/user_guide/network_resource_modules.rst:37
319msgid "Ansible parses the configuration from the ``running_configuration`` option into Ansible structured data in the ``parsed`` key in the result. Note this does not gather the configuration from the network device so this state can be used offline."
320msgstr "Ansible は、``running_configuration`` オプションから、その結果内の ``parsed`` キーの Ansible 構造化データに設定を解析します。この設定は、ネットワークデバイスから設定が収集されないため、この状態をオフラインで使用できる点に注意してください。"
321
322#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:54
323msgid "Modules in Ansible-maintained collections must support these state values. If you develop a module with only \"present\" and \"absent\" for state, you may submit it to a community collection."
324msgstr "Ansible が管理しているコレクションのモジュールは、これらの状態値をサポートする必要があります。状態が「present」および「absent」のモジュールを開発した場合は、コミュニティーコレクションに提出することができます。"
325
326#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:58
327msgid "The states ``rendered``, ``gathered``, and ``parsed`` do not perform any change on the device."
328msgstr "状態 ``rendered``、``gathered``、および ``parsed`` はデバイス上で変更を行いません。"
329
330#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:62
331msgid "`Deep Dive on VLANs Resource Modules for Network Automation <https://www.ansible.com/blog/deep-dive-on-vlans-resource-modules-for-network-automation>`_"
332msgstr "`Deep Dive on VLANs Resource Modules for Network Automation <https://www.ansible.com/blog/deep-dive-on-vlans-resource-modules-for-network-automation>`_"
333
334#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:63
335msgid "Walkthrough of how state values are implemented for VLANs."
336msgstr "VLAN への状態値の実装方法のウォールスルー"
337
338#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:67
339msgid "Developing network and security resource modules"
340msgstr "ネットワークおよびセキュリティーのリソースモジュールの開発"
341
342#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:69
343msgid "The Ansible Engineering team ensures the module design and code pattern  within Ansible-maintained collections is uniform across resources and across platforms to give a vendor-agnostic feel and deliver good quality code. We recommend you use the `resource module builder <https://github.com/ansible-network/resource_module_builder>`_ to  develop a resource module."
344msgstr "Ansible Engineering チームは、Ansible が管理しているコレクション内のモジュール設計およびコードパターンがリソースやプラットフォーム全体で統一され、ベンダーに依存せず、適切な品質コードを提供します。`リソースモジュールビルダー <https://github.com/ansible-network/resource_module_builder>`_ を使用してリソースモジュールを開発することが推奨されます。"
345
346#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:72
347msgid "The highlevel process for developing a resource module is:"
348msgstr "リソースモジュール開発の主なプロセスは次のとおりです。"
349
350#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:74
351msgid "Create and share a resource model design in the `resource module models repository <https://github.com/ansible-network/resource_module_models>`_ as a PR for review."
352msgstr "レビュー用にプル要求として、`リソースモジュールモデルリポジトリー <https://github.com/ansible-network/resource_module_models>`_ でリソースモデルの設計を作成し、共有します。"
353
354#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:75
355msgid "Download the latest version of the `resource module builder <https://github.com/ansible-network/resource_module_builder>`_."
356msgstr "最新バージョンの `リソースモジュールビルダー <https://github.com/ansible-network/resource_module_builder>`_ をダウンロードします。"
357
358#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:76
359msgid "Run the ``resource module builder`` to create a collection scaffold from your approved resource model."
360msgstr "``リソースモジュールビルダー`` を実行して、承認されたリソースモデルからコレクションのスキャフォールディングを作成します。"
361
362#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:77
363msgid "Write the code to implement your resource module."
364msgstr "コードを作成し、リソースモジュールを実装します。"
365
366#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:78
367msgid "Develop integration and unit tests to verify your resource module."
368msgstr "統合テストおよびユニットテストを開発して、リソースモジュールを確認します。"
369
370#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:79
371msgid "Create a PR to the appropriate collection that you want to add your new resource module to. See :ref:`contributing_maintained_collections` for details on determining the correct collection for your module."
372msgstr "新しいリソースモジュールを追加する適切なコレクションにプル要求を作成します。モジュールの正しいコレクションを判断する方法は「:ref:`contributing_maintained_collections`」を参照してください。"
373
374#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:83
375msgid "Understanding the model and resource module builder"
376msgstr "モデルおよびリソースモジュールビルダーの理解"
377
378#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:85
379msgid "The resource module builder is an Ansible Playbook that helps developers scaffold and maintain an Ansible resource module. It uses a model as the single source of truth for the module. This model is a ``yaml`` file that is used for the module DOCUMENTATION section and the argument spec."
380msgstr "リソースモジュールビルダーは、開発者が Ansible リソースモジュールをスキャフォールディングし、維持できるようにする Ansible Playbook です。このモデルは、モジュールの信頼できる唯一のソースとして使用します。このモデルは、モジュールの DOCUMENTATION セクションおよび引数仕様に使用される ``yaml`` ファイルです。"
381
382#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:87
383msgid "The resource module builder has the following capabilities:"
384msgstr "リソースモジュールビルダーには以下の機能があります。"
385
386#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:89
387msgid "Uses a defined model to scaffold a resource module directory layout and initial class files."
388msgstr "定義されたモデルを使用して、リソースモジュールディレクトリーのレイアウトと初期クラスファイルをスキャフォールディングします。"
389
390#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:90
391msgid "Scaffolds either an Ansible role or a collection."
392msgstr "Ansible ロールまたはコレクションのいずれかをスキャフォールディングします。"
393
394#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:91
395msgid "Subsequent uses of the resource module builder will only replace the module arspec and file containing the module docstring."
396msgstr "その後、リソースモジュールビルダーを使用すると、モジュールの arspec と、モジュールの docstring を含むファイルのみが置き換えられます。"
397
398#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:92
399msgid "Allows you to store complex examples along side the model in the same directory."
400msgstr "複雑なサンプルモデルと同じディレクトリーに保存できます。"
401
402#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:93
403msgid "Maintains the model as the source of truth for the module and use resource module builder to update the source files as needed."
404msgstr "モジュールの信頼できるソースとしてこのモデルを維持し、必要に応じてリソースモジュールビルダーを使用してソースファイルを更新します。"
405
406#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:94
407msgid "Generates working sample modules for both ``<network_os>_<resource>`` and ``<network_os>_facts``."
408msgstr "``<network_os>_<resource>`` および ``<network_os>_facts`` の両方に作業サンプルモジュールを生成します。"
409
410#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:97
411msgid "Accessing the resource module builder"
412msgstr "リソースモジュールビルダーへのアクセス"
413
414#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:99
415msgid "To access the resource module builder:"
416msgstr "リソースモジュールビルダーにアクセスするには、以下を実行します。"
417
418#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:101
419msgid "clone the github repository:"
420msgstr "github リポジトリーのクローンを作成します。"
421
422#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:107
423msgid "Install the requirements:"
424msgstr "要件をインストールします。"
425
426#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:114
427msgid "Creating a model"
428msgstr "モデルの作成"
429
430#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:116
431msgid "You must create a model for your new resource. The model is the single source of truth for both the argspec and docstring, keeping them in sync. Once your model is approved, you can use the resource module builder to generate three items based on the model:"
432msgstr "新しいリソースのモデルを作成する必要があります。モデルは、argspec と docstring の両方に対する信頼できる唯一のソースとなります。モデルが承認されると、リソースモジュールビルダーを使用して、このモデルに基づいて 3 つのアイテムを生成できます。"
433
434#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:118
435msgid "The scaffold for a new module"
436msgstr "新しいモジュールのスキャフォールディング"
437
438#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:119
439msgid "The argspec for the new module"
440msgstr "新しいモジュールの argspec"
441
442#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:120
443msgid "The docstring for the new module"
444msgstr "新しいモジュールの docstring"
445
446#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:122
447msgid "For any subsequent changes to the functionality, update the model first and use the resource module builder to update the module argspec and docstring."
448msgstr "その後、機能に対する変更を行う場合は、最初にモデルを更新し、リソースモジュールビルダーを使用してモジュールの argspec および docstring を更新します。"
449
450#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:124
451msgid "For example, the resource model builder includes the ``myos_interfaces.yml`` sample in the :file:`models` directory, as seen below:"
452msgstr "たとえば、リソースモデルビルダーには、以下のように :file:`models` ディレクトリーに ``myos_interfaces.yml`` サンプルが含まれます。"
453
454#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:196
455msgid "Notice that you should include examples for each of the states that the resource supports. The resource module builder also includes these in the sample model."
456msgstr "リソースがサポートする各状態の例を含める必要があることに注意してください。リソースモジュールビルダーには、サンプルモデルにもこれらが含まれます。"
457
458#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:198
459msgid "Share this model as a PR for review at `resource module models repository <https://github.com/ansible-network/resource_module_models>`_. You can also see more model examples at that location."
460msgstr "このモデルは、`リソースモジュールモデルのリポジトリー <https://github.com/ansible-network/resource_module_models>`_ で確認するための PR として共有します。この場所でさらにモデルのサンプルを表示することもできます。"
461
462#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:202
463msgid "Creating a collection scaffold from a resource model"
464msgstr "リソースモデルからのコレクションのスキャフォールディングの作成"
465
466#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:204
467msgid "To use the resource module builder to create a collection scaffold from your approved resource model:"
468msgstr "リソースモジュールビルダーを使用して、認証されたリソースモデルからコレクションのスキャフォールディングを作成するには、以下を実行します。"
469
470#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:215
471msgid "Where the parameters are as follows:"
472msgstr "パラメーターは以下のようになります。"
473
474#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:217
475msgid "``rm_dest``: The directory where the resource module builder places the files and directories for the resource module and facts modules."
476msgstr "``rm_dest``: リソースモジュールビルダーが、リソースモジュールおよびファクトモジュールのファイルおよびディレクトリーを置くディレクトリー。"
477
478#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:218
479msgid "``structure``: The directory layout type (role or collection)"
480msgstr "``structure``: ディレクトリーレイアウトの種類 (ロールまたはコレクション)。"
481
482#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:220
483msgid "``role``: Generate a role directory layout."
484msgstr "``role``: ロールディレクトリーレイアウトを生成します。"
485
486#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:221
487msgid "``collection``: Generate a collection directory layout."
488msgstr "``collection``: コレクションディレクトリーのレイアウトを生成します。"
489
490#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:223
491msgid "``collection_org``: The organization of the collection, required when `structure=collection`."
492msgstr "``collection_org``: `structure=collection` の場合にコレクションの組織が必要です。"
493
494#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:224
495msgid "``collection_name``: The name of the collection, required when `structure=collection`."
496msgstr "``collection_name``: `structure=collection` の場合に必要となるコレクションの名前です。"
497
498#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:225
499msgid "``model``: The path to the model file."
500msgstr "``model``: モデルファイルへのパス。"
501
502#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:227
503msgid "To use the resource module builder to create a role scaffold:"
504msgstr "リソースモジュールビルダーを使用してロールのスキャフォールディングを作成するには、以下を実行します。"
505
506#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:237
507msgid "Examples"
508msgstr "例"
509
510#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:240
511msgid "Collection directory layout"
512msgstr "コレクションディレクトリーのレイアウト"
513
514#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:242
515msgid "This example shows the directory layout for the following:"
516msgstr "この例では、以下のようなディレクトリーレイアウトを示しています。"
517
518#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:244
519#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:306
520msgid "``network_os``: myos"
521msgstr "``network_os``: myos"
522
523#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:245
524#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:307
525msgid "``resource``: interfaces"
526msgstr "``resource``: interfaces"
527
528#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:302
529msgid "Role directory layout"
530msgstr "ロールディレクトリーのレイアウト"
531
532#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:304
533msgid "This example displays the role directory layout for the following:"
534msgstr "この例では、以下のロールのディレクトリーレイアウトを表示しています。"
535
536#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:358
537msgid "Using the collection"
538msgstr "コレクションの使用"
539
540#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:360
541msgid "This example shows how to use the generated collection in a playbook:"
542msgstr "以下の例は、生成されたコレクションを Playbook で使用する方法を示しています。"
543
544#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:378
545msgid "Using the role"
546msgstr "ロールの使用"
547
548#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:380
549msgid "This example shows how to use the generated role in a playbook:"
550msgstr "以下の例は、生成されたロールを Playbook で使用する方法を示しています。"
551
552#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:402
553msgid "Resource module structure and workflow"
554msgstr "リソースモジュール構造およびワークフロー"
555
556#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:404
557msgid "The resource module structure includes the following components:"
558msgstr "リソースモジュール構造には、以下のコンポーネントが含まれます。"
559
560#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:413
561msgid "Module"
562msgstr "モジュール"
563
564#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:407
565msgid "``library/<ansible_network_os>_<resource>.py``."
566msgstr "``library/<ansible_network_os>_<resource>.py``。"
567
568#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:408
569msgid "Imports the ``module_utils`` resource package and calls ``execute_module`` API:"
570msgstr "``module_utils`` リソースパッケージをインポートし、``execute_module`` API を呼び出します。"
571
572#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:417
573msgid "Module argspec"
574msgstr "モジュールの argspec"
575
576#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:416
577msgid "``module_utils/<ansible_network_os>/argspec/<resource>/``."
578msgstr "``module_utils/<ansible_network_os>/argspec/<resource>/``。"
579
580#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:417
581msgid "Argspec for the resource."
582msgstr "リソースの argspec"
583
584#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:423
585msgid "Facts"
586msgstr "ファクト"
587
588#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:420
589msgid "``module_utils/<ansible_network_os>/facts/<resource>/``."
590msgstr "``module_utils/<ansible_network_os>/facts/<resource>/``。"
591
592#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:421
593msgid "Populate facts for the resource."
594msgstr "リソースのファクトを入力します。"
595
596#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:422
597msgid "Entry in ``module_utils/<ansible_network_os>/facts/facts.py`` for ``get_facts`` API to keep ``<ansible_network_os>_facts`` module and facts gathered for the resource module in sync for every subset."
598msgstr "すべてのサブセットに対して同期するリソースモジュール用に収集された ``<ansible_network_os>_facts`` モジュールおよびファクトを保持する ``get_facts`` API の ``module_utils/<ansible_network_os>/facts/facts.py`` エントリー。"
599
600#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:423
601msgid "Entry of Resource subset in FACTS_RESOURCE_SUBSETS list in ``module_utils/<ansible_network_os>/facts/facts.py`` to make facts collection work."
602msgstr "``module_utils/<ansible_network_os>/facts/facts.py`` の FACTS_RESOURCE_SUBSETS 一覧でリソースサブセットのエントリー。ファクトコレクションを機能させます。"
603
604#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:430
605msgid "Module package in module_utils"
606msgstr "module_utils のモジュールパッケージ"
607
608#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:426
609msgid "``module_utils/<ansible_network_os>/<config>/<resource>/``."
610msgstr "``module_utils/<ansible_network_os>/<config>/<resource>/``。"
611
612#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:427
613msgid "Implement ``execute_module`` API that loads the configuration to device and generates the result with ``changed``, ``commands``, ``before`` and ``after`` keys."
614msgstr "設定を読み込む ``execute_module`` API を実装し、``changed`` キー、``commands`` キー、``before`` キー、および ``after`` キーで結果を生成します。"
615
616#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:428
617msgid "Call ``get_facts`` API that returns the ``<resource>`` configuration facts or return the difference if the device has onbox diff support."
618msgstr "``<resource>`` 設定のファクトを返す ``get_facts`` API を呼び出すか、デバイスに onbox diff サポートがある場合はその相違点を返します。"
619
620#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:429
621msgid "Compare facts gathered and given key-values if diff is not supported."
622msgstr "diff がサポートされていない場合は、収集されるファクトと、指定されるキー/値を比較します。"
623
624#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:430
625msgid "Generate final configuration."
626msgstr "最後の設定を生成します。"
627
628#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:434
629msgid "Utils"
630msgstr "ユーティリティー"
631
632#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:433
633msgid "``module_utils/<ansible_network_os>/utils``."
634msgstr "``module_utils/<ansible_network_os>/utils``。"
635
636#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:434
637msgid "Utilities for the ``<ansible_network_os>`` platform."
638msgstr "``<ansible_network_os>`` プラットフォームのユーティリティー。"
639
640#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:439
641msgid "Running  ``ansible-test sanity`` and ``tox`` on resource modules"
642msgstr "リソースモジュールでの ``ansible-test sanity`` および ``tox`` の実行"
643
644#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:441
645msgid "You should run ``ansible-test sanity`` and ``tox -elinters`` from the collection root directory before pushing your PR to an Ansible-maintained collection. The CI runs both and will fail if these tests fail. See :ref:`developing_testing` for details on ``ansible-test sanity``."
646msgstr "プル要求を Ansible で管理されたコレクションにプッシュする前に、コレクションルートディレクトリーから ``ansible-test sanity`` および ``tox -elinters`` を実行する必要があります。CI はその両方を実行し、このテストに失敗すると失敗します。``ansible-test sanity`` の詳細は、「:ref:`developing_testing`」を参照してください。"
647
648#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:443
649msgid "To install the necessary packages:"
650msgstr "必要なパッケージをインストールするには、以下を実行します。"
651
652#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:445
653msgid "Ensure you have a valid Ansible development environment configured. See :ref:`environment_setup` for details."
654msgstr "有効な Ansible 開発環境が設定されていることを確認してください。詳細は :ref:`environment_setup` を参照してください。"
655
656#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:446
657msgid "Run ``pip install -r requirements.txt`` from the collection root directory."
658msgstr "コレクションの root ディレクトリーから ``pip install -r requirements.txt`` を実行します。"
659
660#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:449
661msgid "Running ``tox -elinters``:"
662msgstr "``tox -elinters`` の実行:"
663
664#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:451
665msgid "Reads :file:`tox.ini` from the collection root directory and installs required dependencies (such as ``black`` and ``flake8``)."
666msgstr "コレクションルートディレクトリーから :file:`tox.ini` を読み込み、必要な依存関係 (例: ``black``、``flake8``) をインストールします。"
667
668#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:452
669msgid "Runs these with preconfigured options (such as line-length and ignores.)"
670msgstr "事前設定されたオプション (line-length や ignore など) を指定して、これらのコマンドを実行します。"
671
672#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:453
673msgid "Runs  ``black`` in check mode to show  which files will be formatted without actually formatting them."
674msgstr "``black`` をチェックモードで実行し、実際にフォーマットされることなくどのファイルをフォーマットするかを表示します。"
675
676#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:456
677msgid "Testing resource modules"
678msgstr "リソースモジュールのテスト"
679
680#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:458
681msgid "The tests rely on a role generated by the resource module builder. After changes to the resource module builder, the role should be regenerated and the tests modified and run as needed. To generate the role after changes:"
682msgstr "テストは、リソースモジュールビルダーが生成したロールに依存します。リソースモジュールビルダーへの変更後に、ロールを再生成し、必要に応じてテストが変更され、実行される必要があります。変更後にロールを生成するには、以下を行います。"
683
684#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:472
685msgid "Resource module integration tests"
686msgstr "リソースモジュール統合テスト"
687
688#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:474
689msgid "High-level integration test requirements for new resource modules are as follows:"
690msgstr "新しいリソースモジュールのハイレベル統合テスト要件は次のとおりです。"
691
692#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:476
693msgid "Write a test case for every state."
694msgstr "すべての状態についてテストケースを作成します。"
695
696#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:477
697msgid "Write additional test cases to test the behavior of the module when an empty ``config.yaml`` is given."
698msgstr "空の ``config.yaml`` が指定されている場合にモジュールの動作をテストするために、追加のテストケースを作成します。"
699
700#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:478
701msgid "Add a round trip test case. This involves a ``merge`` operation, followed by ``gather_facts``, a ``merge`` update with additional configuration, and then reverting back to the base configuration using the previously gathered facts with the ``state`` set to  ``overridden``."
702msgstr "ラウンドトリップテストケースを追加します。これには ``merge`` の操作が含まれ、続いて ``gather_facts`` 、``merge`` が追加の構成で更新され、その後、``state`` が ``overridden`` に設定された状態で、以前に収集したファクトを使用して基本構成に戻ります。"
703
704#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:479
705msgid "Wherever applicable, assertions should check after and before ``dicts`` against a hard coded Source of Truth."
706msgstr "該当する場合、アサーションは、ハードコードされた信頼できる唯一のソースに対して ``dicts`` の前後で確認する必要があります。"
707
708#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:483
709msgid "We use Zuul as the CI to run the integration test."
710msgstr "Zuul を CI として使用し、統合テストを実行します。"
711
712#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:485
713msgid "To view the report, click :guilabel:`Details` on the CI comment in the PR"
714msgstr "レポートを表示するには、プル要求の CI コメントにある :guilabel:`Details` をクリックします。"
715
716#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:486
717msgid "To view a failure report,  click :guilabel:`ansible/check` and select the failed test."
718msgstr "障害レポートを表示するには、:guilabel:`ansible/check` をクリックし、失敗したテストを選択します。"
719
720#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:487
721msgid "To view logs while the test is running, check for your PR number in the `Zull status board <https://dashboard.zuul.ansible.com/t/ansible/status>`_."
722msgstr "テストの実行中にログを表示するには、`Zull 状態ボード <https://dashboard.zuul.ansible.com/t/ansible/status>`_ で プル要求番号を確認します。"
723
724#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:488
725msgid "To fix static test failure locally, run the  :command:`tox -e black` **inside the root folder of collection**."
726msgstr "静的テストの失敗をローカルで修正するには、:command:`tox -e black` を、**コレクションのルートディレクトリー内** で実行します。"
727
728#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:490
729msgid "To view The Ansible run logs and debug test failures:"
730msgstr "Ansible の実行ログおよびデバッグテストの失敗を表示するには、以下を実行します。"
731
732#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:492
733msgid "Click the failed job to get the summary, and click :guilabel:`Logs` for the log."
734msgstr "失敗したジョブをクリックしてサマリーを取得し、ログの :guilabel:`Logs` をクリックします。"
735
736#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:493
737msgid "Click :guilabel:`console` and scroll down to find the failed test."
738msgstr ":guilabel:`console` をクリックし、スクロールダウンして失敗したテストを見つけます。"
739
740#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:494
741msgid "Click :guilabel:`>` next to the failed test for complete details."
742msgstr "詳細は、失敗したテストの横にある :guilabel:`>` をクリックします。"
743
744#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:498
745msgid "Integration test structure"
746msgstr "統合テスト構造"
747
748#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:500
749msgid "Each test case should generally follow this pattern:"
750msgstr "通常、各テストケースは、以下のパターンに従います。"
751
752#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:502
753msgid "setup —> test —> assert —> test again (for idempotency) —> assert —> tear down (if needed) -> done. This keeps test playbooks from becoming monolithic and difficult to troubleshoot."
754msgstr "設定 —> テスト —> アサート —> 再テスト (冪等性) —> アサート —> 分解 (必要な場合) -> 完了。これにより、テスト Playbook がモノリシックになり、トラブルシューティングが困難になります。"
755
756#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:503
757msgid "Include a name for each task that is not an assertion. You can add names to assertions as well, but it is easier to identify the broken task within a failed test if you add a name for each task."
758msgstr "アサーションではない各タスクの名前を含めます。名前をアサーションに追加できますが、各タスクの名前を追加すると、失敗したテスト内では、破損したタスクを特定するのが容易になります。"
759
760#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:504
761msgid "Files containing test cases must end in ``.yaml``"
762msgstr "テストケースを含むファイルは ``.yaml`` で終了する必要があります。"
763
764#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:507
765msgid "Implementation"
766msgstr "実装"
767
768#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:509
769msgid "For platforms that support ``connection: local`` *and* ``connection: network_cli``  use the following guidance:"
770msgstr "``connection: local`` *および* ``connection: network_cli`` をサポートするプラットフォームについては、以下のガイダンスを使用します。"
771
772#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:511
773msgid "Name the :file:`targets/` directories after the module name."
774msgstr "モジュール名の後に :file:`targets/` ディレクトリーに名前を付けます。"
775
776#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:512
777msgid "The :file:`main.yaml` file should just reference the transport."
778msgstr ":file:`main.yaml` ファイルは、トランスポートを参照するだけです。"
779
780#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:514
781msgid "The following example walks through the integration tests for the ``vyos.vyos.vyos_l3_interfaces`` module in the `vyos.vyos <https://github.com/ansible-collections/vyos.vyos/tree/master/tests/integration>`_ collection:"
782msgstr "以下の例では、`vyos.vyos <https://github.com/ansible-collections/vyos.vyos/tree/master/tests/integration>`_ コレクションの ``vyos.vyos.vyos_l3_interfaces`` モジュールの統合テストを行います。"
783
784#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:516
785msgid "``test/integration/targets/vyos_l3_interfaces/tasks/main.yaml``"
786msgstr "``test/integration/targets/vyos_l3_interfaces/tasks/main.yaml``"
787
788#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:525
789msgid "``test/integration/targets/vyos_l3_interfaces/tasks/cli.yaml``"
790msgstr "``test/integration/targets/vyos_l3_interfaces/tasks/cli.yaml``"
791
792#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:552
793msgid "``test/integration/targets/vyos_l3_interfaces/tests/cli/overridden.yaml``"
794msgstr "``test/integration/targets/vyos_l3_interfaces/tests/cli/overridden.yaml``"
795
796#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:620
797msgid "Detecting test resources at runtime"
798msgstr "ランタイム時のテストリソースの検出"
799
800#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:622
801msgid "Your tests should detect resources (such as interfaces) at runtime rather than hard-coding them into the test. This allows the test to run on a variety of systems."
802msgstr "テストは、(インターフェースなどの) リソースをテストにハードコーディングするのではなく、ランタイム時にリソースを検出する必要があります。これにより、テストはさまざまなシステムで実行できます。"
803
804#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:624
805#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:203
806#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:262
807#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:298
808#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:327
809#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:358
810#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:405
811#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:611
812msgid "For example:"
813msgstr "たとえば、以下のようになります。"
814
815#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:648
816msgid "See the complete test example of this at https://github.com/ansible-collections/cisco.nxos/blob/master/tests/integration/targets/prepare_nxos_tests/tasks/main.yml."
817msgstr "https://github.com/ansible-collections/cisco.nxos/blob/master/tests/integration/targets/prepare_nxos_tests/tasks/main.yml. で、このテストの完全例を参照してください。"
818
819#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:652
820msgid "Running network integration tests"
821msgstr "ネットワーク統合テストの実行"
822
823#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:654
824msgid "Ansible uses Zuul to run an integration test suite on every PR, including new tests introduced by that PR. To find and fix problems in network modules, run the network integration test locally before you submit a PR."
825msgstr "Ansible は Zuul を使用して、すべてのプル要求で、プル要求によって導入された新規テストを含む統合テストスイートを実行します。ネットワークモジュールで問題を特定して修正するには、プル要求を送信する前にネットワーク統合テストをローカルで実行します。"
826
827#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:657
828msgid "First, create an inventory file that points to your test machines. The inventory group should match the platform name (for example, ``eos``, ``ios``):"
829msgstr "まず、テストマシンを参照するインベントリーファイルを作成します。インベントリーグループは、プラットフォーム名と一致する必要があります (例: ``eos``、``ios``)。"
830
831#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:666
832msgid "To run these network integration tests, use ``ansible-test network-integration --inventory </path/to/inventory> <tests_to_run>``:"
833msgstr "これらのネットワーク統合テストを実行するには、``ansible-test network-integration --inventory </path/to/inventory> <tests_to_run>`` を使用します。"
834
835#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:675
836msgid "To run all network tests for a particular platform:"
837msgstr "特定のプラットフォームでネットワークテストをすべて実行するには、次を実行します。"
838
839#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:681
840msgid "This example will run against all ``vyos`` modules. Note that ``vyos_.*`` is a regex match, not a bash wildcard - include the `.` if you modify this example."
841msgstr "この例は、すべての ``vyos`` モジュールに対して実行します。``vyos_.*`` は、bash ワイルドカードではなく、正規表現一致であることに注意してください。この例を修正する場合は `.` を含むようにしてください。"
842
843#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:683
844msgid "To run integration tests for a specific module:"
845msgstr "特定のモジュールに対して統合テストを実行するには、次を実行します。"
846
847#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:689
848msgid "To run a single test case on a specific module:"
849msgstr "特定のモジュールでテストケースを 1 つ実行するには、次を実行します。"
850
851#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:696
852msgid "To run integration tests for a specific transport:"
853msgstr "特定のトランスポートで統合テストを実行するには、次を実行します。"
854
855#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:706
856msgid "See `test/integration/targets/nxos_bgp/tasks/main.yaml <https://github.com/ansible-collections/cisco.nxos/blob/master/tests/integration/targets/nxos_bgp/tasks/main.yaml>`_ for how this is implemented in the tests."
857msgstr "テストに実装される方法は、「`test/integration/targets/nxos_bgp/tasks/main.yaml <https://github.com/ansible-collections/cisco.nxos/blob/master/tests/integration/targets/nxos_bgp/tasks/main.yaml>`_」を参照してください。"
858
859#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:708
860msgid "For more options:"
861msgstr "その他のオプション:"
862
863#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:714
864msgid "If you need additional help or feedback, reach out in the ``#ansible-network`` IRC channel on the `irc.libera.chat <https://libera.chat/>`_ IRC network."
865msgstr "本書で示したもの以外にヘルプやフィードバックが必要な場合は、IRC ネットワーク `irc.libera.chat <https://libera.chat/>`_ の IRC チャンネル ``#ansible-network`` にアクセスしてください。"
866
867#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:718
868msgid "Unit test requirements"
869msgstr "ユニットテストの要件"
870
871#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:720
872msgid "High-level unit test requirements that new resource modules should follow:"
873msgstr "新しいリソースモジュールが従う高レベルのユニットテスト要件は以下のようになります。"
874
875#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:722
876msgid "Write test cases for all the states with all possible combinations of config values."
877msgstr "設定値の組み合わせ可能なすべての状態についてテストケースを作成します。"
878
879#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:723
880msgid "Write test cases to test the error conditions ( negative scenarios)."
881msgstr "テストケースを作成し、エラー条件 (負のシナリオ) をテストします。"
882
883#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:724
884msgid "Check the  value of ``changed`` and ``commands`` keys in every test case."
885msgstr "すべてのテストケースで ``changed`` キーおよび ``commands`` キーの値を確認します。"
886
887#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:726
888msgid "We run all unit test cases on our Zuul test suite, on the latest python version supported by our CI setup."
889msgstr "CI 設定でサポートされる最新の python バージョンで、Zuul テストスイートですべてのユニットテストケースを実行します。"
890
891#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:728
892msgid "Use the :ref:`same procedure <using_zuul_resource_modules>` as the integration tests to view Zuul unit tests reports and logs."
893msgstr ":ref:`同じ手順 <using_zuul_resource_modules>` を統合テストとして使用し、Zuul ユニットテストのレポートおよびログを表示します。"
894
895#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:730
896msgid "See  :ref:`unit module testing <testing_units_modules>` for general unit test details."
897msgstr "一般的なユニットテストの詳細は、「:ref:`ユニットモジュールのテスト <testing_units_modules>`」を参照してください。"
898
899#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:736
900msgid "Example: Unit testing Ansible network resource modules"
901msgstr "例: Ansible ネットワークリソースモジュールのユニットテスト"
902
903#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:739
904msgid "This section walks through an example of how to develop unit tests for Ansible resource modules."
905msgstr "本セクションでは、Ansible リソースモジュールのユニットテストを開発する方法の例を説明します。"
906
907#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:742
908msgid "See :ref:`testing_units` and :ref:`testing_units_modules` for general documentation on Ansible unit tests for modules. Please read those pages first to understand unit tests and why and when you should use them."
909msgstr "モジュール向けの Ansible ユニットテストの一般的なドキュメントは、「:ref:`testing_units`」および「:ref:`testing_units_modules`」を参照してください。ユニットテスト、および使用する理由およびその方法を理解するには、まずこれらのページをお読みください。"
910
911#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:747
912msgid "Using mock objects to unit test Ansible network resource modules"
913msgstr "モック (模擬) オブジェクトを使用した Ansible ネットワークリソースモジュールのユニットテスト"
914
915#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:750
916msgid "`Mock objects <https://docs.python.org/3/library/unittest.mock.html>`_ can be very useful in building unit tests for special or difficult cases, but they can also lead to complex and confusing coding situations.  One good use for mocks would be to simulate an API. The ``mock`` Python package is bundled with Ansible (use ``import units.compat.mock``)."
917msgstr "`モックオブジェクト <https://docs.python.org/3/library/unittest.mock.html>`_ は、特殊なケースや難しいケースのユニットテストを構築するのに非常に便利ですが、複雑で理解しづらいコーディングになってしまうこともあります。モックの使用方法として適切なものの 1 つに、API のシミュレートがあります。``mock`` Python パッケージは、Ansible にバンドルされています (``import units.compat.mock`` を使用)。"
918
919#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:756
920msgid "You can mock the device connection and output from the device as follows:"
921msgstr "以下のように、デバイスの接続とデバイスからの出力を模倣できます。"
922
923#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:790
924msgid "The facts file of the module now includes a new method, ``get_device_data``. Call ``get_device_data`` here to emulate the device output."
925msgstr "モジュールのファクトファイルに新しいメソッド ``get_device_data`` が追加されました。ここで ``get_device_data`` を呼び出して、デバイスの出力をエミュレートします。"
926
927#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:794
928msgid "Mocking device data"
929msgstr "デバイスデータの模倣"
930
931#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:796
932msgid "To mock fetching results from devices or provide other complex data structures that come from external libraries, you can use ``fixtures`` to read in pre-generated data. The text files for this pre-generated data live in ``test/units/modules/network/PLATFORM/fixtures/``. See for example the `eos_l2_interfaces.cfg file <https://github.com/ansible-collections/arista.eos/blob/master/tests/unit/modules/network/eos/fixtures/eos_l2_interfaces_config.cfg>`_."
933msgstr "デバイスからの結果の取得や、外部ライブラリーからの複雑なデータ構造の提供を模倣するために、``fixtures`` を使用して事前に生成されたデータを読み込むことができます。この事前に生成されたデータのテキストファイルは、``test/units/modules/network/PLATFORM/fixtures/`` にあります。たとえば、`eos_l2_interfaces.cfg file <https://github.com/ansible-collections/arista.eos/blob/master/tests/unit/modules/network/eos/fixtures/eos_l2_interfaces_config.cfg>`_ の例を参照してください。"
934
935#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:799
936msgid "Load data using the ``load_fixture`` method and set this data as the return value of the ``get_device_data`` method in the facts file:"
937msgstr "``load_fixture`` メソッドを使用してデータを読み込み、このデータをファクトファイルの ``get_device_data`` メソッドの戻り値として設定します。"
938
939#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:809
940msgid "See the unit test file `test_eos_l2_interfaces <https://github.com/ansible-collections/arista.eos/blob/master/tests/unit/modules/network/eos/test_eos_l2_interfaces.py>`_ for a practical example."
941msgstr "実用的な例は、ユニットテストファイル `test_eos_l2_interfaces <https://github.com/ansible-collections/arista.eos/blob/master/tests/unit/modules/network/eos/test_eos_l2_interfaces.py>`_ を参照してください。"
942
943#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:815
944msgid ":ref:`testing_units`"
945msgstr ":ref:`testing_units`"
946
947#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:816
948msgid "Deep dive into developing unit tests for Ansible modules"
949msgstr "Ansible モジュールのユニットテスト開発を深く掘り下げて調査"
950
951#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:817
952msgid ":ref:`testing_running_locally`"
953msgstr ":ref:`testing_running_locally`"
954
955#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:818
956msgid "Running tests locally including gathering and reporting coverage data"
957msgstr "カバレージデータの収集とレポートを含む、ローカルでのテストの実行"
958
959#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:819
960msgid ":ref:`developing_modules_general`"
961msgstr ":ref:`developing_modules_general`"
962
963#: ../../rst/network/dev_guide/developing_resource_modules_network.rst:820
964msgid "Get started developing a module"
965msgstr "モジュール開発を始める"
966
967#: ../../rst/network/dev_guide/documenting_modules_network.rst:6
968msgid "Documenting new network platforms"
969msgstr "新しいネットワークプラットフォームのドキュメント化"
970
971#: ../../rst/network/dev_guide/documenting_modules_network.rst:11
972msgid "When you create network modules for a new platform, or modify the connections provided by an existing network platform(such as ``network_cli`` and ``httpapi``), you also need to update  the :ref:`settings_by_platform` table and add or modify the Platform Options file for your platform."
973msgstr "新しいプラットフォーム用のネットワークモジュールを作成する場合や、既存のネットワークプラットフォーム (``network_cli``、``httpapi`` など) が提供する接続を変更する場合は、:ref:`settings_by_platform` テーブルを更新して、プラットフォームの Platform Options ファイルを追加または変更することも必要です。"
974
975#: ../../rst/network/dev_guide/documenting_modules_network.rst:13
976msgid "You should already have documented each module as described in :ref:`developing_modules_documenting`."
977msgstr "各モジュールは、「:ref:`developing_modules_documenting`」で説明されているように、すでに文書化されている必要があります。"
978
979#: ../../rst/network/dev_guide/documenting_modules_network.rst:16
980msgid "Modifying the platform options table"
981msgstr "プラットフォームオプションテーブルの変更"
982
983#: ../../rst/network/dev_guide/documenting_modules_network.rst:18
984msgid "The :ref:`settings_by_platform` table is a convenient summary of the connections options provided by each network platform that has modules in Ansible. Add a row for your platform to this table, in alphabetical order.  For example:"
985msgstr ":ref:`settings_by_platform` テーブルは、Ansible にモジュールがある各ネットワークプラットフォームが提供する接続オプションの便利な概要です。お使いのプラットフォームの行をアルファベット順に追加します。以下に例を示します。"
986
987#: ../../rst/network/dev_guide/documenting_modules_network.rst:25
988msgid "Ensure that the table stays formatted correctly. That is:"
989msgstr "テーブルの形式が正しく表示されていることを確認します。つまり、以下のようになります。"
990
991#: ../../rst/network/dev_guide/documenting_modules_network.rst:27
992msgid "Each row is inserted in alphabetical order."
993msgstr "各行はアルファベット順に挿入されます。"
994
995#: ../../rst/network/dev_guide/documenting_modules_network.rst:28
996msgid "The cell division ``|`` markers line up with the ``+`` markers."
997msgstr "セル分割マーカー ``|`` と ``+`` マーカーの位置は同じになります。"
998
999#: ../../rst/network/dev_guide/documenting_modules_network.rst:29
1000msgid "The check marks appear only for the connection types provided by the network modules."
1001msgstr "このチェックマークは、ネットワークモジュールが提供する接続タイプに限り表示されます。"
1002
1003#: ../../rst/network/dev_guide/documenting_modules_network.rst:34
1004msgid "Adding a platform-specific options section"
1005msgstr "プラットフォーム固有のオプションセクションの追加"
1006
1007#: ../../rst/network/dev_guide/documenting_modules_network.rst:36
1008msgid "The platform- specific sections are individual ``.rst`` files that provide more detailed information for the users of your network platform modules.   Name your new file ``platform_<name>.rst`` (for example, ``platform_myos.rst``).  The platform name should match the module prefix. See `platform_eos.rst <https://github.com/ansible/ansible/blob/devel/docs/docsite/rst/network/user_guide/platform_eos.rst>`_ and :ref:`eos_platform_options` for an example of the details you should provide in your platform-specific options section."
1009msgstr "プラットフォーム固有のセクションは、ネットワークプラットフォームモジュールのユーザーに関する詳細情報を提供する個別の ``.rst`` ファイルです。新しいファイル ``platform_<name>.rst`` に名前を付けます (例: ``platform_myos.rst``)。プラットフォーム名はモジュール接頭辞と一致させる必要があります。プラットフォーム固有のオプションセクションに指定する必要のある詳細例は、「`platform_eos.rst <https://github.com/ansible/ansible/blob/devel/docs/docsite/rst/network/user_guide/platform_eos.rst>`_」および「:ref:`eos_platform_options`」を参照してください。"
1010
1011#: ../../rst/network/dev_guide/documenting_modules_network.rst:38
1012msgid "Your platform-specific section should include the following:"
1013msgstr "プラットフォーム固有のセクションには、以下のセクションが含まれている必要があります。"
1014
1015#: ../../rst/network/dev_guide/documenting_modules_network.rst:40
1016msgid "**Connections available table** - a deeper dive into each connection type, including details on credentials, indirect access, connections settings, and enable mode."
1017msgstr "**接続可能なテーブル** - 認証情報、間接アクセス、接続設定、有効化モードの詳細など、各接続タイプの詳細。"
1018
1019#: ../../rst/network/dev_guide/documenting_modules_network.rst:41
1020msgid "**How to use each connection type** - with working examples of each connection type."
1021msgstr "**各接続タイプの使用方法** - 各接続タイプの作業例を含む。"
1022
1023#: ../../rst/network/dev_guide/documenting_modules_network.rst:43
1024msgid "If your network platform supports SSH connections, also include the following at the bottom of your ``.rst`` file:"
1025msgstr "ネットワークプラットフォームが SSH 接続に対応している場合は、``.rst`` ファイルの下部に以下も追加します。"
1026
1027#: ../../rst/network/dev_guide/documenting_modules_network.rst:50
1028msgid "Adding your new file to the table of contents"
1029msgstr "新規ファイルのコンテンツを表へ追加"
1030
1031#: ../../rst/network/dev_guide/documenting_modules_network.rst:52
1032msgid "As a final step, add your new file in alphabetical order in the ``platform_index.rst`` file. You should then build the documentation to verify your additions. See :ref:`community_documentation_contributions` for more details."
1033msgstr "最終ステップとして、``platform_index.rst`` ファイルの新しいファイルをアルファベット順に追加します。次に、ドキュメントをビルドして、追加した内容を確認する必要があります。詳細は「:ref:`community_documentation_contributions`」を参照してください。"
1034
1035#: ../../rst/network/dev_guide/index.rst:5
1036msgid "Network Developer Guide"
1037msgstr "ネットワーク開発者ガイド"
1038
1039#: ../../rst/network/dev_guide/index.rst:7
1040msgid "Welcome to the Developer Guide for Ansible Network Automation!"
1041msgstr "ネットワークを自動化する開発者向けガイドへようこそ"
1042
1043#: ../../rst/network/dev_guide/index.rst:9
1044#: ../../rst/network/getting_started/index.rst:15
1045#: ../../rst/network/user_guide/index.rst:9
1046msgid "**Who should use this guide?**"
1047msgstr "**本ガイドの対象者**"
1048
1049#: ../../rst/network/dev_guide/index.rst:11
1050msgid "If you want to extend Ansible for Network Automation by creating a module or plugin, this guide is for you. This guide is specific to networking. You should already be familiar with how to create, test, and document modules and plugins, as well as the prerequisites for getting your module or plugin accepted into the main Ansible repository.  See the  :ref:`developer_guide` for details. Before you proceed, please read:"
1051msgstr "ネットワーク自動化のために、モジュールやプラグインを作成して Ansible を拡張する場合は、本ガイドをお勧めします。このガイドは、ネットワークに特化しています。モジュールやプラグインの作成、テスト、文書化の方法や、作成したモジュールやプラグインを Ansible のメインリポジトリーに受け入れてもらうための前提条件については、すでにご存知のことと思います。詳細は、「:ref:`developer_guide`」を参照してください。先に進む前に、以下をお読みください。"
1052
1053#: ../../rst/network/dev_guide/index.rst:13
1054msgid "How  to :ref:`add a custom plugin or module locally <developing_locally>`."
1055msgstr ":ref:`カスタムプラグインまたはモジュールをローカルに追加する <developing_locally>` 方法"
1056
1057#: ../../rst/network/dev_guide/index.rst:14
1058msgid "How to figure out if :ref:`developing a module is the right approach <module_dev_should_you>` for my use case."
1059msgstr "個別のユースケースで :ref:`モジュールを開発することが正しいアプローチ <module_dev_should_you>` かどうかを判断する方法。"
1060
1061#: ../../rst/network/dev_guide/index.rst:15
1062msgid "How to :ref:`set up my Python development environment <environment_setup>`."
1063msgstr ":ref:`Python 開発環境を設定する <environment_setup>` 方法"
1064
1065#: ../../rst/network/dev_guide/index.rst:16
1066msgid "How to :ref:`get started writing a module <developing_modules_general>`."
1067msgstr ":ref:`モジュール作成を開始する <developing_modules_general>` 方法"
1068
1069#: ../../rst/network/dev_guide/index.rst:19
1070msgid "Find the network developer task that best describes what you want to do:"
1071msgstr "お客様が必要なことを最も適切に説明しているネットワーク開発者タスクを選択してください。"
1072
1073#: ../../rst/network/dev_guide/index.rst:21
1074msgid "I want to :ref:`develop a network resource module <developing_resource_modules>`."
1075msgstr ":ref:`ネットワークリソースモジュールを開発 <developing_resource_modules>` したいです。"
1076
1077#: ../../rst/network/dev_guide/index.rst:22
1078msgid "I want to :ref:`develop a network connection plugin <developing_plugins_network>`."
1079msgstr ":ref:`ネットワーク接続プラグインを開発 <developing_plugins_network>` したいです。"
1080
1081#: ../../rst/network/dev_guide/index.rst:23
1082msgid "I want to :ref:`document my set of modules for a network platform <documenting_modules_network>`."
1083msgstr ":ref:`ネットワークプラットフォームのモジュールセットを文書化 <documenting_modules_network>` したいです。"
1084
1085#: ../../rst/network/dev_guide/index.rst:25
1086msgid "If you prefer to read the entire guide, here's a list of the pages in order."
1087msgstr "本ガイドをすべて読む場合は、以下に示す順番でページを表示してください。"
1088
1089#: ../../rst/network/getting_started/basic_concepts.rst:3
1090msgid "Basic Concepts"
1091msgstr "基本的な概念"
1092
1093#: ../../rst/network/getting_started/basic_concepts.rst:5
1094msgid "These concepts are common to all uses of Ansible, including network automation. You need to understand them to use Ansible for network automation. This basic introduction provides the background you need to follow the examples in this guide."
1095msgstr "この概念は、ネットワーク自動化を含む Ansible のすべての用途に共通しています。ネットワーク自動化のためにAnsibleを使用するには、これらを理解する必要があります。この基本的な紹介は、本ガイドの例を理解するのに必要な背景を説明します。"
1096
1097#: ../../rst/shared_snippets/basic_concepts.txt:2
1098msgid "Control node"
1099msgstr "コントロールノード"
1100
1101#: ../../rst/shared_snippets/basic_concepts.txt:4
1102msgid "Any machine with Ansible installed. You can run Ansible commands and playbooks by invoking the ``ansible`` or ``ansible-playbook`` command from any control node. You can use any computer that has a Python installation as a control node - laptops, shared desktops, and servers can all run Ansible. However, you cannot use a Windows machine as a control node. You can have multiple control nodes."
1103msgstr "Ansible がインストールされているマシン。任意のコントロールノードから ``ansible`` コマンドまたは ``ansible-playbook`` コマンドを呼び出すことで、Ansible コマンドおよび Playbook を実行できます。Python がインストールされているコンピューターであれば、ラップトップ、共有ディスクトップ、サーバーなど、どのコンピューターでも Ansible を実行することができます。ただし、Windows マシンをコントロールノードとして使用することはできません。複数のコントロールノードを持つことができます。"
1104
1105#: ../../rst/shared_snippets/basic_concepts.txt:7
1106msgid "Managed nodes"
1107msgstr "管理ノード"
1108
1109#: ../../rst/shared_snippets/basic_concepts.txt:9
1110msgid "The network devices (and/or servers) you manage with Ansible. Managed nodes are also sometimes called \"hosts\". Ansible is not installed on managed nodes."
1111msgstr "Ansible で管理するネットワークデバイス (またはサーバー)。管理ノードは「ホスト」と呼ばれることもあります。Ansible は管理ノードにインストールされません。"
1112
1113#: ../../rst/shared_snippets/basic_concepts.txt:12
1114msgid "Inventory"
1115msgstr "インベントリー"
1116
1117#: ../../rst/shared_snippets/basic_concepts.txt:14
1118msgid "A list of managed nodes. An inventory file is also sometimes called a \"hostfile\". Your inventory can specify information like IP address for each managed node. An inventory can also organize managed nodes, creating and nesting groups for easier scaling. To learn more about inventory, see :ref:`the Working with Inventory<intro_inventory>` section."
1119msgstr "管理ノードの一覧。インベントリーファイルは「ホストファイル」と呼ばれることもあります。インベントリーは、各管理ノードに対して IP アドレスなどの情報を指定できます。インベントリーは管理ノードを整理でき、スケーリングが容易になるグループの作成やネスト化が可能です。インベントリーの詳細は「:ref:`インベントリーでの作業 <intro_inventory>`」セクションを参照してください。"
1120
1121#: ../../rst/shared_snippets/basic_concepts.txt:19
1122msgid "Collections are a distribution format for Ansible content that can include playbooks, roles, modules, and plugins. You can install and use collections through `Ansible Galaxy <https://galaxy.ansible.com>`_. To learn more about collections, see :ref:`collections`."
1123msgstr "コレクションは、Playbook、ロール、モジュール、プラグインを含む Ansible コンテンツのディストリビューション形式です。`Ansible Galaxy <https://galaxy.ansible.com>`_ でコレクションをインストールして使用することができます。コレクションの詳細は、「:ref:`collections`」を参照してください。"
1124
1125#: ../../rst/shared_snippets/basic_concepts.txt:22
1126msgid "Modules"
1127msgstr "モジュール"
1128
1129#: ../../rst/shared_snippets/basic_concepts.txt:24
1130msgid "The units of code Ansible executes. Each module has a particular use, from administering users on a specific type of database to managing VLAN interfaces on a specific type of network device. You can invoke a single module with a task, or invoke several different modules in a playbook. Starting in Ansible 2.10, modules are grouped in collections. For an idea of how many collections Ansible includes, take a look at the :ref:`list_of_collections`."
1131msgstr "Ansible が実行するコードの単位。各モジュールは、特定タイプのデータベースのユーザーを管理したり、特定タイプのネットワークデバイスの VLAN インターフェースを管理するなど、特定の用途に使用されます。タスクで 1 つのモジュールを起動したり、Playbook で複数のモジュールを起動したりすることができます。Ansible 2.10 以降、モジュールはコレクションとしてまとめられています。Ansible に含まれるコレクションの数は、「:ref:`list_of_collections`」を参照してください。"
1132
1133#: ../../rst/shared_snippets/basic_concepts.txt:27
1134msgid "Tasks"
1135msgstr "タスク"
1136
1137#: ../../rst/shared_snippets/basic_concepts.txt:29
1138msgid "The units of action in Ansible. You can execute a single task once with an ad hoc command."
1139msgstr "Ansible でのアクションの単位。アドホックコマンドを使用すると、単一のタスクを実行できます。"
1140
1141#: ../../rst/shared_snippets/basic_concepts.txt:32
1142msgid "Playbooks"
1143msgstr "Playbook"
1144
1145#: ../../rst/shared_snippets/basic_concepts.txt:34
1146msgid "Ordered lists of tasks, saved so you can run those tasks in that order repeatedly. Playbooks can include variables as well as tasks. Playbooks are written in YAML and are easy to read, write, share and understand. To learn more about playbooks, see :ref:`about_playbooks`."
1147msgstr "順番に並べられたタスクの一覧は保存されているため、その順番でタスクを繰り返し実行することができます。Playbook には、タスクだけでなく、変数も含めることができます。Playbook は YAML で記述されているため、読みやすく、書きやすく、共有しやすく、理解しやすい特徴があります。Playbook の詳細は、「:ref:`about_playbooks`」を参照してください。"
1148
1149#: ../../rst/network/getting_started/first_inventory.rst:3
1150msgid "Build Your Inventory"
1151msgstr "インベントリーの構築"
1152
1153#: ../../rst/network/getting_started/first_inventory.rst:5
1154msgid "Running a playbook without an inventory requires several command-line flags. Also, running a playbook against a single device is not a huge efficiency gain over making the same change manually. The next step to harnessing the full power of Ansible is to use an inventory file to organize your managed nodes into groups with information like the ``ansible_network_os`` and the SSH user. A fully-featured inventory file can serve as the source of truth for your network. Using an inventory file, a single playbook can maintain hundreds of network devices with a single command. This page shows you how to build an inventory file, step by step."
1155msgstr "インベントリーを使用せずに Playbook を実行するには、いくつかのコマンドラインフラグが必要です。また、単一のデバイスに対して Playbook を実行しても、同じ変更を手動で行うのに比べて効率が大きく向上するわけではありません。Ansible を最大限に活用するための次のステップは、インベントリーファイルを使用して、管理対象のノードを ``ansible_network_os`` や SSH ユーザーなどの情報を持つグループに整理することです。完全な機能を備えたインベントリーファイルは、ネットワークの唯一の信頼できるソースとなります。インベントリーファイルを使用すると、1 つの Playbook で数百のネットワークデバイスを 1 つのコマンドで管理できます。このページでは、インベントリーファイルを作成する方法を順を追って説明します。"
1156
1157#: ../../rst/network/getting_started/first_inventory.rst:11
1158msgid "Basic inventory"
1159msgstr "基本的なインベントリー"
1160
1161#: ../../rst/network/getting_started/first_inventory.rst:13
1162msgid "First, group your inventory logically. Best practice is to group servers and network devices by their What (application, stack or microservice), Where (datacenter or region), and When (development stage):"
1163msgstr "まず、インベントリーを論理的にグループ化します。ベストプラクティスは、サーバーおよびネットワークデバイスを、種類 (アプリケーション、スタック、またはマイクロサービス)、場所 (データセンタまたは地域)、および時期 (開発段階) でグループ化することです。"
1164
1165#: ../../rst/network/getting_started/first_inventory.rst:15
1166msgid "**What**: db, web, leaf, spine"
1167msgstr "**種類**: db、web、leaf、spine"
1168
1169#: ../../rst/network/getting_started/first_inventory.rst:16
1170msgid "**Where**: east, west, floor_19, building_A"
1171msgstr "**場所**: east、west、floor_19、building_A"
1172
1173#: ../../rst/network/getting_started/first_inventory.rst:17
1174msgid "**When**: dev, test, staging, prod"
1175msgstr "**時期**: dev、test、staging、prod"
1176
1177#: ../../rst/network/getting_started/first_inventory.rst:19
1178msgid "Avoid spaces, hyphens, and preceding numbers (use ``floor_19``, not ``19th_floor``) in your group names. Group names are case sensitive."
1179msgstr "グループ名にスペースまたはハイフンを使用しないでください。またグループ名は数値で始めないでください (``19th_floor``ではなく ``floor_19`` を使用)。グループ名は大文字と小文字を区別します。"
1180
1181#: ../../rst/network/getting_started/first_inventory.rst:21
1182msgid "This tiny example data center illustrates a basic group structure. You can group groups using the syntax ``[metagroupname:children]`` and listing groups as members of the metagroup. Here, the group ``network`` includes all leafs and all spines; the group ``datacenter`` includes all network devices plus all webservers."
1183msgstr "この小さなデータセンターの例では、基本的なグループ構造を説明します。グループをグループ化するには、``[metagroupname:children]`` という構文を使い、グループをメタグループのメンバーとしてリストアップします。ここでは、``network`` というグループには、すべての leaf (リーフ) とすべての spine (スパイン) が含まれ、``datacenter`` というグループには、すべてのネットワークデバイスとすべての Web サーバーが含まれています。"
1184
1185#: ../../rst/network/getting_started/first_inventory.rst:60
1186msgid "You can also create this same inventory in INI format."
1187msgstr "同じインベントリーを INI 形式で作成することもできます。"
1188
1189#: ../../rst/network/getting_started/first_inventory.rst:86
1190msgid "Add variables to the inventory"
1191msgstr "インベントリーへの変数の追加"
1192
1193#: ../../rst/network/getting_started/first_inventory.rst:88
1194msgid "Next, you can set values for many of the variables you needed in your first Ansible command in the inventory, so you can skip them in the ``ansible-playbook`` command. In this example, the inventory includes each network device's IP, OS, and SSH user. If your network devices are only accessible by IP, you must add the IP to the inventory file. If you access your network devices using hostnames, the IP is not necessary."
1195msgstr "次に、最初の Ansible コマンドで必要であった多くの変数の値をインベントリーに設定することで、``ansible-playbook`` コマンドでスキップできるようになります。この例では、インベントリーに各ネットワークデバイスの IP、OS、SSH ユーザーが含まれています。ネットワークデバイスに IP でしかアクセスできない場合は、インベントリーファイルに IP を追加する必要があります。ホスト名を使用してネットワークデバイスにアクセスする場合は、IP が必要ありません。"
1196
1197#: ../../rst/network/getting_started/first_inventory.rst:137
1198msgid "Group variables within inventory"
1199msgstr "インベントリー内のグループ変数"
1200
1201#: ../../rst/network/getting_started/first_inventory.rst:139
1202msgid "When devices in a group share the same variable values, such as OS or SSH user, you can reduce duplication and simplify maintenance by consolidating these into group variables:"
1203msgstr "グループ内のデバイスが、OS や SSH ユーザーなど、同じ変数値を共有している場合は、この値をグループ変数に統合することで、重複を減らし、メンテナンスを簡素化できます。"
1204
1205#: ../../rst/network/getting_started/first_inventory.rst:185
1206msgid "Variable syntax"
1207msgstr "変数の構文"
1208
1209#: ../../rst/network/getting_started/first_inventory.rst:187
1210msgid "The syntax for variable values is different in inventory, in playbooks, and in the ``group_vars`` files, which are covered below. Even though playbook and ``group_vars`` files are both written in YAML, you use variables differently in each."
1211msgstr "変数の値の構文は、インベントリー、Playbook、および ``group_vars`` ファイルで異なりますが、以下で説明します。Playbook と ``group_vars`` ファイルはどちらも YAML で記述されていますが、変数は YAML でそれぞれ異なります。"
1212
1213#: ../../rst/network/getting_started/first_inventory.rst:189
1214msgid "In an ini-style inventory file you **must** use the syntax ``key=value`` for variable values: ``ansible_network_os=vyos.vyos.vyos``."
1215msgstr "ini 形式のインベントリーファイルで、変数値 ``ansible_network_os=vyos.vyos.vyos`` に構文 ``key=value`` を使用する **必要があります**。"
1216
1217#: ../../rst/network/getting_started/first_inventory.rst:190
1218msgid "In any file with the ``.yml`` or ``.yaml`` extension, including playbooks and ``group_vars`` files, you **must** use YAML syntax: ``key: value``."
1219msgstr "Playbook および ``group_vars`` ファイルを含む ``.yml`` 拡張子または ``.yaml`` 拡張子を持つファイルでは、YAML 構文 ``key: value`` を使用する**必要があります**。"
1220
1221#: ../../rst/network/getting_started/first_inventory.rst:192
1222msgid "In ``group_vars`` files, use the full ``key`` name: ``ansible_network_os: vyos.vyos.vyos``."
1223msgstr "``group_vars`` ファイルで、完全な ``key`` 名 (``ansible_network_os: vyos.vyos.vyos``) を使用します。"
1224
1225#: ../../rst/network/getting_started/first_inventory.rst:193
1226msgid "In playbooks, use the short-form ``key`` name, which drops the ``ansible`` prefix: ``network_os: vyos.vyos.vyos``."
1227msgstr "Playbook では、``ansible`` の接頭辞を取り除いた短い形式の``key`` の名前を使用します (``network_os: vyos.vyos.vyos``)。"
1228
1229#: ../../rst/network/getting_started/first_inventory.rst:197
1230msgid "Group inventory by platform"
1231msgstr "プラットフォームによるインベントリーのグループ化"
1232
1233#: ../../rst/network/getting_started/first_inventory.rst:199
1234msgid "As your inventory grows, you may want to group devices by platform. This allows you to specify platform-specific variables easily for all devices on that platform:"
1235msgstr "インベントリーが大きくなるにつれ、プラットフォームでデバイスをグループ化できます。これにより、そのプラットフォームのすべてのデバイスに対してプラットフォーム固有の変数を簡単に指定できます。"
1236
1237#: ../../rst/network/getting_started/first_inventory.rst:242
1238msgid "With this setup, you can run ``first_playbook.yml`` with only two flags:"
1239msgstr "この設定では、以下の 2 つのフラグを指定して ``first_playbook.yml`` を実行できます。"
1240
1241#: ../../rst/network/getting_started/first_inventory.rst:248
1242msgid "With the ``-k`` flag, you provide the SSH password(s) at the prompt. Alternatively, you can store SSH and other secrets and passwords securely in your group_vars files with ``ansible-vault``. See :ref:`network_vault` for details."
1243msgstr "``-k`` フラグを使用して、プロンプトで SSH パスワードを指定します。これで、``ansible-vault`` で SSH と、その他のシークレットおよびパスワードを group_vars ファイルに安全に保存できます。詳細は「:ref:`network_vault`」を参照してください。"
1244
1245#: ../../rst/network/getting_started/first_inventory.rst:251
1246msgid "Verifying the inventory"
1247msgstr "インベントリーの確認"
1248
1249#: ../../rst/network/getting_started/first_inventory.rst:253
1250msgid "You can use the :ref:`ansible-inventory` CLI command to display the inventory as Ansible sees it."
1251msgstr "CLI コマンド :ref:`ansible-inventory` を使用すると、Ansible が確認できるようにインベントリーを表示できます。"
1252
1253#: ../../rst/network/getting_started/first_inventory.rst:336
1254msgid "Protecting sensitive variables with ``ansible-vault``"
1255msgstr "``ansible-vault`` による機密変数の保護"
1256
1257#: ../../rst/network/getting_started/first_inventory.rst:338
1258msgid "The ``ansible-vault`` command provides encryption for files and/or individual variables like passwords. This tutorial will show you how to encrypt a single SSH password. You can use the commands below to encrypt other sensitive information, such as database passwords, privilege-escalation passwords and more."
1259msgstr "``ansible-vault`` コマンドは、ファイルや、パスワードなどの個々の変数の暗号化を行います。このチュートリアルでは、1 つの SSH パスワードを暗号化する方法を紹介します。以下のコマンドを使用すると、データベースのパスワードや権限昇格のためのパスワードなど、その他の機密情報を暗号化することができます。"
1260
1261#: ../../rst/network/getting_started/first_inventory.rst:340
1262msgid "First you must create a password for ansible-vault itself. It is used as the encryption key, and with this you can encrypt dozens of different passwords across your Ansible project. You can access all those secrets (encrypted values) with a single password (the ansible-vault password) when you run your playbooks. Here's a simple example."
1263msgstr "まず、ansible-vault 自体のパスワードを作成する必要があります。これは暗号化キーとして使用され、Ansible プロジェクト全体で何十もの異なるパスワードを暗号化することができます。Playbook を実行するときに、1 つのパスワード (ansible-vault パスワード) でこの全シークレット (暗号化された値) にアクセスできます。以下に簡単な例を示します。"
1264
1265#: ../../rst/network/getting_started/first_inventory.rst:342
1266msgid "Create a file and write your password for ansible-vault to it:"
1267msgstr "ファイルを作成して、ansible-vault のパスワードを書き込みます。"
1268
1269#: ../../rst/network/getting_started/first_inventory.rst:348
1270msgid "Create the encrypted ssh password for your VyOS network devices, pulling your ansible-vault password from the file you just created:"
1271msgstr "VyOS ネットワークデバイス用に暗号化された ssh パスワードを作成し、作成したファイルから ansible-vault パスワードをプルします。"
1272
1273#: ../../rst/network/getting_started/first_inventory.rst:354
1274msgid "If you prefer to type your ansible-vault password rather than store it in a file, you can request a prompt:"
1275msgstr "ファイルに保存せずに ansible-vault パスワードを入力する必要がある場合は、プロンプトを要求できます。"
1276
1277#: ../../rst/network/getting_started/first_inventory.rst:360
1278msgid "and type in the vault password for ``my_user``."
1279msgstr "また、``my_user`` に vault パスワードに入力します。"
1280
1281#: ../../rst/network/getting_started/first_inventory.rst:362
1282msgid "The :option:`--vault-id <ansible-playbook --vault-id>` flag allows different vault passwords for different users or different levels of access. The output includes the user name ``my_user`` from your ``ansible-vault`` command and uses the YAML syntax ``key: value``:"
1283msgstr "option:`--vault-id <ansible-playbook --vault-id>` フラグを使用すると、ユーザーまたはアクセスレベルごとに異なる Vault パスワードを使用できます。出力には、``ansible-vault`` コマンドのユーザー名 ``my_user`` が含まれ、YAML 構文 ``key: value`` が使用されます。"
1284
1285#: ../../rst/network/getting_started/first_inventory.rst:375
1286msgid "This is an example using an extract from a  YAML inventory, as the INI format does not support inline vaults:"
1287msgstr "INI 形式はインラインの vault に対応していないため、以下は YAML インベントリーから抽出を使用する例です。"
1288
1289#: ../../rst/network/getting_started/first_inventory.rst:396
1290msgid "To use an inline vaulted variables with an INI inventory you need to store it in a 'vars' file in YAML format, it can reside in host_vars/ or group_vars/ to be automatically picked up or referenced from a play via ``vars_files`` or ``include_vars``."
1291msgstr "インラインの Vault 変数を INI インベントリーで使用するには、これを YAML 形式で「vars」ファイルに保存する必要があります。これは host_vars/ または group_vars/ に置かれ、``vars_files`` または ``include_vars`` で Play から自動的に取得または参照されます。"
1292
1293#: ../../rst/network/getting_started/first_inventory.rst:399
1294msgid "To run a playbook with this setup, drop the ``-k`` flag and add a flag for your ``vault-id``:"
1295msgstr "この設定で Playbook を実行するには、``-k`` フラグを削除し、``vault-id`` のフラグを追加します。"
1296
1297#: ../../rst/network/getting_started/first_inventory.rst:405
1298msgid "Or with a prompt instead of the vault password file:"
1299msgstr "または、vault パスワードファイルの代わりにプロンプトを使用します。"
1300
1301#: ../../rst/network/getting_started/first_inventory.rst:411
1302msgid "To see the original value, you can use the debug module. Please note if your YAML file defines the `ansible_connection` variable (as we used in our example), it will take effect when you execute the command below. To prevent this, please make a copy of the file without the ansible_connection variable."
1303msgstr "元の値を確認するには、デバッグモジュールを使用できます。(この例で使用したように) YAML ファイルで `ansible_connection` 変数が定義されているかどうかに注意してください。以下のコマンドを実行すると有効になります。これを防ぐには、ansible_connection 変数を使用せずにファイルのコピーを作成してください。"
1304
1305#: ../../rst/network/getting_started/first_inventory.rst:427
1306msgid "Vault content can only be decrypted with the password that was used to encrypt it. If you want to stop using one password and move to a new one, you can update and re-encrypt existing vault content with ``ansible-vault rekey myfile``, then provide the old password and the new password. Copies of vault content still encrypted with the old password can still be decrypted with old password."
1307msgstr "Vault のコンテンツは、暗号化に使用されたパスワードでのみ復号できます。1 つのパスワードの使用を停止して新しいパスワードに移動する場合は、``ansible-vault rekey myfile`` を使用して、既存の Valut コンテンツを更新して再暗号化でき、次に古いパスワードと新しいパスワードを入力します。古いパスワードで暗号化されたままの Vault コンテンツのコピーは、古いパスワードで復号できます。"
1308
1309#: ../../rst/network/getting_started/first_inventory.rst:429
1310msgid "For more details on building inventory files, see :ref:`the introduction to inventory<intro_inventory>`; for more details on ansible-vault, see :ref:`the full Ansible Vault documentation<vault>`."
1311msgstr "インベントリーファイルの構築の詳細は、「:ref:`インベントリーの概要<intro_inventory>`」を参照してください。ansible-vault の詳細は、:ref:`Ansible Vault の完全ドキュメント<vault>` を参照してください。"
1312
1313#: ../../rst/network/getting_started/first_inventory.rst:431
1314msgid "Now that you understand the basics of commands, playbooks, and inventory, it's time to explore some more complex Ansible Network examples."
1315msgstr "コマンド、Playbook、およびインベントリーの基本を理解したら、より複雑な Ansible Network の例をいくつか説明します。"
1316
1317#: ../../rst/network/getting_started/first_playbook.rst:6
1318msgid "Run Your First Command and Playbook"
1319msgstr "最初のコマンドおよび Playbook の実行"
1320
1321#: ../../rst/network/getting_started/first_playbook.rst:8
1322msgid "Put the concepts you learned to work with this quick tutorial. Install Ansible, execute a network configuration command manually, execute the same command with Ansible, then create a playbook so you can execute the command any time on multiple network devices."
1323msgstr "このクイックチュートリアルでは、これまで学んだ概念を実際に使ってみましょう。Ansible をインストールし、ネットワーク設定コマンドを手動で実行し、Ansible で同じコマンドを実行してから Playbook を作成するため、複数のネットワークデバイスでいつでもコマンドを実行できます。"
1324
1325#: ../../rst/network/getting_started/first_playbook.rst:14
1326#: ../../rst/network/user_guide/network_best_practices_2.5.rst:13
1327msgid "Prerequisites"
1328msgstr "要件"
1329
1330#: ../../rst/network/getting_started/first_playbook.rst:16
1331msgid "Before you work through this tutorial you need:"
1332msgstr "このチュートリアルを実行する前に、以下が必要になります。"
1333
1334#: ../../rst/network/getting_started/first_playbook.rst:18
1335msgid "Ansible 2.10 (or higher) installed"
1336msgstr "Ansible 2.10 (以降) がインストールされている"
1337
1338#: ../../rst/network/getting_started/first_playbook.rst:19
1339msgid "One or more network devices that are compatible with Ansible"
1340msgstr "Ansible と互換性のある 1 つ以上ネットワークデバイス"
1341
1342#: ../../rst/network/getting_started/first_playbook.rst:20
1343msgid "Basic Linux command line knowledge"
1344msgstr "基本的な Linux コマンドラインの知識"
1345
1346#: ../../rst/network/getting_started/first_playbook.rst:21
1347msgid "Basic knowledge of network switch & router configuration"
1348msgstr "ネットワークスイッチおよびルーター設定に関する基本知識"
1349
1350#: ../../rst/network/getting_started/first_playbook.rst:24
1351msgid "Install Ansible"
1352msgstr "Ansible のインストール"
1353
1354#: ../../rst/network/getting_started/first_playbook.rst:26
1355msgid "Install Ansible using your preferred method. See :ref:`installation_guide`. Then return to this tutorial."
1356msgstr "好みの方法で Ansible をインストールします。「:ref:`installation_guide`」を参照してください。その後、このチュートリアルに戻ります。"
1357
1358#: ../../rst/network/getting_started/first_playbook.rst:28
1359msgid "Confirm the version of Ansible (must be >= 2.10):"
1360msgstr "Ansible のバージョンを確認します (2.10 以下である必要があります)。"
1361
1362#: ../../rst/network/getting_started/first_playbook.rst:36
1363msgid "Establish a manual connection to a managed node"
1364msgstr "管理ノードへの手動接続の確立"
1365
1366#: ../../rst/network/getting_started/first_playbook.rst:38
1367msgid "To confirm your credentials, connect to a network device manually and retrieve its configuration. Replace the sample user and device name with your real credentials. For example, for a VyOS router:"
1368msgstr "認証情報を確認するには、手動でネットワークデバイスに接続し、その設定を取得します。サンプルユーザー名とデバイス名を実際の認証情報に置き換えます。たとえば、VyOS ルーターの場合は以下のようになります。"
1369
1370#: ../../rst/network/getting_started/first_playbook.rst:46
1371msgid "This manual connection also establishes the authenticity of the network device, adding its RSA key fingerprint to your list of known hosts. (If you have connected to the device before, you have already established its authenticity.)"
1372msgstr "この手動接続により、ネットワークデバイスの信頼性も確立され、既知のホストの一覧に RSA 鍵フィンガープリントが追加されます (以前にデバイスを接続したことがある場合は、その信頼性がすでに確立されています)。"
1373
1374#: ../../rst/network/getting_started/first_playbook.rst:50
1375msgid "Run your first network Ansible command"
1376msgstr "最初のネットワーク Ansible コマンドの実行"
1377
1378#: ../../rst/network/getting_started/first_playbook.rst:52
1379msgid "Instead of manually connecting and running a command on the network device, you can retrieve its configuration with a single, stripped-down Ansible command:"
1380msgstr "ネットワークデバイスでコマンドを手動で接続して実行する代わりに、1 つの削除済み Ansible コマンドで設定を取得できます。"
1381
1382#: ../../rst/network/getting_started/first_playbook.rst:65
1383msgid "The flags in this command set seven values:"
1384msgstr "このコマンドのフラグは、7 つの値を設定します。"
1385
1386#: ../../rst/network/getting_started/first_playbook.rst:59
1387msgid "the host group(s) to which the command should apply (in this case, all)"
1388msgstr "コマンドを適用するホストグループ (この場合は all)"
1389
1390#: ../../rst/network/getting_started/first_playbook.rst:60
1391msgid "the inventory (-i, the device or devices to target - without the trailing comma -i points to an inventory file)"
1392msgstr "インベントリー (-i、ターゲットに設定するデバイス (最後のコンマがない -i はインベントリーファイルの指定がありません))"
1393
1394#: ../../rst/network/getting_started/first_playbook.rst:61
1395msgid "the connection method (-c, the method for connecting and executing ansible)"
1396msgstr "接続方法 (-c、ansible の接続方法および実行方法)"
1397
1398#: ../../rst/network/getting_started/first_playbook.rst:62
1399msgid "the user (-u, the username for the SSH connection)"
1400msgstr "ユーザー (-u、SSH 接続のユーザー名)"
1401
1402#: ../../rst/network/getting_started/first_playbook.rst:63
1403msgid "the SSH connection method (-k, please prompt for the password)"
1404msgstr "SSH 接続の方法 (-k、パスワードのプロンプト有り)"
1405
1406#: ../../rst/network/getting_started/first_playbook.rst:64
1407msgid "the module (-m, the Ansible module to run, using the fully qualified collection name (FQCN))"
1408msgstr "モジュール (-m、完全修飾コレクション名 (FQCN) を使用した、実行する Ansible モジュール)"
1409
1410#: ../../rst/network/getting_started/first_playbook.rst:65
1411msgid "an extra variable ( -e, in this case, setting the network OS value)"
1412msgstr "追加変数 (-e、この場合はネットワーク OS 値の設定)"
1413
1414#: ../../rst/network/getting_started/first_playbook.rst:67
1415msgid "NOTE: If you use ``ssh-agent`` with ssh keys, Ansible loads them automatically. You can omit ``-k`` flag."
1416msgstr "注記: ssh 鍵で ``ssh-agent`` を使用すると、Ansible により自動的に読み込まれます。``-k`` フラグは省略できます。"
1417
1418#: ../../rst/network/getting_started/first_playbook.rst:71
1419msgid "If you are running Ansible in a virtual environment, you will also need to add the variable ``ansible_python_interpreter=/path/to/venv/bin/python``"
1420msgstr "仮想環境で Ansible を実行している場合は、変数 ``ansible_python_interpreter=/path/to/venv/bin/python`` を追加する必要もあります。"
1421
1422#: ../../rst/network/getting_started/first_playbook.rst:75
1423msgid "Create and run your first network Ansible Playbook"
1424msgstr "最初のネットワークの Ansible Playbook の作成および実行"
1425
1426#: ../../rst/network/getting_started/first_playbook.rst:77
1427msgid "If you want to run this command every day, you can save it in a playbook and run it with ``ansible-playbook`` instead of ``ansible``. The playbook can store a lot of the parameters you provided with flags at the command line, leaving less to type at the command line. You need two files for this - a playbook and an inventory file."
1428msgstr "このコマンドを毎日実行する場合は、Playbook に保存し、``ansible`` の代わりに ``ansible-playbook`` を使用して実行できます。Playbook には、コマンドラインでフラグを使用して指定した多くのパラメーターを保存できるため、コマンドラインで入力するパラメータが少なくなります。これを行うためには、Playbook およびインベントリーファイルの 2 つのファイルが必要です。"
1429
1430#: ../../rst/network/getting_started/first_playbook.rst:79
1431msgid "Download :download:`first_playbook.yml <sample_files/first_playbook.yml>`, which looks like this:"
1432msgstr ":download:`first_playbook.yml <sample_files/first_playbook.yml>` をダウンロードします。これは、以下のようになります。"
1433
1434#: ../../rst/network/getting_started/first_playbook.rst:84
1435msgid "The playbook sets three of the seven values from the command line above: the group (``hosts: all``), the connection method (``connection: ansible.netcommon.network_cli``) and the module (in each task). With those values set in the playbook, you can omit them on the command line. The playbook also adds a second task to show the config output. When a module runs in a playbook, the output is held in memory for use by future tasks instead of written to the console. The debug task here lets you see the results in your shell."
1436msgstr "Playbook では、上記のコマンドラインの 7 つの値のうちの 3 つ、つまりグループ (``hosts: all``)、接続方法 (``connection: ansible.netcommon.network_cli``)、モジュール (各タスク内) が設定されます。これらの値を Playbook で設定すると、コマンドラインで省略できます。この Playbook には、設定出力を表示する 2 番目のタスクも追加されています。モジュールが Playbook で実行すると、出力はコンソールに書き込まれるのではなく、将来のタスクで使用するためにメモリーに保持されます。ここでデバッグタスクを実行すると、シェルで結果を確認できます。"
1437
1438#: ../../rst/network/getting_started/first_playbook.rst:86
1439msgid "Run the playbook with the command:"
1440msgstr "以下のコマンドを使用して Playbook を実行します。"
1441
1442#: ../../rst/network/getting_started/first_playbook.rst:92
1443msgid "The playbook contains one play with two tasks, and should generate output like this:"
1444msgstr "Playbook には、2 つのタスクを持つプレイが 1 つ含まれており、次のような出力が生成されます。"
1445
1446#: ../../rst/network/getting_started/first_playbook.rst:111
1447msgid "Now that you can retrieve the device config, try updating it with Ansible. Download :download:`first_playbook_ext.yml <sample_files/first_playbook_ext.yml>`, which is an extended version of the first playbook:"
1448msgstr "デバイス設定を取得できたので、Ansible で更新してみましょう。最初の Playbook の拡張バージョンである :download:`first_playbook_ext.yml <sample_files/first_playbook_ext.yml>` をダウンロードします。"
1449
1450#: ../../rst/network/getting_started/first_playbook.rst:116
1451msgid "The extended first playbook has four tasks in a single play. Run it with the same command you used above. The output shows you the change Ansible made to the config:"
1452msgstr "拡張された最初の Playbook には、1 つのプレイに 4 つのタスクがあります。上記のコマンドと同じコマンドを使用して実行すると、出力には、Ansible が設定に加えた変更が表示されます。"
1453
1454#: ../../rst/network/getting_started/first_playbook.rst:158
1455msgid "Gathering facts from network devices"
1456msgstr "ネットワークデバイスからのファクトの収集"
1457
1458#: ../../rst/network/getting_started/first_playbook.rst:160
1459msgid "The ``gather_facts`` keyword now supports gathering network device facts in standardized key/value pairs. You can feed these network facts into further tasks to manage the network device."
1460msgstr "``gather_facts`` キーワードは、標準化された鍵と値のペアでネットワークデバイスのファクトの収集に対応します。これらのネットワークファクトを、ネットワークデバイスを管理する追加のタスクに指定できます。"
1461
1462#: ../../rst/network/getting_started/first_playbook.rst:162
1463msgid "You can also use the new ``gather_network_resources`` parameter with the network ``*_facts`` modules (such as :ref:`arista.eos.eos_facts <ansible_collections.arista.eos.eos_facts_module>`) to return just a subset of the device configuration, as shown below."
1464msgstr "また、新しい ``gather_network_resources`` パラメーターを、ネットワークの ``*_facts`` モジュール (:ref:`arista.eos.eos_facts <ansible_collections.arista.eos.eos_facts_module>` など) とともに使用すると、以下のようにデバイス設定のサブセットのみを返すことができます。"
1465
1466#: ../../rst/network/getting_started/first_playbook.rst:173
1467msgid "The playbook returns the following interface facts:"
1468msgstr "Playbook は以下のインターフェースのファクトを返します。"
1469
1470#: ../../rst/network/getting_started/first_playbook.rst:210
1471msgid "Note that this returns a subset of what is returned by just setting ``gather_subset: interfaces``."
1472msgstr "これは、``gather_subset: interfaces`` の設定で返される内容のサブセットを返すことに注意してください。"
1473
1474#: ../../rst/network/getting_started/first_playbook.rst:212
1475msgid "You can store these facts and use them directly in another task, such as with the :ref:`eos_interfaces <ansible_collections.arista.eos.eos_interfaces_module>` resource module."
1476msgstr "これらのファクトを保存し、:ref:`eos_interfaces <ansible_collections.arista.eos.eos_interfaces_module>` リソースモジュールなどの別のタスクで直接使用できます。"
1477
1478#: ../../rst/network/getting_started/index.rst:23
1479msgid "Getting Started Guide"
1480msgstr "入門ガイド"
1481
1482#: ../../rst/network/getting_started/index.rst:5
1483msgid "Network Getting Started"
1484msgstr "ネットワークスタートガイド"
1485
1486#: ../../rst/network/getting_started/index.rst:7
1487msgid "Ansible collections support a wide range of vendors, device types, and actions, so you can manage your entire network with a single automation tool. With Ansible, you can:"
1488msgstr "Ansible コレクションは広範なベンダー、デバイスタイプ、アクションに対応しているため、1 つの自動化ツールでネットワーク全体を管理できます。Ansible では、以下を行うことができます。"
1489
1490#: ../../rst/network/getting_started/index.rst:9
1491msgid "Automate repetitive tasks to speed routine network changes and free up your time for more strategic work"
1492msgstr "反復タスクを自動化して、ルーチンネットワークの変更を迅速化し、その時間をより戦略的な作業に割り当てます。"
1493
1494#: ../../rst/network/getting_started/index.rst:10
1495msgid "Leverage the same simple, powerful, and agentless automation tool for network tasks that operations and development use"
1496msgstr "操作と開発で使用するネットワークタスクの両方に、同一の簡単で強力なエージェントレスの自動化ツールを使用します。"
1497
1498#: ../../rst/network/getting_started/index.rst:11
1499msgid "Separate the data model (in a playbook or role) from the execution layer (via Ansible modules) to manage heterogeneous network devices"
1500msgstr "異機種環境にあるネットワークデバイスを管理するため、(Ansible モジュールにより) 実行レイヤーからデータモデル (Playbook またはロール) を分離します。"
1501
1502#: ../../rst/network/getting_started/index.rst:12
1503msgid "Benefit from community and vendor-generated sample playbooks and roles to help accelerate network automation projects"
1504msgstr "ネットワーク自動化プロジェクトを加速化するコミュニティーおよびベンダーが生成したサンプルの Playbook およびロールを活用します。"
1505
1506#: ../../rst/network/getting_started/index.rst:13
1507msgid "Communicate securely with network hardware over SSH or HTTPS"
1508msgstr "SSH または HTTPS を介してネットワークハードウェアとセキュアに通信します。"
1509
1510#: ../../rst/network/getting_started/index.rst:17
1511msgid "This guide is intended for network engineers using Ansible for the first time. If you understand networks but have never used Ansible, work through the guide from start to finish."
1512msgstr "このガイドは、Ansible を初めて使用するネットワークエンジニアを対象としています。ネットワークを理解していて、Ansible を使用したことがない場合は、ガイドを最初から最後まで実践してください。"
1513
1514#: ../../rst/network/getting_started/index.rst:19
1515msgid "This guide is also useful for experienced Ansible users automating network tasks for the first time. You can use Ansible commands, playbooks and modules to configure hubs, switches, routers, bridges and other network devices. But network modules are different from Linux/Unix and Windows modules, and you must understand some network-specific concepts to succeed. If you understand Ansible but have never automated a network task, start with the second section."
1516msgstr "このガイドは、ネットワークタスクを初めて自動化する経験豊富な Ansible ユーザーにも役立ちます。Ansible コマンド、Playbook、モジュールを使用して、ハブ、スイッチ、ルーター、ブリッジ、その他のネットワークデバイスを構成できます。ただし、ネットワークモジュールは Linux/Unix および Windows のモジュールとは異なり、成功するにはネットワーク固有の概念を理解する必要があります。Ansible を理解していても、ネットワークタスクを自動化したことがない場合は、2 番目のセクションから始めてください。"
1517
1518#: ../../rst/network/getting_started/index.rst:21
1519msgid "This guide introduces basic Ansible concepts and guides you through your first Ansible commands, playbooks and inventory entries."
1520msgstr "本ガイドでは、基本的な Ansible の概念を紹介し、Ansible コマンド、Playbook、およびインベントリーエントリーを説明します。"
1521
1522#: ../../rst/network/getting_started/intermediate_concepts.rst:3
1523msgid "Beyond the basics"
1524msgstr "中級編"
1525
1526#: ../../rst/network/getting_started/intermediate_concepts.rst:5
1527msgid "This page introduces some concepts that help you manage your Ansible workflow with directory structure and source control. Like the Basic Concepts at the beginning of this guide, these intermediate concepts are common to all uses of Ansible."
1528msgstr "このページでは、ディレクトリー構造とソース管理を使用した Ansible ワークフローの管理に役立つ概念を紹介します。このガイドの最初の基本概念と同様に、これらの中間概念は Ansible のすべての使用に共通です。"
1529
1530#: ../../rst/network/getting_started/intermediate_concepts.rst:12
1531msgid "A typical Ansible filetree"
1532msgstr "一般的な Ansible ファイルツリー"
1533
1534#: ../../rst/network/getting_started/intermediate_concepts.rst:14
1535msgid "Ansible expects to find certain files in certain places. As you expand your inventory and create and run more network playbooks, keep your files organized in your working Ansible project directory like this:"
1536msgstr "Ansible では、特定の場所にある特定のファイルを見つけることを想定しています。インベントリーを拡張し、ネットワークの Playbook を作成して実行する場合は、ファイルを以下のように作業用の Ansible プロジェクトディレクトリーに整理した状態にします。"
1537
1538#: ../../rst/network/getting_started/intermediate_concepts.rst:33
1539msgid "The ``backup`` directory and the files in it get created when you run modules like ``vyos_config`` with the ``backup: yes`` parameter."
1540msgstr "``backup`` ディレクトリーと、そのディレクトリーのファイルは、``backup: yes`` パラメーターを使用した ``vyos_config`` のモジュールを実行する際に作成されます。"
1541
1542#: ../../rst/network/getting_started/intermediate_concepts.rst:37
1543msgid "Tracking changes to inventory and playbooks: source control with git"
1544msgstr "インベントリーおよび Playbook への変更の追跡: git でのソース制御"
1545
1546#: ../../rst/network/getting_started/intermediate_concepts.rst:39
1547msgid "As you expand your inventory, roles and playbooks, you should place your Ansible projects under source control. We recommend ``git`` for source control. ``git`` provides an audit trail, letting you track changes, roll back mistakes, view history and share the workload of managing, maintaining and expanding your Ansible ecosystem. There are plenty of tutorials and guides to using ``git`` available."
1548msgstr "インベントリー、ロール、および Playbook を拡張するときは、Ansible プロジェクトをソース管理下に置く必要があります。ソース管理には ``git`` をお勧めします。``git`` には監査証跡が用意されており、変更の追跡、失敗のロールバック、履歴の表示、Ansible エコシステムの管理、維持、拡張のワークロードの共有が可能になります。``git`` を使用するためのチュートリアルとガイドが多数用意されています。"
1549
1550#: ../../rst/network/getting_started/network_connection_options.rst:5
1551msgid "Working with network connection options"
1552msgstr "ネットワーク接続オプションの使用"
1553
1554#: ../../rst/network/getting_started/network_connection_options.rst:7
1555msgid "Network modules can support multiple connection protocols, such as ``ansible.netcommon.network_cli``, ``ansible.netcommon.netconf``, and ``ansible.netcommon.httpapi``. These connections include some common options you can set to control how the connection to your network device behaves."
1556msgstr "ネットワークモジュールは、``ansible.netcommon.network_cli``、``ansible.netcommon.netconf``、``ansible.netcommon.httpapi`` などの複数の接続プロトコルをサポートできます。これらの接続には、ネットワークデバイスへの接続の動作を制御するために設定できる一般的なオプションがあります。"
1557
1558#: ../../rst/network/getting_started/network_connection_options.rst:9
1559msgid "Common options are:"
1560msgstr "一般的なオプションは以下のとおりです。"
1561
1562#: ../../rst/network/getting_started/network_connection_options.rst:11
1563msgid "``become`` and ``become_method`` as described in :ref:`privilege_escalation`."
1564msgstr "「:ref:`privilege_escalation`」に記載される通りに ``become`` および ``become_method``"
1565
1566#: ../../rst/network/getting_started/network_connection_options.rst:12
1567msgid "``network_os`` - set to match your network platform you are communicating with. See the :ref:`platform-specific <platform_options>` pages."
1568msgstr "``network_os`` - 通信しているネットワークプラットフォームと一致するように設定されます。「:ref:`platform-specific <platform_options>`」ページを参照してください。"
1569
1570#: ../../rst/network/getting_started/network_connection_options.rst:13
1571msgid "``remote_user`` as described in :ref:`connection_set_user`."
1572msgstr "「:ref:`connection_set_user`」に記載される通りに ``remote_user``"
1573
1574#: ../../rst/network/getting_started/network_connection_options.rst:14
1575msgid "Timeout options - ``persistent_command_timeout``, ``persistent_connect_timeout``, and ``timeout``."
1576msgstr "タイムアウトオプション: ``persistent_command_timeout``、``persistent_connect_timeout``、および ``timeout``"
1577
1578#: ../../rst/network/getting_started/network_connection_options.rst:19
1579msgid "Setting timeout options"
1580msgstr "タイムアウトオプションの設定"
1581
1582#: ../../rst/network/getting_started/network_connection_options.rst:21
1583msgid "When communicating with a remote device, you have control over how long Ansible maintains the connection to that device, as well as how long Ansible waits for a command to complete on that device. Each of these options can be set as variables in your playbook files, environment variables, or settings in your :ref:`ansible.cfg file <ansible_configuration_settings>`."
1584msgstr "リモートデバイスと通信する場合は、Ansible がそのデバイスへの接続を維持する時間、およびそのデバイスでコマンドが完了するまで Ansible が待機する時間を制御できます。各オプションは、Playbook ファイルの変数、環境変数、または :ref:`ansible.cfg ファイル <ansible_configuration_settings>` の設定として設定できます。"
1585
1586#: ../../rst/network/getting_started/network_connection_options.rst:23
1587msgid "For example, the three options for controlling the connection timeout are as follows."
1588msgstr "たとえば、接続タイムアウトを制御する 3 つのオプションは次のとおりです。"
1589
1590#: ../../rst/network/getting_started/network_connection_options.rst:25
1591msgid "Using vars (per task):"
1592msgstr "vars (タスクごと) の使用:"
1593
1594#: ../../rst/network/getting_started/network_connection_options.rst:35
1595msgid "Using the environment variable:"
1596msgstr "環境変数の使用:"
1597
1598#: ../../rst/network/getting_started/network_connection_options.rst:41
1599msgid "Using the global configuration (in :file:`ansible.cfg`)"
1600msgstr "グローバル設定の使用 (:file:`ansible.cfg`) の使用"
1601
1602#: ../../rst/network/getting_started/network_connection_options.rst:48
1603msgid "See :ref:`ansible_variable_precedence` for details on the relative precedence of each of these variables. See the individual connection type to understand each option."
1604msgstr "これらの各変数の相対優先度は、「:ref:`ansible_variable_precedence`」を参照してください。各オプションについては、個別の接続タイプを参照してください。"
1605
1606#: ../../rst/network/getting_started/network_differences.rst:3
1607msgid "How Network Automation is Different"
1608msgstr "ネットワーク自動化の相違点"
1609
1610#: ../../rst/network/getting_started/network_differences.rst:5
1611msgid "Network automation leverages the basic Ansible concepts, but there are important differences in how the network modules work. This introduction prepares you to understand the exercises in this guide."
1612msgstr "ネットワーク自動化は、基本的な Ansible の概念を利用しますが、ネットワークモジュールの動作には重要な相違点があります。本ガイドの演習を始める前に、このイントロダクションをお読みください。"
1613
1614#: ../../rst/network/getting_started/network_differences.rst:11
1615msgid "Execution on the control node"
1616msgstr "コントロールノードでの実行"
1617
1618#: ../../rst/network/getting_started/network_differences.rst:13
1619msgid "Unlike most Ansible modules, network modules do not run on the managed nodes. From a user's point of view, network modules work like any other modules. They work with ad hoc commands, playbooks, and roles. Behind the scenes, however, network modules use a different methodology than the other (Linux/Unix and Windows) modules use. Ansible is written and executed in Python. Because the majority of network devices can not run Python, the Ansible network modules are executed on the Ansible control node, where ``ansible`` or ``ansible-playbook`` runs."
1620msgstr "ほとんどの Ansible モジュールとは異なり、ネットワークモジュールは管理ノードで実行されません。ユーザーから見ると、ネットワークモジュールは他のモジュールと同様に機能します。アドホックコマンド、Playbook およびロールを使用します。しかし、その裏では、ネットワークモジュールは他 (Linux/Unix および Windows) のモジュールとは異なる方法を使用します。Ansible は Python で記述され、実行されます。大部分のネットワークデバイスは Python を実行できないため、Ansible ネットワークモジュールは Ansible コントロールノードで実行されます (``ansible`` または ``ansible-playbook`` が実行される場所です)。"
1621
1622#: ../../rst/network/getting_started/network_differences.rst:15
1623msgid "Network modules also use the control node as a destination for backup files, for those modules that offer a ``backup`` option. With Linux/Unix modules, where a configuration file already exists on the managed node(s), the backup file gets written by default in the same directory as the new, changed file. Network modules do not update configuration files on the managed nodes, because network configuration is not written in files. Network modules write backup files on the control node, usually in the `backup` directory under the playbook root directory."
1624msgstr "ネットワークモジュールも、``backup`` オプションを提供するモジュールのバックアップファイルの宛先としてコントロールノードを使用します。Linux/Unix モジュールでは、管理ノードに設定ファイルがすでに存在する場合に、デフォルトでは、新しい変更したファイルと同じディレクトリーにバックアップファイルが書き込まれます。ネットワーク設定はファイルに書き込まれないため、ネットワークモジュールは管理ノード上の構成ファイルを更新しません。ネットワークモジュールは、通常は Playbook のルートディレクトリーの下の `backup` ディレクトリーにあるコントロールノードにバックアップファイルを書き込みます。"
1625
1626#: ../../rst/network/getting_started/network_differences.rst:18
1627msgid "Multiple communication protocols"
1628msgstr "複数の通信プロトコル"
1629
1630#: ../../rst/network/getting_started/network_differences.rst:20
1631msgid "Because network modules execute on the control node instead of on the managed nodes, they can support multiple communication protocols. The communication protocol (XML over SSH, CLI over SSH, API over HTTPS) selected for each network module depends on the platform and the purpose of the module. Some network modules support only one protocol; some offer a choice. The most common protocol is CLI over SSH. You set the communication protocol with the ``ansible_connection`` variable:"
1632msgstr "ネットワークモジュールは管理ノードではなくコントロールノードで実行されるため、複数の通信プロトコルをサポートできます。各ネットワークモジュールに選択される通信プロトコル (SSH での XML、SSH での CLI、HTTPS での API) は、プラットフォームと、モジュールの目的によって異なります。プロトコルを 1 つしかサポートしていないネットワークモジュールもあります。複数のプロトコルをサポートするプロトコルもあります。最も一般的なプロトコルは CLI over SSH です。``ansible_connection`` 変数を使用して通信プロトコルを設定します。"
1633
1634#: ../../rst/network/getting_started/network_differences.rst:1
1635msgid "Value of ansible_connection"
1636msgstr "ansible_connection の値"
1637
1638#: ../../rst/network/getting_started/network_differences.rst:1
1639#: ../../rst/network/user_guide/platform_ce.rst:23
1640#: ../../rst/network/user_guide/platform_cnos.rst:21
1641#: ../../rst/network/user_guide/platform_dellos10.rst:21
1642#: ../../rst/network/user_guide/platform_dellos6.rst:21
1643#: ../../rst/network/user_guide/platform_dellos9.rst:21
1644#: ../../rst/network/user_guide/platform_enos.rst:21
1645#: ../../rst/network/user_guide/platform_eos.rst:21
1646#: ../../rst/network/user_guide/platform_eric_eccli.rst:21
1647#: ../../rst/network/user_guide/platform_exos.rst:22
1648#: ../../rst/network/user_guide/platform_frr.rst:21
1649#: ../../rst/network/user_guide/platform_icx.rst:21
1650#: ../../rst/network/user_guide/platform_ios.rst:21
1651#: ../../rst/network/user_guide/platform_iosxr.rst:25
1652#: ../../rst/network/user_guide/platform_ironware.rst:21
1653#: ../../rst/network/user_guide/platform_junos.rst:24
1654#: ../../rst/network/user_guide/platform_meraki.rst:21
1655#: ../../rst/network/user_guide/platform_netconf_enabled.rst:23
1656#: ../../rst/network/user_guide/platform_netvisor.rst:22
1657#: ../../rst/network/user_guide/platform_nos.rst:22
1658#: ../../rst/network/user_guide/platform_nxos.rst:21
1659#: ../../rst/network/user_guide/platform_routeros.rst:22
1660#: ../../rst/network/user_guide/platform_slxos.rst:22
1661#: ../../rst/network/user_guide/platform_voss.rst:22
1662#: ../../rst/network/user_guide/platform_vyos.rst:21
1663#: ../../rst/network/user_guide/platform_weos4.rst:22
1664msgid "Protocol"
1665msgstr "プロトコル"
1666
1667#: ../../rst/network/getting_started/network_differences.rst:1
1668msgid "Requires"
1669msgstr "必須"
1670
1671#: ../../rst/network/getting_started/network_differences.rst:1
1672msgid "Persistent?"
1673msgstr "永続的?"
1674
1675#: ../../rst/network/getting_started/network_differences.rst:1
1676msgid "ansible.netcommon.network_cli"
1677msgstr "ansible.netcommon.network_cli"
1678
1679#: ../../rst/network/getting_started/network_differences.rst:1
1680msgid "CLI over SSH"
1681msgstr "SSH での CLI"
1682
1683#: ../../rst/network/getting_started/network_differences.rst:1
1684msgid "network_os setting"
1685msgstr "network_os の設定"
1686
1687#: ../../rst/network/getting_started/network_differences.rst:1
1688msgid "yes"
1689msgstr "はい"
1690
1691#: ../../rst/network/getting_started/network_differences.rst:1
1692msgid "ansible.netcommon.netconf"
1693msgstr "ansible.netcommon.netconf"
1694
1695#: ../../rst/network/getting_started/network_differences.rst:1
1696#: ../../rst/network/user_guide/platform_ce.rst:23
1697#: ../../rst/network/user_guide/platform_iosxr.rst:25
1698#: ../../rst/network/user_guide/platform_junos.rst:24
1699#: ../../rst/network/user_guide/platform_netconf_enabled.rst:23
1700msgid "XML over SSH"
1701msgstr "SSH での XML"
1702
1703#: ../../rst/network/getting_started/network_differences.rst:1
1704msgid "ansible.netcommon.httpapi"
1705msgstr "ansible.netcommon.httpapi"
1706
1707#: ../../rst/network/getting_started/network_differences.rst:1
1708msgid "API over HTTP/HTTPS"
1709msgstr "HTTP/HTTPS での API"
1710
1711#: ../../rst/network/getting_started/network_differences.rst:1
1712#: ../../rst/network/user_guide/platform_index.rst:61
1713msgid "local"
1714msgstr "ローカル"
1715
1716#: ../../rst/network/getting_started/network_differences.rst:1
1717msgid "depends on provider"
1718msgstr "プロバイダーによって異なる"
1719
1720#: ../../rst/network/getting_started/network_differences.rst:1
1721msgid "provider setting"
1722msgstr "プロバイダー設定"
1723
1724#: ../../rst/network/getting_started/network_differences.rst:1
1725msgid "no"
1726msgstr "いいえ"
1727
1728#: ../../rst/network/getting_started/network_differences.rst:32
1729msgid "``ansible.netcommon.httpapi`` deprecates ``eos_eapi`` and ``nxos_nxapi``. See :ref:`httpapi_plugins` for details and an example."
1730msgstr "``ansible.netcommon.httpapi`` は、``eos_eapi`` および ``nxos_nxapi`` を非推奨とします。詳細と例は「:ref:`httpapi_plugins`」参照してください。"
1731
1732#: ../../rst/network/getting_started/network_differences.rst:34
1733msgid "The ``ansible_connection: local`` has been deprecated. Please use one of the persistent connection types listed above instead. With persistent connections, you can define the hosts and credentials only once, rather than in every task. You also need to set the ``network_os`` variable for the specific network platform you are communicating with. For more details on using each connection type on various platforms, see the :ref:`platform-specific <platform_options>` pages."
1734msgstr "``ansible_connection: local`` は非推奨になりました。代わりに、上記の永続的接続タイプのいずれかを使用してください。永続的接続では、すべてのタスクに対してではなく、ホストと認証情報を 1 回だけ定義できます。また、通信する特定のネットワークプラットフォームの ``network_os`` 変数も設定する必要があります。さまざまなプラットフォームでの各接続タイプの使用の詳細は、「:ref:`platform-specific <platform_options>`」を参照してください。"
1735
1736#: ../../rst/network/getting_started/network_differences.rst:38
1737msgid "Collections organized by network platform"
1738msgstr "ネットワークプラットフォーム別に整理されたコレクション"
1739
1740#: ../../rst/network/getting_started/network_differences.rst:40
1741msgid "A network platform is a set of network devices with a common operating system that can be managed by an Ansible collection, for example:"
1742msgstr "ネットワークプラットフォームは、Ansible コレクションで管理できる共通のオペレーティングシステムを備えたネットワークデバイスセットです。以下に例を示します。"
1743
1744#: ../../rst/network/getting_started/network_differences.rst:42
1745msgid "Arista: `arista.eos <https://galaxy.ansible.com/arista/eos>`_"
1746msgstr "Arista: `arista.eos <https://galaxy.ansible.com/arista/eos>`_"
1747
1748#: ../../rst/network/getting_started/network_differences.rst:43
1749msgid "Cisco: `cisco.ios <https://galaxy.ansible.com/cisco/ios>`_, `cisco.iosxr <https://galaxy.ansible.com/cisco/iosxr>`_, `cisco.nxos <https://galaxy.ansible.com/cisco/nxos>`_"
1750msgstr "Cisco: `cisco.ios <https://galaxy.ansible.com/cisco/ios>`_、`cisco.iosxr <https://galaxy.ansible.com/cisco/iosxr>`_、`cisco.nxos <https://galaxy.ansible.com/cisco/nxos>`_"
1751
1752#: ../../rst/network/getting_started/network_differences.rst:44
1753msgid "Juniper: `junipernetworks.junos <https://galaxy.ansible.com/junipernetworks/junos>`_"
1754msgstr "Juniper: `junipernetworks.junos <https://galaxy.ansible.com/junipernetworks/junos>`_"
1755
1756#: ../../rst/network/getting_started/network_differences.rst:45
1757msgid "VyOS `vyos.vyos <https://galaxy.ansible.com/vyos/vyos>`_"
1758msgstr "VyOS `vyos.vyos <https://galaxy.ansible.com/vyos/vyos>`_"
1759
1760#: ../../rst/network/getting_started/network_differences.rst:47
1761msgid "All modules within a network platform share certain requirements. Some network platforms have specific differences - see the :ref:`platform-specific <platform_options>` documentation for details."
1762msgstr "ネットワークプラットフォーム内のすべてのモジュールは特定の要件を共有します。ネットワークプラットフォームによっては、特定の相違点があります。詳細は、:ref:`platform-specific <platform_options>` ドキュメントを参照してください。"
1763
1764#: ../../rst/network/getting_started/network_differences.rst:52
1765msgid "Privilege Escalation: ``enable`` mode, ``become``, and ``authorize``"
1766msgstr "特権エスカレーション: ``enable`` モード、``become``、および ``authorize``"
1767
1768#: ../../rst/network/getting_started/network_differences.rst:54
1769msgid "Several network platforms support privilege escalation, where certain tasks must be done by a privileged user. On network devices this is called the ``enable`` mode (the equivalent of ``sudo`` in \\*nix administration). Ansible network modules offer privilege escalation for those network devices that support it. For details of which platforms support ``enable`` mode, with examples of how to use it, see the :ref:`platform-specific <platform_options>` documentation."
1770msgstr "一部のネットワークプラットフォームでは特権エスカレーションがサポートされており、特権を持つユーザーが特定のタスクを実行する必要があります。ネットワークデバイスでは、これを ``enable`` モードと呼びます (\\*nix 管理における ``sudo`` と同等)。Ansible ネットワークモジュールは、それをサポートするネットワークデバイスに特権エスカレーションを提供します。``enable`` モードをサポートプラットフォームとその使用例については、:ref:`platform-specific <platform_options>` ドキュメントを参照してください。"
1771
1772#: ../../rst/network/getting_started/network_differences.rst:57
1773msgid "Using ``become`` for privilege escalation"
1774msgstr "権限昇格に ``become`` を使用"
1775
1776#: ../../rst/network/getting_started/network_differences.rst:59
1777msgid "Use the top-level Ansible parameter ``become: yes`` with ``become_method: enable`` to run a task, play, or playbook with escalated privileges on any network platform that supports privilege escalation. You must use either ``connection: network_cli`` or ``connection: httpapi`` with ``become: yes`` with ``become_method: enable``. If you are using ``network_cli`` to connect Ansible to your network devices, a ``group_vars`` file would look like:"
1778msgstr "特権昇格をサポートする任意のネットワークプラットフォームで、昇格された特権を使用してタスク、プレイ、または Playbook を実行するには、``become_method: enable`` の Ansible 最上位パラメーター ``become: yes`` を使用します。``connection: network_cli`` または ``connection: httpapi`` を、``become: yes`` と ``become_method: enable`` とともに使用する必要があります。``network_cli`` を使用して Ansible をネットワークデバイスに接続している場合、``group_vars`` ファイルは次のようになります。"
1779
1780#: ../../rst/network/getting_started/network_differences.rst:68
1781msgid "For more information, see :ref:`Become and Networks<become_network>`"
1782msgstr "詳細情報は、「:ref:`Become およびネットワーク<become_network>`」を参照してください。"
1783
1784#: ../../rst/network/getting_started/network_resources.rst:6
1785msgid "Resources and next steps"
1786msgstr "リソースと次のステップ"
1787
1788#: ../../rst/network/getting_started/network_resources.rst:12
1789msgid "Documents"
1790msgstr "ドキュメント"
1791
1792#: ../../rst/network/getting_started/network_resources.rst:14
1793msgid "Read more about Ansible for Network Automation:"
1794msgstr "ネットワーク自動化での Ansible の詳細は、次を参照してください。"
1795
1796#: ../../rst/network/getting_started/network_resources.rst:16
1797msgid "Network Automation on the `Ansible website <https://www.ansible.com/overview/networking>`_"
1798msgstr "`Ansible Web サイト <https://www.ansible.com/overview/networking>`_ 上のネットワーク自動化"
1799
1800#: ../../rst/network/getting_started/network_resources.rst:17
1801msgid "Ansible Network `Blog posts <https://www.ansible.com/blog/topic/networks>`_"
1802msgstr "Ansible ネットワークの `ブログ投稿 <https://www.ansible.com/blog/topic/networks>`_"
1803
1804#: ../../rst/network/getting_started/network_resources.rst:20
1805msgid "Events (on video and in person)"
1806msgstr "イベント (ビデオおよび個人)"
1807
1808#: ../../rst/network/getting_started/network_resources.rst:22
1809msgid "All sessions at Ansible events are recorded and include many Network-related topics (use Filter by Category to view only Network topics). You can also join us for future events in your area. See:"
1810msgstr "Ansible イベントにおけるセッションはすべて録画されており、ネットワーク関連のトピックが多数含まれています (「Filter by Category」を使用して、ネットワークトピックのみを表示します)。また、お住まいの地域で今後開催されるイベントにもご参加いただけます。以下を参照してください。"
1811
1812#: ../../rst/network/getting_started/network_resources.rst:24
1813msgid "`Recorded AnsibleFests <https://www.ansible.com/resources/videos/ansiblefest>`_"
1814msgstr "`AnsibleFests (録画) <https://www.ansible.com/resources/videos/ansiblefest>`_"
1815
1816#: ../../rst/network/getting_started/network_resources.rst:25
1817msgid "`Recorded AnsibleAutomates <https://www.ansible.com/resources/webinars-training>`_"
1818msgstr "`AnsibleAutomates (録画) <https://www.ansible.com/resources/webinars-training>`_"
1819
1820#: ../../rst/network/getting_started/network_resources.rst:26
1821msgid "`Upcoming Ansible Events <https://www.ansible.com/community/events>`_ page."
1822msgstr "`今後の Ansible イベント <https://www.ansible.com/community/events>`_ ページ。"
1823
1824#: ../../rst/network/getting_started/network_resources.rst:29
1825msgid "GitHub repos"
1826msgstr "GitHub リポジトリー"
1827
1828#: ../../rst/network/getting_started/network_resources.rst:31
1829msgid "Ansible hosts module code, examples, demonstrations, and other content on GitHub. Anyone with a GitHub account is able to create Pull Requests (PRs) or issues on these repos:"
1830msgstr "Ansible では、モジュールのコード、サンプル、デモンストレーション、その他のコンテンツを GitHub で公開しています。GitHub のアカウントをお持ちの方は、これらのリポジトリーにプル要求 (PR) や問題を作成することができます。"
1831
1832#: ../../rst/network/getting_started/network_resources.rst:33
1833msgid "`Network-Automation <https://github.com/network-automation>`_ is an open community for all things network automation. Have an idea, some playbooks, or roles to share? Email ansible-network@redhat.com and we will add you as a contributor to the repository."
1834msgstr "`Network-Automation <https://github.com/network-automation>`_ は、ネットワーク自動化に関するあらゆることを扱うオープンコミュニティーです。アイディア、Playbook、またはロールを共有しませんか。ansible-network@redhat.com にメールでお問い合わせいただければ、リポジトリーに貢献者として追加されます。"
1835
1836#: ../../rst/network/getting_started/network_resources.rst:35
1837msgid "`Ansible collections <https://github.com/ansible-collections>`_ is the main repository for Ansible-maintained and community collections, including collections for network devices."
1838msgstr "`Ansible コレクション <https://github.com/ansible-collections>`_ は、Ansible が管理しているコレクションおよびコミュニティーコレクションの主なリポジトリーです。これにはネットワークデバイスのコレクションが含まれます。"
1839
1840#: ../../rst/network/getting_started/network_resources.rst:40
1841msgid "IRC and Slack"
1842msgstr "IRC および Slack"
1843
1844#: ../../rst/network/getting_started/network_resources.rst:42
1845msgid "Join us on:"
1846msgstr "以下に参加してください。"
1847
1848#: ../../rst/network/getting_started/network_resources.rst:44
1849msgid "IRC Channel - ``#ansible-network`` on `irc.libera.chat <https://libera.chat/>`_"
1850msgstr "IRC チャンネル - `irc.libera.chat <https://libera.chat/>`_ の ``#ansible-network``"
1851
1852#: ../../rst/network/getting_started/network_resources.rst:46
1853msgid "Slack - `<https://ansiblenetwork.slack.com>`_"
1854msgstr "Slack - `<https://ansiblenetwork.slack.com>`_"
1855
1856#: ../../rst/network/getting_started/network_roles.rst:6
1857msgid "Use Ansible network roles"
1858msgstr "Ansible ネットワークロールの使用"
1859
1860#: ../../rst/network/getting_started/network_roles.rst:8
1861msgid "Roles are sets of Ansible defaults, files, tasks, templates, variables, and other Ansible components that work together. As you saw on :ref:`first_network_playbook`, moving from a command to a playbook makes it easy to run multiple tasks and repeat the same tasks in the same order. Moving from a playbook to a role makes it even easier to reuse and share your ordered tasks. You can look at :ref:`Ansible Galaxy <ansible_galaxy>`, which lets you share your roles and use others' roles, either directly or as inspiration."
1862msgstr "ロールは、Ansible のデフォルト、ファイル、タスク、テンプレート、変数、およびその他の Ansible コンポーネントのセットで、連携して動作します。:ref:`first_network_playbook` でこれまで見てきたように、コマンドから Playbook に移動すると、複数のタスクを簡単に実行し、同じタスクを同じ順序で繰り返すことができます。Playbook からロールに移動すると、注文したタスクの再利用と共有がさらに簡単になります。:ref:`Ansible Galaxy <ansible_galaxy>` では、自分のロールを共有したり、他の人のロールを直接またはインスピレーションとして使用したりできます。"
1863
1864#: ../../rst/network/getting_started/network_roles.rst:14
1865msgid "Understanding roles"
1866msgstr "ロールについて"
1867
1868#: ../../rst/network/getting_started/network_roles.rst:16
1869msgid "So what exactly is a role, and why should you care? Ansible roles are basically playbooks broken up into a known file structure. Moving to roles from a playbook makes sharing, reading, and updating your Ansible workflow easier. Users can write their own roles. So for example, you don't have to write your own DNS playbook. Instead, you specify a DNS server and a role to configure it for you."
1870msgstr "では、ロールとは正確には何なのか、そしてなぜそれが必要なのでしょうか。Ansible ロールは基本的に、既知のファイル構造に分割された Playbook です。Playbook からロールに移動することで、Ansible ワークフローの共有、読み取り、および更新が簡単になります。ユーザーは独自のロールを作成できます。たとえば、独自の DNS Playbook を作成する必要はありません。代わりに、DNS サーバーと、DNS サーバーを構成するロールを指定します。"
1871
1872#: ../../rst/network/getting_started/network_roles.rst:18
1873msgid "To simplify your workflow even further, the Ansible Network team has written a series of roles for common network use cases. Using these roles means you don't have to reinvent the wheel. Instead of writing and maintaining your own ``create_vlan`` playbooks or roles, you can concentrate on designing, codifying and maintaining the parser templates that describe your network topologies and inventory, and let Ansible's network roles do the work. See the `network-related roles <https://galaxy.ansible.com/ansible-network>`_ on Ansible Galaxy."
1874msgstr "ワークフローをさらに単純化するために、Ansible Network チームは一般的なネットワークのユースケースのための一連のロールを作成しました。これらのロールを使用すると、車輪を再発明する必要がなくなります。独自の ``create_vlan`` Playbook やロールを作成して管理する代わりに、Ansible のネットワークロールにその作業を任せることで、ネットワークトポロジーやインベントリーを記述するパーサーテンプレートの設計、コード化、および管理に集中することができます。Ansible Galaxyの「`ネットワーク関連のロール <https://galaxy.ansible.com/ansible-network>`_」を見てください。"
1875
1876#: ../../rst/network/getting_started/network_roles.rst:21
1877msgid "A sample DNS playbook"
1878msgstr "DNS Playbook のサンプル"
1879
1880#: ../../rst/network/getting_started/network_roles.rst:23
1881msgid "To demonstrate the concept of what a role is, the example ``playbook.yml`` below is a single YAML file containing a two-task playbook.  This Ansible Playbook configures the hostname on a Cisco IOS XE device, then it configures the DNS (domain name system) servers."
1882msgstr "ロールの概念を説明するために、下記の例 ``playbook.yml`` は 2 つのタスクの Playbook を含む 1 つの YAML ファイルです。この Ansible Playbook は、Cisco IOS XE デバイスでホスト名を設定してから、DNS (ドメインネームシステム) サーバーを設定します。"
1883
1884#: ../../rst/network/getting_started/network_roles.rst:44
1885msgid "If you run this playbook using the ``ansible-playbook`` command, you'll see the output below.  This example used ``-l`` option to limit the playbook to only executing on the **rtr1** node."
1886msgstr "``ansible-playbook`` コマンドを使用してこの Playbook を実行する場合は、以下の出力が表示されます。この例では、``-l`` オプションを使用して Playbook を **rtr1** ノード上でのみ実行するように制限しています。"
1887
1888#: ../../rst/network/getting_started/network_roles.rst:62
1889msgid "This playbook configured the hostname and DNS servers.  You can verify that configuration on the Cisco IOS XE **rtr1** router:"
1890msgstr "この Playbook はホスト名および DNS サーバーを設定し、Cisco IOS XE **rtr1** ルーターの設定を確認できます。"
1891
1892#: ../../rst/network/getting_started/network_roles.rst:71
1893msgid "Convert the playbook into a role"
1894msgstr "Playbook のロールへの変換"
1895
1896#: ../../rst/network/getting_started/network_roles.rst:73
1897msgid "The next step is to convert this playbook into a reusable role. You can create the directory structure manually, or you can use ``ansible-galaxy init`` to create the standard framework for a role."
1898msgstr "次の手順では、この Playbook を再利用可能なロールに変換します。ディレクトリー構造を手動で作成するか、``ansible-galaxy init`` を使用してロールの標準フレームワークを作成できます。"
1899
1900#: ../../rst/network/getting_started/network_roles.rst:98
1901msgid "This first demonstration uses only the **tasks** and **vars** directories.  The directory structure would look as follows:"
1902msgstr "この最初のデモンストレーションは **tasks** ディレクトリーおよび **vars** ディレクトリーのみを使用します。ディレクトリー構造は以下のようになります。"
1903
1904#: ../../rst/network/getting_started/network_roles.rst:109
1905msgid "Next, move the content of the ``vars`` and ``tasks`` sections from the original Ansible Playbook into the role. First, move the two tasks into the ``tasks/main.yml`` file:"
1906msgstr "次に、元の Ansible Playbook から ``vars`` セクションおよび ``tasks`` セクションの内容をロールに移動します。まず、2 つのタスクを ``tasks/main.yml`` ファイルに移動します。"
1907
1908#: ../../rst/network/getting_started/network_roles.rst:123
1909msgid "Next, move the variables into the ``vars/main.yml`` file:"
1910msgstr "次に、変数を ``vars/main.yml`` ファイルに移動します。"
1911
1912#: ../../rst/network/getting_started/network_roles.rst:131
1913msgid "Finally, modify the original Ansible Playbook to remove the ``tasks`` and ``vars`` sections and add the keyword ``roles``  with the name of the role, in this case ``system-demo``.  You'll have this playbook:"
1914msgstr "最後に、元の Ansible Playbook を変更して ``tasks`` セクションおよび ``vars`` セクションを削除し、ロールの名前 (ここでは ``system-demo``) でキーワード ``roles`` を追加します。これで、Playbook が完成します。"
1915
1916#: ../../rst/network/getting_started/network_roles.rst:144
1917msgid "To summarize, this demonstration now has a total of three directories and three YAML files.  There is the ``system-demo`` folder, which represents the role.  This ``system-demo`` contains two folders, ``tasks`` and ``vars``.  There is a ``main.yml`` is each respective folder.  The ``vars/main.yml`` contains the variables from ``playbook.yml``.  The ``tasks/main.yml`` contains the tasks from ``playbook.yml``.  The ``playbook.yml`` file has been modified to call the role rather than specifying vars and tasks directly.  Here is a tree of the current working directory:"
1918msgstr "要約すると、このデモには合計 3 つのディレクトリーと 3 つの YAML ファイルがあります。ロールを表す ``system-demo`` ディレクトリーがあります。この ``system-demo`` には、``tasks`` および ``vars`` の 2 つのディレクトリーが含まれています。各ディレクトリーに ``main.yml`` があります。``vars/main.yml`` には、``playbook.yml`` の変数が含まれます。``tasks/main.yml`` には、``playbook.yml`` のタスクが含まれます。``playbook.yml`` ファイルは、変数とタスクを直接指定するのではなく、ロールを呼び出すように変更されています。現在の作業ディレクトリーのツリーを次に示します。"
1919
1920#: ../../rst/network/getting_started/network_roles.rst:157
1921msgid "Running the playbook results in identical behavior with slightly different output:"
1922msgstr "Playbook を実行すると、同じ動作で、出力が若干異なります。"
1923
1924#: ../../rst/network/getting_started/network_roles.rst:174
1925msgid "As seen above each task is now prepended with the role name, in this case ``system-demo``.  When running a playbook that contains several roles, this will help pinpoint where a task is being called from.  This playbook returned ``ok`` instead of ``changed`` because it has identical behavior for the single file playbook we started from."
1926msgstr "上記のように、各タスクの先頭にロール名が付加されます (``system-demo`` の場合)。複数のロールを含む Playbook を実行する場合、タスクの呼び出し元を特定するのに役立ちます。このPlaybook は、``changed`` ではなく ``ok`` を返しますが、これは、開始した単一ファイルの Playbook と同じ動作をするためです。"
1927
1928#: ../../rst/network/getting_started/network_roles.rst:176
1929msgid "As before, the playbook will generate the following configuration on a Cisco IOS-XE router:"
1930msgstr "前述のように、Playbook は Cisco IOS-XE ルーターで以下の設定を生成します。"
1931
1932#: ../../rst/network/getting_started/network_roles.rst:185
1933msgid "This is why Ansible roles can be simply thought of as deconstructed playbooks. They are simple, effective and reusable.  Now another user can simply include the ``system-demo`` role instead of having to create a custom \"hard coded\" playbook."
1934msgstr "このため、Ansible ロールは、簡単に言えば、分解された Playbook と考えることができます。ロールは、シンプルで、効果的で、再利用可能です。これで、別のユーザーがカスタムの「ハードコーディングされた」Playbook を作成する代わりに、``system-demo`` ロールを含めるだけで十分となります。"
1935
1936#: ../../rst/network/getting_started/network_roles.rst:188
1937msgid "Variable precedence"
1938msgstr "変数の優先順位"
1939
1940#: ../../rst/network/getting_started/network_roles.rst:190
1941msgid "What if you want to change the DNS servers?  You aren't expected to change the ``vars/main.yml`` within the role structure. Ansible has many places where you can specify variables for a given play. See :ref:`playbooks_variables` for details on variables and precedence. There are actually 21 places to put variables.  While this list can seem overwhelming at first glance, the vast majority of use cases only involve knowing the spot for variables of least precedence and how to pass variables with most precedence. See :ref:`ansible_variable_precedence` for more guidance on where you should put variables."
1942msgstr "DNS サーバーを変更する場合はどうすればよいですか。ロール構造内の ``vars/main.yml`` を変更する必要はありません。Ansible には、特定のプレイの変数を指定できる場所が多数あります。変数と優先順位の詳細は、「:ref:`playbooks_variables`」を参照してください。変数を置く場所は実際には 21 箇所あります。これは一見圧倒されるような数ですが、大半のユースケースでは、優先順位が最も低い変数の場所と、最も優先順位の高い変数を渡す方法を知るだけですみます。変数をどこに置くべきかは、「:ref:`ansible_variable_precedence`」を参照してください。"
1943
1944#: ../../rst/network/getting_started/network_roles.rst:193
1945msgid "Lowest precedence"
1946msgstr "最も低い優先順位"
1947
1948#: ../../rst/network/getting_started/network_roles.rst:195
1949msgid "The lowest precedence is the ``defaults`` directory within a role.  This means all the other 20 locations you could potentially specify the variable will all take higher precedence than ``defaults``, no matter what.  To immediately give the vars from the ``system-demo`` role the least precedence, rename the ``vars`` directory to ``defaults``."
1950msgstr "最も低い優先順位は、ロール内の ``defaults`` ディレクトリーです。つまり、変数を指定できる可能性のある他の 20 箇所はすべて、``defaults`` より優先されます。``system-demo`` ロールの変数の優先順位を直ちに最も低くするには、``vars`` ディレクトリーの名前を ``defaults`` に変更します。"
1951
1952#: ../../rst/network/getting_started/network_roles.rst:207
1953msgid "Add a new ``vars`` section to the playbook to override the default behavior (where the variable ``dns`` is set to 8.8.8.8 and 8.8.4.4).  For this demonstration, set ``dns`` to 1.1.1.1, so ``playbook.yml`` becomes:"
1954msgstr "デフォルトの動作を上書きするために、Playbook に新しい ``vars`` セクションを追加します (ここでは、``dns`` 変数が 8.8.8.8 および 8.8.4.4 に設定されています)。このデモでは、``dns`` を 1.1.1.1 に設定するため、``playbook.yml`` は次のようになります。"
1955
1956#: ../../rst/network/getting_started/network_roles.rst:221
1957msgid "Run this updated playbook on **rtr2**:"
1958msgstr "更新した Playbook を **rtr2** で実行します。"
1959
1960#: ../../rst/network/getting_started/network_roles.rst:227
1961msgid "The configuration on the **rtr2** Cisco router will look as follows:"
1962msgstr "**rtr2** Cisco ルーターの設定は以下のようになります。"
1963
1964#: ../../rst/network/getting_started/network_roles.rst:234
1965msgid "The variable configured in the playbook now has precedence over the ``defaults`` directory.  In fact, any other spot you configure variables would win over the values in the ``defaults`` directory."
1966msgstr "Playbook に設定した変数は、``defaults`` ディレクトリーよりも優先されます。実際には、変数に設定したその他のスポットは、``defaults`` ディレクトリーの値よりも優先されます。"
1967
1968#: ../../rst/network/getting_started/network_roles.rst:237
1969msgid "Highest precedence"
1970msgstr "最も高い優先順位"
1971
1972#: ../../rst/network/getting_started/network_roles.rst:239
1973msgid "Specifying variables in the ``defaults`` directory within a role will always take the lowest precedence, while specifying ``vars`` as extra vars with the ``-e`` or ``--extra-vars=`` will always take the highest precedence, no matter what.  Re-running the playbook with the ``-e`` option overrides both the ``defaults`` directory (8.8.4.4 and 8.8.8.8) as well as the newly created ``vars`` within the playbook that contains the 1.1.1.1 dns server."
1974msgstr "ロール内の ``defaults`` ディレクトリーに変数を指定すると、常に優先順位が最も低くなりますが、``-e`` または ``--extra-vars=`` を使用して追加変数として ``vars`` を指定すると、優先順位が最も高くなります。``-e`` オプションを指定して Playbook を再実行すると、``defaults`` ディレクトリー (8.8.4.4 および 8.8.8.8) だけでなく、1.1.1.1 dns サーバーを含む Playbook 内に新しく作成された ``vars`` も上書きされます。"
1975
1976#: ../../rst/network/getting_started/network_roles.rst:245
1977msgid "The result on the Cisco IOS XE router will only contain the highest precedence setting of 192.168.1.1:"
1978msgstr "Cisco IOS XE ルーターの結果には、優先順位の最も高い 192.168.1.1 設定のみが含まれます。"
1979
1980#: ../../rst/network/getting_started/network_roles.rst:252
1981msgid "How is this useful?  Why should you care?  Extra vars are commonly used by network operators to override defaults.  A powerful example of this is with Red Hat Ansible Tower and the Survey feature.  It is possible through the web UI to prompt a network operator to fill out parameters with a Web form.  This can be really simple for non-technical playbook writers to execute a playbook using their Web browser. See `Ansible Tower Job Template Surveys <https://docs.ansible.com/ansible-tower/latest/html/userguide/workflow_templates.html#surveys>`_ for more details."
1982msgstr "これはどのように役立つのでしょうか。なぜ気にする必要があるのでしょうか。ネットワークオペレーターは通常、追加の変数を使用してデフォルトを上書きします。その良い例は、Red Hat Ansible Tower と Survey 機能です。Web UI を使用して、ネットワークオペレーターに Web フォームでパラメーターの入力を求めることができます。これは、技術に詳しくない Playbook 作成者が Web ブラウザーを使用して Playbook を実行する場合に非常に簡単です。詳細は、「`Ansible Tower ジョブテンプレートサーベイ <https://docs.ansible.com/ansible-tower/latest/html/userguide/workflow_templates.html#surveys>`_」を参照してください。"
1983
1984#: ../../rst/network/getting_started/network_roles.rst:256
1985msgid "Update an installed role"
1986msgstr "インストールされたロールの更新"
1987
1988#: ../../rst/network/getting_started/network_roles.rst:258
1989msgid "The Ansible Galaxy page for a role lists all available versions. To update a locally installed role to a new or different version, use the ``ansible-galaxy install`` command with the version and ``--force`` option. You may also need to manually update any dependent roles to support this version. See the role **Read Me** tab in Galaxy for dependent role minimum version requirements."
1990msgstr "ロールの Ansible Galaxy ページには、使用可能なすべてのバージョンが一覧表示されます。ローカルにインストールされたロールを新しいバージョンまたは別のバージョンに更新するには、``ansible-galaxy install`` コマンドにバージョンおよび ``--force`` オプションを指定して使用します。また、このバージョンをサポートするために、依存ロールを手動で更新しないといけない場合もあります。依存ロールの最小バージョン要件については、Galaxy のロールの「Read Me」タブを参照してください。"
1991
1992#: ../../rst/network/getting_started/network_roles.rst:266
1993msgid "`Ansible Galaxy documentation <https://galaxy.ansible.com/docs/>`_"
1994msgstr "`Ansible Galaxy ドキュメント <https://galaxy.ansible.com/docs/>`_"
1995
1996#: ../../rst/network/getting_started/network_roles.rst:267
1997msgid "Ansible Galaxy user guide"
1998msgstr "Ansible Galaxy ユーザーガイド"
1999
2000#: ../../rst/network/index.rst:7
2001msgid "Ansible for Network Automation"
2002msgstr "ネットワークの自動化における Ansible"
2003
2004#: ../../rst/network/index.rst:9
2005msgid "Ansible Network modules extend the benefits of simple, powerful, agentless automation to network administrators and teams. Ansible Network modules can configure your network stack, test and validate existing network state, and discover and correct network configuration drift."
2006msgstr "Ansible Network モジュールは、シンプルで強力なエージェントレス自動化の利点をネットワーク管理者とチームに拡張します。Ansible Network モジュールは、ネットワークスタックを構成し、既存のネットワーク状態をテストおよび検証し、ネットワーク構成のドリフトを検出して修正できます。"
2007
2008#: ../../rst/network/index.rst:11
2009msgid "If you're new to Ansible, or new to using Ansible for network management, start with :ref:`network_getting_started`. If you are already familiar with network automation with Ansible, see :ref:`network_advanced`."
2010msgstr "Ansible を初めて使用する場合や、ネットワーク管理に Ansible を初めて使用する場合は、:ref:`network_getting_started` から開始します。Ansible とのネットワーク自動化に精通している場合は、「:ref:`network_advanced`」を参照してください。"
2011
2012#: ../../rst/network/index.rst:13
2013msgid "For documentation on using a particular network module, consult the :ref:`list of all network modules<network_modules>`. Network modules for various hardware are supported by different teams including the hardware vendors themselves, volunteers from the Ansible community, and the Ansible Network Team."
2014msgstr "特定のネットワークモジュールの使用に関するドキュメントについては、「:ref:`ネットワークモジュールの一覧<network_modules>`」を参照してください。さまざまなハードウェアのネットワークモジュールが、ハードウェアベンダー自体、Ansible コミュニティーのボランティア、Ansible ネットワークチームなど、さまざまなチームにサポートされています。"
2015
2016#: ../../rst/network/user_guide/cli_parsing.rst:5
2017msgid "Parsing semi-structured text with Ansible"
2018msgstr "Ansible を使用した半構造化テキストの解析"
2019
2020#: ../../rst/network/user_guide/cli_parsing.rst:7
2021msgid "The :ref:`cli_parse <ansible_collections.ansible.netcommon.cli_parse_module>` module parses semi-structured data such as network configurations into structured data to allow programmatic use of the data from that device. You can pull information from a network device and update a CMDB in one playbook. Use cases include automated troubleshooting, creating dynamic documentation, updating IPAM (IP address management) tools and so on."
2022msgstr ":ref:`cli_parse <ansible_collections.ansible.netcommon.cli_parse_module>` モジュールは、ネットワーク構成などの半構造化データを構造化データに解析して、そのデバイスからのデータをプログラムで使用できるようにします。ネットワークデバイスから情報を取得し、1 つの Playbook で CMDB を更新できます。ユースケースには、自動トラブルシューティング、動的ドキュメントの作成、IPAM (IPアドレス管理) ツールの更新などがあります。"
2023
2024#: ../../rst/network/user_guide/cli_parsing.rst:15
2025msgid "Understanding the CLI parser"
2026msgstr "CLI パーサーについて"
2027
2028#: ../../rst/network/user_guide/cli_parsing.rst:17
2029msgid "The `ansible.netcommon <https://galaxy.ansible.com/ansible/netcommon>`_ collection version 1.2.0 or later  includes the :ref:`cli_parse <ansible_collections.ansible.netcommon.cli_parse_module>` module that can run CLI commands and parse the semi-structured text output. You can use the ``cli_parse`` module on a device, host, or platform that only supports a command-line interface and the commands issued return semi-structured text. The ``cli_parse`` module can either run a CLI command on a device and return a parsed result or can simply parse any text document. The ``cli_parse`` module includes cli_parser plugins to interface with a variety of parsing engines."
2030msgstr "`ansible.netcommon <https://galaxy.ansible.com/ansible/netcommon>`_ コレクションバージョン 1.2.0 以降には、CLI コマンドを実行し、半構造化テキスト出力を解析できる :ref:`cli_parse <ansible_collections.ansible.netcommon.cli_parse_module>` モジュールが含まれています。コマンドラインインタフェースのみをサポートするデバイス、ホスト、またはプラットフォームで ``cli_parse`` モジュールを使用でき、実行したコマンドは半構造化テキストを返します。``cli_parse`` モジュールは、デバイス上で CLI コマンドを実行して解析結果を返すことも、単純にテキストドキュメントを解析することもできます。``cli_parse`` モジュールには、さまざまな解析エンジンとのインタフェースとなる cli_parser プラグインが含まれています。"
2031
2032#: ../../rst/network/user_guide/cli_parsing.rst:20
2033msgid "Why parse the text?"
2034msgstr "テキストを解析する理由"
2035
2036#: ../../rst/network/user_guide/cli_parsing.rst:22
2037msgid "Parsing semi-structured data such as network configurations into structured data allows programmatic use of the data from that device. Use cases include automated troubleshooting, creating dynamic documentation, updating IPAM (IP address management) tools and so on. You may prefer to do this with Ansible natively to take advantage of native Ansible constructs such as:"
2038msgstr "ネットワーク構成などの半構造化データを構造化データに解析すると、そのデバイスのデータをプログラムで使用できます。ユースケースには、自動トラブルシューティング、動的ドキュメントの作成、IPAM (IPアドレス管理) ツールの更新などがあります。このような作業は、Ansible でネイティブに行う方が、以下のような Ansible のネイティブな構成を活用できるかもしれません。"
2039
2040#: ../../rst/network/user_guide/cli_parsing.rst:24
2041msgid "The ``when`` clause to conditionally run other tasks or roles"
2042msgstr "他のタスクまたはロールを条件的に実行する ``when`` 句"
2043
2044#: ../../rst/network/user_guide/cli_parsing.rst:25
2045msgid "The ``assert`` module to check configuration and operational state compliance"
2046msgstr "設定と運用状態コンプライアンスを確認するための ``assert`` モジュール"
2047
2048#: ../../rst/network/user_guide/cli_parsing.rst:26
2049msgid "The ``template`` module to generate reports about configuration and operational state information"
2050msgstr "設定および運用の状態情報に関するレポートを生成する ``template`` モジュール"
2051
2052#: ../../rst/network/user_guide/cli_parsing.rst:27
2053msgid "Templates and ``command`` or ``config`` modules to generate host, device, or platform commands or configuration"
2054msgstr "ホスト、デバイス、またはプラットフォームコマンドまたは設定を生成するテンプレートおよび ``command`` モジュールまたは ``config`` モジュール"
2055
2056#: ../../rst/network/user_guide/cli_parsing.rst:28
2057msgid "The current platform ``facts`` modules to supplement native facts information"
2058msgstr "ネイティブファクト情報を補足する現在のプラットフォームの ``facts`` モジュール"
2059
2060#: ../../rst/network/user_guide/cli_parsing.rst:30
2061msgid "By parsing semi-structured text into Ansible native data structures, you can take full advantage of Ansible's network modules and plugins."
2062msgstr "半構造化テキストを Ansible のネイティブデータ構造に解析することで、Ansible のネットワークモジュールおよびプラグインを完全に活用できます。"
2063
2064#: ../../rst/network/user_guide/cli_parsing.rst:34
2065msgid "When not to parse the text"
2066msgstr "テキストを解析しない場合"
2067
2068#: ../../rst/network/user_guide/cli_parsing.rst:36
2069msgid "You should not parse semi-structured text when:"
2070msgstr "以下の場合は、半構造化されたテキストを解析しないでください。"
2071
2072#: ../../rst/network/user_guide/cli_parsing.rst:38
2073msgid "The device, host, or platform has a RESTAPI and returns JSON."
2074msgstr "デバイス、ホスト、またはプラットフォームには RESTAPI があり、JSON を返します。"
2075
2076#: ../../rst/network/user_guide/cli_parsing.rst:39
2077msgid "Existing Ansible facts modules already return the desired data."
2078msgstr "既存の Ansible ファクトモジュールは、すでに必要なデータを返しています。"
2079
2080#: ../../rst/network/user_guide/cli_parsing.rst:40
2081msgid "Ansible network resource modules exist for configuration management of the device and resource."
2082msgstr "デバイスおよびリソースの設定管理には、Ansible ネットワークリソースモジュールがあります。"
2083
2084#: ../../rst/network/user_guide/cli_parsing.rst:43
2085msgid "Parsing the CLI"
2086msgstr "CLI の解析"
2087
2088#: ../../rst/network/user_guide/cli_parsing.rst:45
2089msgid "The ``cli_parse`` module includes the following cli_parsing plugins:"
2090msgstr "``cli_parse`` モジュールには、以下の cli_parsing プラグインが含まれます。"
2091
2092#: ../../rst/network/user_guide/cli_parsing.rst:47
2093msgid "``native``"
2094msgstr "``native``"
2095
2096#: ../../rst/network/user_guide/cli_parsing.rst:48
2097msgid "The native parsing engine built into Ansible and requires no addition python libraries"
2098msgstr "Ansible に組み込まれたネイティブの解析エンジンで、Python ライブラリーを追加する必要はありません。"
2099
2100#: ../../rst/network/user_guide/cli_parsing.rst:49
2101msgid "``xml``"
2102msgstr "``xml``"
2103
2104#: ../../rst/network/user_guide/cli_parsing.rst:50
2105msgid "Convert XML to an Ansible native data structure"
2106msgstr "XML の Ansible ネイティブデータ構造への変換"
2107
2108#: ../../rst/network/user_guide/cli_parsing.rst:51
2109msgid "``textfsm``"
2110msgstr "``textfsm``"
2111
2112#: ../../rst/network/user_guide/cli_parsing.rst:52
2113msgid "A python module which implements a template based state machine for parsing semi-formatted text"
2114msgstr "半フォーマット化テキストを解析するためにテンプレートベースの状態マシンを実装する Python モジュール"
2115
2116#: ../../rst/network/user_guide/cli_parsing.rst:53
2117msgid "``ntc_templates``"
2118msgstr "``ntc_templates``"
2119
2120#: ../../rst/network/user_guide/cli_parsing.rst:54
2121msgid "Predefined ``textfsm`` templates packages supporting a variety of platforms and commands"
2122msgstr "さまざまなプラットフォームおよびコマンドをサポートする事前定義された ``textfsm`` テンプレートパッケージ"
2123
2124#: ../../rst/network/user_guide/cli_parsing.rst:55
2125msgid "``ttp``"
2126msgstr "``ttp``"
2127
2128#: ../../rst/network/user_guide/cli_parsing.rst:56
2129msgid "A library for semi-structured text parsing using templates, with added capabilities to simplify the process"
2130msgstr "処理を簡略化する機能が追加されている、テンプレートを利用した半構造化テキストの解析用ライブラリー"
2131
2132#: ../../rst/network/user_guide/cli_parsing.rst:57
2133msgid "``pyats``"
2134msgstr "``pyats``"
2135
2136#: ../../rst/network/user_guide/cli_parsing.rst:58
2137msgid "Uses the parsers included with the Cisco Test Automation & Validation Solution"
2138msgstr "Cisco Test Automation & Validation Solution に含まれるパーサーを使用します。"
2139
2140#: ../../rst/network/user_guide/cli_parsing.rst:59
2141msgid "``jc``"
2142msgstr "``jc``"
2143
2144#: ../../rst/network/user_guide/cli_parsing.rst:60
2145msgid "A python module that converts the output of dozens of popular Linux/UNIX/macOS/Windows commands and file types to python dictionaries or lists of dictionaries. Note: this filter plugin can be found in the ``community.general`` collection."
2146msgstr "多数の一般的な Linux/UNIX/macOS/Windows コマンドとファイルタイプの出力を python ディクショナリーまたはディクショナリーの一覧に変換する Python モジュール。このフィルタープラグインは ``community.general`` コレクションにあります。"
2147
2148#: ../../rst/network/user_guide/cli_parsing.rst:62
2149msgid "``json``"
2150msgstr "``json``"
2151
2152#: ../../rst/network/user_guide/cli_parsing.rst:62
2153msgid "Converts JSON output at the CLI to an Ansible native data structure"
2154msgstr "CLI での JSON 出力を Ansible ネイティブデータ構造に変換"
2155
2156#: ../../rst/network/user_guide/cli_parsing.rst:64
2157#: ../../rst/network/user_guide/cli_parsing.rst:614
2158msgid "Although Ansible contains a number of plugins that can convert XML to Ansible native data structures, the ``cli_parse`` module runs the command on devices that return XML and returns the converted data in a single task."
2159msgstr "Ansible には、XML を Ansible のネイティブデータ構造に変換できる多数のプラグインが含まれていますが、``cli_parse`` モジュールは XML を返すデバイスでコマンドを実行し、変換されたデータを 1 つのタスクで返します。"
2160
2161#: ../../rst/network/user_guide/cli_parsing.rst:66
2162msgid "Because ``cli_parse`` uses a plugin based architecture, it can use additional parsing engines from any Ansible collection."
2163msgstr "``cli_parse`` はプラグインベースのアーキテクチャーを使用するため、任意の Ansible コレクションから追加の解析エンジンを使用できます。"
2164
2165#: ../../rst/network/user_guide/cli_parsing.rst:70
2166msgid "The ``ansible.netcommon.native``  and ``ansible.netcommon.json`` parsing engines are fully supported with a Red Hat Ansible Automation Platform subscription. Red Hat Ansible Automation Platform subscription support is limited to the use of the ``ntc_templates``, pyATS, ``textfsm``, ``xmltodict``, public APIs as documented."
2167msgstr "解析エンジン ``ansible.netcommon.native`` および ``ansible.netcommon.json`` は、Red Hat Ansible Automation Platform サブスクリプションで完全にサポートされています。Red Hat Ansible Automation Platform サブスクリプションのサポートは、ドキュメントに記載されているように、``ntc_templates``、pyATS、``textfsm``、``xmltodict``、パブリック APIの使用に限定されます。"
2168
2169#: ../../rst/network/user_guide/cli_parsing.rst:73
2170msgid "Parsing with the native parsing engine"
2171msgstr "ネイティブ解析エンジンを使用した解析"
2172
2173#: ../../rst/network/user_guide/cli_parsing.rst:75
2174msgid "The native parsing engine is included with the ``cli_parse`` module. It uses data captured using regular expressions to populate the parsed data structure. The native parsing engine requires a YAML template file to parse the command output."
2175msgstr "ネイティブ解析エンジンは ``cli_parse`` モジュールに含まれています。正規表現を使用して取得されたデータを使用して、解析されたデータ構造を生成します。ネイティブ解析エンジンでは、コマンド出力を解析するために YAML テンプレートファイルが必要です。"
2176
2177#: ../../rst/network/user_guide/cli_parsing.rst:78
2178msgid "Networking example"
2179msgstr "ネットワークの例"
2180
2181#: ../../rst/network/user_guide/cli_parsing.rst:80
2182msgid "This example uses the output of a network device command and applies a native template to produce an output in Ansible structured data format."
2183msgstr "この例では、ネットワークデバイスコマンドの出力を使用し、ネイティブテンプレートを適用して Ansible 構造のデータ形式で出力を生成します。"
2184
2185#: ../../rst/network/user_guide/cli_parsing.rst:82
2186msgid "The ``show interface`` command output from the network device looks as follows:"
2187msgstr "ネットワークデバイスからの ``show interface`` コマンドの出力は以下のようになります。"
2188
2189#: ../../rst/network/user_guide/cli_parsing.rst:106
2190msgid "Create the native template to match this output and store it as ``templates/nxos_show_interface.yaml``:"
2191msgstr "この出力に一致するネイティブテンプレートを作成し、これを ``templates/nxos_show_interface.yaml`` として保存します。"
2192
2193#: ../../rst/network/user_guide/cli_parsing.rst:136
2194msgid "This native parser template is structured as a list of parsers, each containing the following key-value pairs:"
2195msgstr "このネイティブパーサーテンプレートはパーサーのリストとして構成され、それぞれに以下のキーと値のペアが含まれます。"
2196
2197#: ../../rst/network/user_guide/cli_parsing.rst:138
2198msgid "``example`` - An example line of the text line to be parsed"
2199msgstr "``example`` - 解析対象となるテキスト行の一例"
2200
2201#: ../../rst/network/user_guide/cli_parsing.rst:139
2202msgid "``getval`` - A regular expression using named capture groups to store the extracted data"
2203msgstr "``getval`` - 展開したデータを保存するために名前付きキャプチャーグループを使用した正規表現"
2204
2205#: ../../rst/network/user_guide/cli_parsing.rst:140
2206msgid "``result`` - A data tree, populated as a template, from the parsed data"
2207msgstr "``result`` - 解析されたデータからテンプレートとして生成されたデータツリー"
2208
2209#: ../../rst/network/user_guide/cli_parsing.rst:141
2210msgid "``shared`` - (optional) The shared key makes the parsed values available to the rest of the parser entries until matched again."
2211msgstr "``shared`` - (任意) 共有キーは、再一致するまで、残りのパーサーエントリーに解析された値を利用できるようにします。"
2212
2213#: ../../rst/network/user_guide/cli_parsing.rst:143
2214msgid "The following example task uses ``cli_parse`` with the native parser and the example template above to parse the ``show interface`` command from a Cisco NXOS device:"
2215msgstr "以下のタスク例では、ネイティブパーサーで ``cli_parse`` と上記のテンプレートのサンプルを使用して、Cisco NXOS デバイスからの ``show interface`` コマンドを解析します。"
2216
2217#: ../../rst/network/user_guide/cli_parsing.rst:154
2218#: ../../rst/network/user_guide/cli_parsing.rst:302
2219#: ../../rst/network/user_guide/cli_parsing.rst:328
2220#: ../../rst/network/user_guide/cli_parsing.rst:388
2221#: ../../rst/network/user_guide/cli_parsing.rst:497
2222msgid "Taking a deeper dive into this task:"
2223msgstr "このタスクをより深く掘り下げます。"
2224
2225#: ../../rst/network/user_guide/cli_parsing.rst:156
2226msgid "The ``command`` option provides the command you want to run on the device or host. Alternately, you can provide text from a previous command with the ``text`` option instead."
2227msgstr "``command`` オプションは、デバイスまたはホストで実行するコマンドを提供します。代わりに、``text`` オプションを指定して、前のコマンドのテキストを指定することもできます。"
2228
2229#: ../../rst/network/user_guide/cli_parsing.rst:157
2230msgid "The ``parser`` option provides information specific to the parser engine."
2231msgstr "``parser`` オプションは、パーサーエンジンに固有の情報を提供します。"
2232
2233#: ../../rst/network/user_guide/cli_parsing.rst:158
2234msgid "The ``name`` suboption provides the fully qualified collection name (FQCN) of the parsing engine (``ansible.netcommon.native``)."
2235msgstr "``name`` サブオプションは、解析エンジン (``ansible.netcommon.native``) の完全修飾コレクション名 (FQCN) を提供します。"
2236
2237#: ../../rst/network/user_guide/cli_parsing.rst:159
2238msgid "The ``cli_parse`` module, by default, looks for the template in the templates directory as ``{{ short_os }}_{{ command }}.yaml``."
2239msgstr "デフォルトでは、``cli_parse`` モジュールは、templates ディレクトリーで ``{{ short_os }}_{{ command }}.yaml`` と指定してテンプレートを検索します。"
2240
2241#: ../../rst/network/user_guide/cli_parsing.rst:161
2242msgid "The ``short_os`` in the template filename is derived from either the host ``ansible_network_os`` or ``ansible_distribution``."
2243msgstr "テンプレートファイル名の ``short_os`` は、ホストの ``ansible_network_os`` または ``ansible_distribution`` から派生します。"
2244
2245#: ../../rst/network/user_guide/cli_parsing.rst:162
2246msgid "Spaces in the network or host command are replace with ``_`` in the ``command`` portion of the template filename. In this example, the ``show interfaces`` network CLI command becomes ``show_interfaces`` in the filename."
2247msgstr "network または host コマンドのスペースは、テンプレートファイル名の ``command`` 部分にある ``_`` に置き換えます。この例では、``show interfaces`` network CLI コマンドはファイル名の ``show_interfaces`` になります。"
2248
2249#: ../../rst/network/user_guide/cli_parsing.rst:166
2250msgid "``ansible.netcommon.native`` parsing engine is fully supported with a Red Hat Ansible Automation Platform subscription."
2251msgstr "``ansible.netcommon.native`` エンジンの解析は、Red Hat Ansible Automation Platform サブスクリプションで完全にサポートされています。"
2252
2253#: ../../rst/network/user_guide/cli_parsing.rst:168
2254msgid "Lastly in this task, the ``set_fact`` option sets the following ``interfaces`` fact for the device based on the now-structured data returned from ``cli_parse``:"
2255msgstr "このタスクの最後で、``set_fact`` オプションは、``interfaces`` から返された現在構造化されているデータに基づいて、デバイスに以下の ``cli_parse`` ファクトを設定します。"
2256
2257#: ../../rst/network/user_guide/cli_parsing.rst:186
2258msgid "Linux example"
2259msgstr "Linux の例"
2260
2261#: ../../rst/network/user_guide/cli_parsing.rst:188
2262msgid "You can also use the native parser to run commands and parse output from Linux hosts."
2263msgstr "ネイティブパーサーを使用してコマンドを実行し、Linux ホストからの出力を解析することもできます。"
2264
2265#: ../../rst/network/user_guide/cli_parsing.rst:190
2266msgid "The output of a sample Linux  command (``ip addr show``) looks as follows:"
2267msgstr "Linux コマンドの出力例 (``ip addr show``) は以下のようになります。"
2268
2269#: ../../rst/network/user_guide/cli_parsing.rst:205
2270msgid "Create the native template to match this output and store it as ``templates/fedora_ip_addr_show.yaml``:"
2271msgstr "この出力に一致するネイティブテンプレートを作成し、これを ``templates/fedora_ip_addr_show.yaml`` として保存します。"
2272
2273#: ../../rst/network/user_guide/cli_parsing.rst:243
2274msgid "The ``shared`` key in the parser template allows the interface name to be used in subsequent parser entries. The use of examples and free-spacing mode with the regular expressions makes the template easier to read."
2275msgstr "パーサーテンプレートの ``shared`` キーを使用すると、インターフェース名を後続のパーサーエントリーで使用できます。正規表現で例とフリースペースモードを使用すると、テンプレートが読みやすくなります。"
2276
2277#: ../../rst/network/user_guide/cli_parsing.rst:245
2278msgid "The following example task uses ``cli_parse`` with the native parser and the example template above to parse the Linux output:"
2279msgstr "以下のタスク例では、ネイティブパーサーのある ``cli_parse`` と、上記のサンプルテンプレートを使用して Linux の出力を解析します。"
2280
2281#: ../../rst/network/user_guide/cli_parsing.rst:256
2282msgid "This task assumes you previously gathered facts to determine the ``ansible_distribution`` needed to locate the template. Alternately, you could provide the path in the  ``parser/template_path`` option."
2283msgstr "このタスクでは、以前にファクトを収集してテンプレートを見つけるのに必要な ``ansible_distribution`` を決定することを仮定しています。あるいは、``parser/template_path`` オプションでパスを指定することもできます。"
2284
2285#: ../../rst/network/user_guide/cli_parsing.rst:259
2286msgid "Lastly in this task, the ``set_fact`` option sets the following ``interfaces`` fact for the host, based on the now-structured data returned from ``cli_parse``:"
2287msgstr "このタスクの最後で、``set_fact`` オプションは、``interfaces`` から返された現在構造化されているデータに基づいて、ホストに以下の ``cli_parse`` ファクトを設定します。"
2288
2289#: ../../rst/network/user_guide/cli_parsing.rst:287
2290msgid "Parsing JSON"
2291msgstr "JSON の解析"
2292
2293#: ../../rst/network/user_guide/cli_parsing.rst:289
2294msgid "Although Ansible will natively convert serialized JSON to Ansible native data when recognized, you can also use the ``cli_parse`` module for this conversion."
2295msgstr "Ansible は、認識時にシリアライズされた JSON を Ansible ネイティブデータに変換しますが、この変換に ``cli_parse`` モジュールを使用することもできます。"
2296
2297#: ../../rst/network/user_guide/cli_parsing.rst:291
2298#: ../../rst/network/user_guide/cli_parsing.rst:317
2299#: ../../rst/network/user_guide/cli_parsing.rst:376
2300msgid "Example task:"
2301msgstr "タスクの例:"
2302
2303#: ../../rst/network/user_guide/cli_parsing.rst:304
2304msgid "The ``show interface | json`` command is issued on the device."
2305msgstr "``show interface | json`` コマンドはデバイスで発行されます。"
2306
2307#: ../../rst/network/user_guide/cli_parsing.rst:305
2308msgid "The output is set as the ``interfaces`` fact for the device."
2309msgstr "この出力は、デバイスの ``interfaces`` ファクトとして設定されます。"
2310
2311#: ../../rst/network/user_guide/cli_parsing.rst:306
2312msgid "JSON support is provided primarily for playbook consistency."
2313msgstr "JSON のサポートは、主に Playbook の一貫性のために提供されています。"
2314
2315#: ../../rst/network/user_guide/cli_parsing.rst:310
2316msgid "The use of ``ansible.netcommon.json`` is fully supported with a Red Hat Ansible Automation Platform subscription"
2317msgstr "``ansible.netcommon.json`` の使用は、Red Hat Ansible Automation Platform サブスクリプションで完全にサポートされています。"
2318
2319#: ../../rst/network/user_guide/cli_parsing.rst:313
2320msgid "Parsing with ntc_templates"
2321msgstr "ntc_templates での解析"
2322
2323#: ../../rst/network/user_guide/cli_parsing.rst:315
2324msgid "The ``ntc_templates`` python library includes pre-defined ``textfsm`` templates for parsing a variety of network device commands output."
2325msgstr "``ntc_templates`` python ライブラリーには、さまざまなネットワークデバイスコマンドの出力を解析する事前定義済みの ``textfsm`` テンプレートが含まれています。"
2326
2327#: ../../rst/network/user_guide/cli_parsing.rst:330
2328msgid "The ``ansible_network_os`` of the device is converted to the ntc_template format ``cisco_nxos``. Alternately, you can provide the ``os`` with the ``parser/os`` option instead."
2329msgstr "デバイスの ``ansible_network_os`` は ntc_template 形式 ``cisco_nxos`` に変換されますが、代わりに ``parser/os`` オプションで ``os`` を指定することもできます。"
2330
2331#: ../../rst/network/user_guide/cli_parsing.rst:331
2332msgid "The ``cisco_nxos_show_interface.textfsm`` template, included with the ``ntc_templates`` package, parses the output."
2333msgstr "``cisco_nxos_show_interface.textfsm`` パッケージに含まれる ``ntc_templates`` テンプレートは、出力を解析します。"
2334
2335#: ../../rst/network/user_guide/cli_parsing.rst:332
2336msgid "See `the ntc_templates README <https://github.com/networktocode/ntc-templates/blob/master/README.md>`_ for additional information about the ``ntc_templates`` python library."
2337msgstr "``ntc_templates`` python ライブラリーに関する追加情報は、`ntc_templates の「README」 <https://github.com/networktocode/ntc-templates/blob/master/README.md>`_ を参照してください。"
2338
2339#: ../../rst/network/user_guide/cli_parsing.rst:336
2340msgid "Red Hat Ansible Automation Platform subscription support is limited to the use of the ``ntc_templates`` public APIs as documented."
2341msgstr "Red Hat Ansible Automation Platform のサブスクリプションのサポートは、文書化されている ``ntc_templates`` パブリック API の使用に限定されます。"
2342
2343#: ../../rst/network/user_guide/cli_parsing.rst:339
2344msgid "This task and and the predefined template sets the following fact as the ``interfaces`` fact for the host:"
2345msgstr "このタスクおよび事前定義されたテンプレートは、以下のファクトをホストの ``interfaces`` ファクトとして設定します。"
2346
2347#: ../../rst/network/user_guide/cli_parsing.rst:372
2348msgid "Parsing with pyATS"
2349msgstr "pyATS での解析"
2350
2351#: ../../rst/network/user_guide/cli_parsing.rst:374
2352msgid "``pyATS`` is part of the Cisco Test Automation & Validation Solution. It includes many predefined parsers for a number of network platforms and commands. You can use the predefined parsers that are part of the ``pyATS`` package with the ``cli_parse`` module."
2353msgstr "``pyATS`` は、Cisco Test Automation & Validation Solution の一部です。これには、多数のネットワークプラットフォームおよびコマンド用の定義済みパーサーが多数含まれています。``cli_parse`` モジュールでは、``pyATS`` パッケージに同梱される定義済みパーサーを使用できます。"
2354
2355#: ../../rst/network/user_guide/cli_parsing.rst:390
2356msgid "The ``cli_parse`` modules converts the ``ansible_network_os`` automatically (in this example, ``ansible_network_os`` set to ``cisco.nxos.nxos``, converts to ``nxos`` for pyATS.  Alternately, you can set the OS with the ``parser/os`` option instead."
2357msgstr "``cli_parse`` モジュールは、自動的に ``ansible_network_os`` を変換します (この例では、``ansible_network_os`` は ``cisco.nxos.nxos`` に設定されていますが、pyATS の場合は ``nxos`` に変換されます。代わりに、``parser/os`` オプションを使用して OS を設定することもできます)。"
2358
2359#: ../../rst/network/user_guide/cli_parsing.rst:391
2360#, python-format
2361msgid "Using a combination of the command and OS, the pyATS selects the following parser: https://pubhub.devnetcloud.com/media/genie-feature-browser/docs/#/parsers/show%2520interface."
2362msgstr "コマンドと OS の組み合わせを使用して、pyATS がパーサー (https://pubhub.devnetcloud.com/media/genie-feature-browser/docs/#/parsers/show%2520interface) を選択します。"
2363
2364#: ../../rst/network/user_guide/cli_parsing.rst:392
2365msgid "The ``cli_parse`` module sets ``cisco.ios.ios`` to ``iosxe`` for pyATS. You can override this with the ``parser/os`` option."
2366msgstr "``cli_parse`` モジュールは、pyATS に対して ``cisco.ios.ios`` を ``iosxe`` に設定します。``parser/os`` オプションでこれを上書きできます。"
2367
2368#: ../../rst/network/user_guide/cli_parsing.rst:393
2369msgid "``cli_parse`` only uses the predefined parsers in pyATS. See the `pyATS documentation <https://developer.cisco.com/docs/pyats/>`_ and the full list of `pyATS included parsers <https://pubhub.devnetcloud.com/media/genie-feature-browser/docs/#/parsers>`_."
2370msgstr "``cli_parse`` は pyATS の定義済みパーサーのみを使用します。`pyATS ドキュメント <https://developer.cisco.com/docs/pyats/>`_ と、`pyATS が含まれるパーサー <https://pubhub.devnetcloud.com/media/genie-feature-browser/docs/#/parsers>`_ の完全なリストを参照してください。"
2371
2372#: ../../rst/network/user_guide/cli_parsing.rst:397
2373msgid "Red Hat Ansible Automation Platform subscription support is limited to the use of the pyATS public APIs as documented."
2374msgstr "Red Hat Ansible Automation Platform のサブスクリプションサポートは、文書化されている pyATS パブリック API の使用に限定されます。"
2375
2376#: ../../rst/network/user_guide/cli_parsing.rst:400
2377#: ../../rst/network/user_guide/cli_parsing.rst:508
2378msgid "This task sets the following fact as the ``interfaces`` fact for the host:"
2379msgstr "このタスクは、ホストの ``interfaces`` ファクトとして以下のファクトを設定します。"
2380
2381#: ../../rst/network/user_guide/cli_parsing.rst:438
2382msgid "Parsing with textfsm"
2383msgstr "textfsm で解析"
2384
2385#: ../../rst/network/user_guide/cli_parsing.rst:440
2386msgid "``textfsm`` is a Python module which implements a template-based state machine for parsing semi-formatted text."
2387msgstr "``textfsm`` は、半フォーマットのテキストを解析するためにテンプレートベースの状態マシンを実装する Python モジュールです。"
2388
2389#: ../../rst/network/user_guide/cli_parsing.rst:442
2390msgid "The following sample``textfsm`` template is stored as ``templates/nxos_show_interface.textfsm``"
2391msgstr "以下のサンプル ``textfsm`` テンプレートは、``templates/nxos_show_interface.textfsm`` の形式で保存されます。"
2392
2393#: ../../rst/network/user_guide/cli_parsing.rst:486
2394msgid "The following task uses the example template for ``textfsm`` with the ``cli_parse`` module."
2395msgstr "以下のタスクでは、``textfsm`` モジュールで ``cli_parse`` のサンプルテンプレートを使用します。"
2396
2397#: ../../rst/network/user_guide/cli_parsing.rst:499
2398msgid "The ``ansible_network_os`` for the device (``cisco.nxos.nxos``) is converted to ``nxos``. Alternately you can provide the OS in the ``parser/os`` option instead."
2399msgstr "デバイスの ``ansible_network_os`` (``cisco.nxos.nxos``) は ``nxos`` に変換されます。代わりに ``parser/os`` オプションに OS を指定することもできます。"
2400
2401#: ../../rst/network/user_guide/cli_parsing.rst:500
2402msgid "The textfsm template name defaulted to ``templates/nxos_show_interface.textfsm`` using a combination of the OS and command run. Alternately you can override the generated template path with the ``parser/template_path`` option."
2403msgstr "textfsm のテンプレート名は、OS とコマンドランの組み合わせにより、デフォルトで``templates/nxos_show_interface.textfsm`` となっています。また、``parser/template_path`` オプションで、生成されたテンプレートのパスを上書きすることもできます。"
2404
2405#: ../../rst/network/user_guide/cli_parsing.rst:501
2406msgid "See the `textfsm README <https://github.com/google/textfsm>`_ for details."
2407msgstr "詳細は、`textfsm README <https://github.com/google/textfsm>`_ を参照してください。"
2408
2409#: ../../rst/network/user_guide/cli_parsing.rst:502
2410msgid "``textfsm`` was previously made available as a filter plugin. Ansible users should transition to the ``cli_parse`` module."
2411msgstr "``textfsm`` は、以前はフィルタープラグインとして利用できました。Ansible ユーザーは、``cli_parse`` モジュールに移行する必要があります。"
2412
2413#: ../../rst/network/user_guide/cli_parsing.rst:506
2414msgid "Red Hat Ansible Automation Platform subscription support is limited to the use of the ``textfsm`` public APIs as documented."
2415msgstr "Red Hat Ansible Automation Platform のサブスクリプションのサポートは、文書化されている ``textfsm`` パブリック API の使用に限定されます。"
2416
2417#: ../../rst/network/user_guide/cli_parsing.rst:539
2418msgid "Parsing with TTP"
2419msgstr "TTP での解析"
2420
2421#: ../../rst/network/user_guide/cli_parsing.rst:541
2422msgid "TTP is a Python library for semi-structured text parsing using templates. TTP uses a jinja-like syntax to limit the need for regular expressions. Users familiar with jinja templating may find the TTP template syntax familiar."
2423msgstr "TTP は、テンプレートを使用した半構造化テキスト解析用の Python ライブラリーです。TTP は、正規表現の必要性を制限するために、jinja に似た構文を使用します。jinja のテンプレート化に精通しているユーザーは、TTP テンプレートの構文に親しみを感じるかもしれません。"
2424
2425#: ../../rst/network/user_guide/cli_parsing.rst:543
2426msgid "The following is an example TTP template stored as ``templates/nxos_show_interface.ttp``:"
2427msgstr "以下は、``templates/nxos_show_interface.ttp`` として保存された TTP テンプレートの例です。"
2428
2429#: ../../rst/network/user_guide/cli_parsing.rst:550
2430msgid "The following task uses this template to parse the ``show interface`` command output:"
2431msgstr "以下のタスクでは、このテンプレートを使用して ``show interface`` コマンドの出力を解析します。"
2432
2433#: ../../rst/network/user_guide/cli_parsing.rst:561
2434msgid "Taking a deeper dive in this task:"
2435msgstr "このタスクをより深く掘り下げます。"
2436
2437#: ../../rst/network/user_guide/cli_parsing.rst:563
2438msgid "The default template path ``templates/nxos_show_interface.ttp`` was generated using the ``ansible_network_os`` for the host and ``command`` provided."
2439msgstr "デフォルトのテンプレートパス ``templates/nxos_show_interface.ttp`` は、ホストの ``ansible_network_os`` と、指定した ``command`` を使用して生成されました。"
2440
2441#: ../../rst/network/user_guide/cli_parsing.rst:564
2442msgid "TTP supports several additional variables that will be passed to the parser. These include:"
2443msgstr "TTP は、パーサーに渡される追加変数をサポートします。これには以下が含まれます。"
2444
2445#: ../../rst/network/user_guide/cli_parsing.rst:566
2446msgid "``parser/vars/ttp_init`` -  Additional parameter passed when the parser is initialized."
2447msgstr "``parser/vars/ttp_init`` - パーサーの初期化時に渡される追加のパラメーター。"
2448
2449#: ../../rst/network/user_guide/cli_parsing.rst:567
2450msgid "``parser/vars/ttp_results`` -  Additional parameters used to influence the parser output."
2451msgstr "``parser/vars/ttp_results`` - パーサーの出力に影響を与えるために使用される追加のパラメーター。"
2452
2453#: ../../rst/network/user_guide/cli_parsing.rst:568
2454msgid "``parser/vars/ttp_vars`` -  Additional variables made available in the template."
2455msgstr "``parser/vars/ttp_vars`` - テンプレートで利用可能な追加の変数"
2456
2457#: ../../rst/network/user_guide/cli_parsing.rst:570
2458msgid "See the `TTP documentation <https://ttp.readthedocs.io>`_ for details."
2459msgstr "詳細は、`TTP documentation <https://ttp.readthedocs.io>`_ を参照してください。"
2460
2461#: ../../rst/network/user_guide/cli_parsing.rst:573
2462msgid "The task sets the follow fact as the ``interfaces`` fact for the host:"
2463msgstr "このタスクは、ホストの ``interfaces`` ファクトとして follow ファクトを設定します。"
2464
2465#: ../../rst/network/user_guide/cli_parsing.rst:589
2466msgid "Parsing with JC"
2467msgstr "JC での解析"
2468
2469#: ../../rst/network/user_guide/cli_parsing.rst:591
2470msgid "JC is a python library that converts the output of dozens of common Linux/UNIX/macOS/Windows command-line tools and file types to python dictionaries or lists of dictionaries for easier parsing. JC is available as a filter plugin in the ``community.general`` collection."
2471msgstr "JC は、多数の一般的な Linux/UNIX/macOS/Windows コマンドラインツールおよびファイルタイプの出力を python ディクショナリーまたはディクショナリーの一覧に変換する python ライブラリーです。JC は、``community.general`` コレクションのフィルタープラグインとして利用できます。"
2472
2473#: ../../rst/network/user_guide/cli_parsing.rst:593
2474msgid "The following is an example using JC to parse the output of the ``dig`` command:"
2475msgstr "以下は、JC を使用して ``dig`` コマンドの出力を解析した例です。"
2476
2477#: ../../rst/network/user_guide/cli_parsing.rst:607
2478msgid "The JC project and documentation can be found `here <https://github.com/kellyjonbrazil/jc/>`_."
2479msgstr "JC プロジェクトおよびドキュメントは `here <https://github.com/kellyjonbrazil/jc/>`_ にあります。"
2480
2481#: ../../rst/network/user_guide/cli_parsing.rst:608
2482msgid "See this `blog entry <https://blog.kellybrazil.com/2020/08/30/parsing-command-output-in-ansible-with-jc/>`_ for more information."
2483msgstr "詳細は、`ブログ記事 <https://blog.kellybrazil.com/2020/08/30/parsing-command-output-in-ansible-with-jc/>` を参照してください。"
2484
2485#: ../../rst/network/user_guide/cli_parsing.rst:612
2486msgid "Converting XML"
2487msgstr "XML の変換"
2488
2489#: ../../rst/network/user_guide/cli_parsing.rst:616
2490msgid "This example task runs the ``show interface`` command and parses the output as XML:"
2491msgstr "このサンプルタスクでは、``show interface`` コマンドを実行し、出力を XML として解析します。"
2492
2493#: ../../rst/network/user_guide/cli_parsing.rst:629
2494msgid "Red Hat Ansible Automation Platform subscription support is limited to the use of the ``xmltodict`` public APIs as documented."
2495msgstr "Red Hat Ansible Automation Platform のサブスクリプションのサポートは、文書化されている ``xmltodict`` パブリック API の使用に限定されます。"
2496
2497#: ../../rst/network/user_guide/cli_parsing.rst:631
2498msgid "This task sets the ``interfaces`` fact for the host based on this returned output:"
2499msgstr "このタスクは、返された出力に基づいてホストの ``interfaces`` ファクトを設定します。"
2500
2501#: ../../rst/network/user_guide/cli_parsing.rst:654
2502msgid "Advanced use cases"
2503msgstr "高度なユースケース"
2504
2505#: ../../rst/network/user_guide/cli_parsing.rst:656
2506msgid "The ``cli_parse`` module supports several features to support more complex uses cases."
2507msgstr "``cli_parse`` モジュールは、より複雑なユースケースをサポートする複数の機能をサポートします。"
2508
2509#: ../../rst/network/user_guide/cli_parsing.rst:659
2510msgid "Provide a full template path"
2511msgstr "完全なテンプレートパスを提供"
2512
2513#: ../../rst/network/user_guide/cli_parsing.rst:661
2514msgid "Use the ``template_path`` option to override the default template path in the task:"
2515msgstr "``template_path`` オプションを使用して、タスクのデフォルトのテンプレートパスを上書きします。"
2516
2517#: ../../rst/network/user_guide/cli_parsing.rst:674
2518msgid "Provide command to parser different than the command run"
2519msgstr "コマンド実行以外のパーサーを行うコマンドを指定"
2520
2521#: ../../rst/network/user_guide/cli_parsing.rst:676
2522msgid "Use the ``command`` suboption for the ``parser`` to configure the command the parser expects if it is different from the command ``cli_parse`` runs:"
2523msgstr "``parser`` の ``command`` サブオプションを使用して、``cli_parse`` コマンドの実行とは異なる場合にパーサーが想定するコマンドを設定します。"
2524
2525#: ../../rst/network/user_guide/cli_parsing.rst:688
2526msgid "Provide a custom OS value"
2527msgstr "カスタム OS 値を指定"
2528
2529#: ../../rst/network/user_guide/cli_parsing.rst:690
2530msgid "Use the ``os`` suboption to the parser to directly set the OS instead of using ``ansible_network_os`` or ``ansible_distribution`` to generate the template path or with the specified parser engine:"
2531msgstr "テンプレートパスを生成する ``ansible_network_os`` や ``ansible_distribution``、または指定したパーサーエンジンを使用する代わりに、OS を直接設定するパーサーに ``os`` サブオプションを使用します。"
2532
2533#: ../../rst/network/user_guide/cli_parsing.rst:710
2534msgid "Parse existing text"
2535msgstr "既存テキストの解析"
2536
2537#: ../../rst/network/user_guide/cli_parsing.rst:712
2538msgid "Use the ``text`` option  instead of ``command`` to parse text collected earlier in the playbook."
2539msgstr "``command`` の代わりに ``text`` オプションを使用して、Playbook で以前に収集したテキストを解析します。"
2540
2541#: ../../rst/network/user_guide/cli_parsing.rst:744
2542msgid ":ref:`develop_cli_parse_plugins`"
2543msgstr ":ref:`develop_cli_parse_plugins`"
2544
2545#: ../../rst/network/user_guide/faq.rst:5
2546msgid "Ansible Network FAQ"
2547msgstr "Ansible Network FAQ"
2548
2549#: ../../rst/network/user_guide/faq.rst:7
2550msgid "Topics"
2551msgstr "トピック"
2552
2553#: ../../rst/network/user_guide/faq.rst:12
2554msgid "How can I improve performance for network playbooks?"
2555msgstr "ネットワークの Playbook のパフォーマンスを改善するにはどうすればよいですか"
2556
2557#: ../../rst/network/user_guide/faq.rst:17
2558msgid "Consider ``strategy: free`` if you are running on multiple hosts"
2559msgstr "複数のホストで実行している場合は ``strategy: free`` について検討してください。"
2560
2561#: ../../rst/network/user_guide/faq.rst:19
2562msgid "The ``strategy`` plugin tells Ansible how to order multiple tasks on multiple hosts. :ref:`Strategy<strategy_plugins>` is set at the playbook level."
2563msgstr "``strategy`` プラグインは、Ansible に対して複数のホストで複数のタスクを順序付ける方法を示します。:ref:`Strategy<strategy_plugins>` は Playbook レベルで設定されます。"
2564
2565#: ../../rst/network/user_guide/faq.rst:21
2566msgid "The default strategy is ``linear``. With strategy set to ``linear``, Ansible waits until the current task has run on all hosts before starting the next task on any host. Ansible may have forks free, but will not use them until all hosts have completed the current task. If each task in your playbook must succeed on all hosts before you run the next task, use the ``linear`` strategy."
2567msgstr "デフォルトのストラテジーは ``linear`` です。ストラテジーを ``linear`` に設定すると、Ansible は、現在のタスクがすべてのホストで実行されるまで待機してから、任意のホストで次のタスクを開始します。Ansible はフォークを解放しているかもしれませんが、全てのホストが現在のタスクを完了するまでフォークを使用しません。次のタスクを実行する前に、Playbook の各タスクがすべてのホストで成功する必要がある場合は、``linear`` ストラテジーを使用します。"
2568
2569#: ../../rst/network/user_guide/faq.rst:23
2570msgid "Using the ``free`` strategy, Ansible uses available forks to execute tasks on each host as quickly as possible. Even if an earlier task is still running on one host, Ansible executes later tasks on other hosts. The ``free`` strategy uses available forks more efficiently. If your playbook stalls on each task, waiting for one slow host, consider using ``strategy: free`` to boost overall performance."
2571msgstr "この ``free`` ストラテジーを使用すると、Ansible は、利用可能なフォークを使用して各ホストのタスクをできるだけ速く実行します。あるホストで前のタスクの実行が完了していない場合でも、Ansible は他のホストで後のタスクを実行します。この ``free`` ストラテジーでは、使用可能なフォークをより効率的に使用します。各タスクで Playbook が停滞し、1 つのホストの処理速度が遅い場合は、``strategy: free`` を使用して全体的なパフォーマンスを向上させることを検討してください。"
2572
2573#: ../../rst/network/user_guide/faq.rst:28
2574msgid "Execute ``show running`` only if you absolutely must"
2575msgstr "絶対的に必要とされる場合にのみ ``show running`` を実行"
2576
2577#: ../../rst/network/user_guide/faq.rst:30
2578msgid "The ``show running`` command is the most resource-intensive command to execute on a network device, because of the way queries are handled by the network OS. Using the command in your Ansible playbook will slow performance significantly, especially on large devices; repeating it will multiply the performance hit. If you have a playbook that checks the running config, then executes changes, then checks the running config again, you should expect that playbook to be very slow."
2579msgstr "この ``show running`` コマンドは、ネットワーク OS によるクエリーの処理方法のため、ネットワークデバイスで実行する最もリソースを消費するコマンドです。Ansible Playbook でこのコマンドを使用すると、特に大規模なデバイスではパフォーマンスが大幅に低下します。繰り返し実行すると、パフォーマンスへの影響が大きくなります。実行設定を確認してから変更を実行し、再び実行設定を確認する Playbook がある場合は、Playbook が非常に遅くなることが予想されます。"
2580
2581#: ../../rst/network/user_guide/faq.rst:35
2582msgid "Use ``ProxyCommand`` only if you absolutely must"
2583msgstr "絶対的に必要とされる場合のみ ``ProxyCommand`` を使用"
2584
2585#: ../../rst/network/user_guide/faq.rst:37
2586msgid "Network modules support the use of a :ref:`proxy or jump host<network_delegate_to_vs_ProxyCommand>` with the ``ProxyCommand`` parameter. However, when you use a jump host, Ansible must open a new SSH connection for every task, even if you are using a persistent connection type (``network_cli`` or ``netconf``). To maximize the performance benefits of the persistent connection types introduced in version 2.5, avoid using jump hosts whenever possible."
2587msgstr "ネットワークモジュールは、``ProxyCommand`` パラメーターで :ref:`プロキシーまたはジャンプホスト<network_delegate_to_vs_ProxyCommand>` の使用がサポートされています。ただし、ジャンプホストを使用する場合は、永続的な接続タイプ (``network_cli`` または ``netconf``) を使用している場合でも、タスクごとに新しい SSH 接続を開く必要があります。バージョン 2.5 で導入された永続接続タイプのパフォーマンス上の利点を最大限に活用するには、可能な限りジャンプホストを使用しないでください。"
2588
2589#: ../../rst/network/user_guide/faq.rst:42
2590msgid "Set ``--forks`` to match your needs"
2591msgstr "必要に応じて ``--forks`` を設定"
2592
2593#: ../../rst/network/user_guide/faq.rst:44
2594msgid "Every time Ansible runs a task, it forks its own process. The ``--forks`` parameter defines the number of concurrent tasks - if you retain the default setting, which is ``--forks=5``, and you are running a playbook on 10 hosts, five of those hosts will have to wait until a fork is available. Of course, the more forks you allow, the more memory and processing power Ansible will use. Since most network tasks are run on the control host, this means your laptop can quickly become cpu- or memory-bound."
2595msgstr "Ansible はタスクを実行するたびに、独自のプロセスをフォークします。``--forks`` パラメーターは、同時実行タスクの数を定義します。デフォルト設定 (``--forks=5``) のままで、10 台のホストで Playbook を実行していると、そのうち 5 台のホストは、フォークが使用可能になるまで待機する必要があります。もちろん、フォークの数が増えれば増えるほど、Ansible はより多くのメモリーと処理能力を使うことになります。ネットワークタスクの大半はコントロールホストで実行されるため、ラップトップでは、CPU またはメモリーがすぐに枯渇することになります。"
2596
2597#: ../../rst/network/user_guide/faq.rst:49
2598msgid "Why is my output sometimes replaced with ``********``?"
2599msgstr "出力が ``********`` に置き換えられることがあるのはなぜですか"
2600
2601#: ../../rst/network/user_guide/faq.rst:51
2602msgid "Ansible replaces any string marked ``no_log``, including passwords, with ``********`` in Ansible output. This is done by design, to protect your sensitive data. Most users are happy to have their passwords redacted. However, Ansible replaces every string that matches your password with ``********``. If you use a common word for your password, this can be a problem. For example, if you choose ``Admin`` as your password, Ansible will replace every instance of the word ``Admin`` with ``********`` in your output. This may make your output harder to read. To avoid this problem, select a secure password that will not occur elsewhere in your Ansible output."
2603msgstr "Ansible は、Ansible 出力で、パスワードを含む ``no_log`` と印された文字列を ``********`` に置き換えます。これは、機密データを保護するために設計されています。ほとんどのユーザーは、自身のパスワードが伏字になることを希望します。ただし、Ansible はパスワードに一致するすべての文字列を ``********`` に置き換えます。パスワードに一般的な単語を使用すると、問題が発生する可能性があります。たとえば、``Admin`` をパスワードとした場合、``Admin`` は出力内にあるその単語のすべてのインスタンスを ``********`` に置き換えます。これにより、出力が読みにくくなる場合があります。この問題を回避するには、他の Ansible 出力場所では使用されない安全なパスワードを選択してください。"
2604
2605#: ../../rst/network/user_guide/faq.rst:56
2606msgid "Why do the ``*_config`` modules always return ``changed=true`` with abbreviated commands?"
2607msgstr "省略されたコマンドで ``*_config`` モジュールが常に ``changed=true`` を返すのはなぜですか"
2608
2609#: ../../rst/network/user_guide/faq.rst:58
2610msgid "When you issue commands directly on a network device, you can use abbreviated commands. For example, ``int g1/0/11`` and ``interface GigabitEthernet1/0/11`` do the same thing; ``shut`` and ``shutdown`` do the same thing. Ansible Network ``*_command`` modules work with abbreviations, because they run commands through the network OS."
2611msgstr "ネットワークデバイスで直接コマンドを実行する場合は、省略されたコマンドを使用できます。たとえば、``int g1/0/11`` と ``interface GigabitEthernet1/0/11`` は、同じ動作になります。``shut`` と ``shutdown`` も同じ動作になります。Ansible Network の ``*_command`` モジュールは、ネットワーク OS を介してコマンドを実行するため、省略形で動作します。"
2612
2613#: ../../rst/network/user_guide/faq.rst:60
2614msgid "When committing configuration, however, the network OS converts abbreviations into long-form commands. Whether you use ``shut`` or ``shutdown`` on ``GigabitEthernet1/0/11``, the result in the configuration is the same: ``shutdown``."
2615msgstr "ただし、設定をコミットすると、ネットワーク OS は省略形を長い形式のコマンドに変換します。``GigabitEthernet1/0/11`` で ``shut`` または ``shutdown`` を使用した場合の設定は同じで、``shutdown`` となります。"
2616
2617#: ../../rst/network/user_guide/faq.rst:62
2618msgid "Ansible Network ``*_config`` modules compare the text of the commands you specify in ``lines`` to the text in the configuration. If you use ``shut`` in the ``lines`` section of your task, and the configuration reads  ``shutdown``, the module returns ``changed=true`` even though the configuration is already correct. Your task will update the configuration every time it runs."
2619msgstr "Ansible Network の ``*_config`` モジュールは、``lines`` で指定したコマンドのテキストを設定のテキストと比較します。タスクの ``lines`` セクションで ``shut`` を使用し、設定が ``shutdown`` を読み込む場合は、設定が正しいにもかかわらず、モジュールが ``changed=true`` を返します。タスクを実行するたびに設定が更新されます。"
2620
2621#: ../../rst/network/user_guide/faq.rst:64
2622msgid "To avoid this problem, use long-form commands with the ``*_config`` modules:"
2623msgstr "この問題を回避するには、``*_config`` モジュールで長い形式のコマンドを使用します。"
2624
2625#: ../../rst/network/user_guide/index.rst:15
2626msgid "Advanced Topics"
2627msgstr "高度なトピック"
2628
2629#: ../../rst/network/user_guide/index.rst:5
2630msgid "Network Advanced Topics"
2631msgstr "ネットワークの高度なトピック"
2632
2633#: ../../rst/network/user_guide/index.rst:7
2634msgid "Once you have mastered the basics of network automation with Ansible, as presented in :ref:`network_getting_started`, use this guide understand platform-specific details, optimization, and troubleshooting tips for Ansible for network automation."
2635msgstr ":ref:`network_getting_started` に記載されているように、Ansible を使用したネットワーク自動化の基本を習得したら、本ガイドを参照して、ネットワーク自動化に関する Ansible のプラットフォーム固有の詳細、最適化、およびトラブルシューティングのヒントを理解します。"
2636
2637#: ../../rst/network/user_guide/index.rst:11
2638msgid "This guide is intended for network engineers using Ansible for automation. It covers advanced topics. If you understand networks and Ansible, this guide is for you. You may read through the entire guide if you choose, or use the links below to find the specific information you need."
2639msgstr "このガイドは、自動化に Ansible を使用するネットワークエンジニアを対象とした高度なトピックを説明します。ネットワークと Ansible を理解しているユーザーを対象としています。必要に応じてガイド全体を読むか、次のリンクを使用して必要な特定情報を選択してください。"
2640
2641#: ../../rst/network/user_guide/index.rst:13
2642msgid "If you're new to Ansible, or new to using Ansible for network automation, start with the :ref:`network_getting_started`."
2643msgstr "Ansible を初めて使用する場合や、ネットワーク管理に Ansible を初めて使用する場合は、最初に「:ref:`network_getting_started`」をお読みください。"
2644
2645#: ../../rst/network/user_guide/network_best_practices_2.5.rst:5
2646msgid "Ansible Network Examples"
2647msgstr "Ansible ネットワークの例"
2648
2649#: ../../rst/network/user_guide/network_best_practices_2.5.rst:7
2650msgid "This document describes some examples of using Ansible to manage your network infrastructure."
2651msgstr "本ガイドでは、Ansible を使用してネットワークインフラストラクチャーを管理する例を説明します。"
2652
2653#: ../../rst/network/user_guide/network_best_practices_2.5.rst:15
2654msgid "This example requires the following:"
2655msgstr "この例では、以下が必要です。"
2656
2657#: ../../rst/network/user_guide/network_best_practices_2.5.rst:17
2658msgid "**Ansible 2.10** (or higher) installed. See :ref:`intro_installation_guide` for more information."
2659msgstr "**Ansible 2.10** (またはそれ以上) がインストールされている。詳細は「:ref:`intro_installation_guide`」を参照してください。"
2660
2661#: ../../rst/network/user_guide/network_best_practices_2.5.rst:18
2662msgid "One or more network devices that are compatible with Ansible."
2663msgstr "Ansible と互換性がある 1 つ以上ネットワークデバイス。"
2664
2665#: ../../rst/network/user_guide/network_best_practices_2.5.rst:19
2666msgid "Basic understanding of YAML :ref:`yaml_syntax`."
2667msgstr "YAML :ref:`yaml_syntax` の基本知識"
2668
2669#: ../../rst/network/user_guide/network_best_practices_2.5.rst:20
2670msgid "Basic understanding of Jinja2 templates. See :ref:`playbooks_templating` for more information."
2671msgstr "Jinja2 テンプレートの基本的な理解。詳細は「:ref:`playbooks_templating`」を参照してください。"
2672
2673#: ../../rst/network/user_guide/network_best_practices_2.5.rst:21
2674msgid "Basic Linux command line use."
2675msgstr "基本的な Linux コマンドラインの使用。"
2676
2677#: ../../rst/network/user_guide/network_best_practices_2.5.rst:22
2678msgid "Basic knowledge of network switch & router configurations."
2679msgstr "ネットワークスイッチおよびルーター設定に関する基本知識。"
2680
2681#: ../../rst/network/user_guide/network_best_practices_2.5.rst:26
2682msgid "Groups and variables in an inventory file"
2683msgstr "インベントリーファイルのグループおよび変数"
2684
2685#: ../../rst/network/user_guide/network_best_practices_2.5.rst:28
2686msgid "An ``inventory`` file is a YAML or INI-like configuration file that defines the mapping of hosts into groups."
2687msgstr "``inventory`` ファイルは、ホストからグループへのマッピングを定義する YAML または INI のような設定ファイルです。"
2688
2689#: ../../rst/network/user_guide/network_best_practices_2.5.rst:30
2690msgid "In our example, the inventory file defines the groups ``eos``, ``ios``, ``vyos`` and a \"group of groups\" called ``switches``. Further details about subgroups and inventory files can be found in the :ref:`Ansible inventory Group documentation <subgroups>`."
2691msgstr "この例では、インベントリーファイルは ``eos``、``ios``、および ``vyos`` と、``switches`` と呼ばれる「グループのグループ」を定義します。サブグループとインベントリーファイルの詳細は「:ref:`Ansible inventory Group documentation <subgroups>`」にあります。"
2692
2693#: ../../rst/network/user_guide/network_best_practices_2.5.rst:32
2694msgid "Because Ansible is a flexible tool, there are a number of ways to specify connection information and credentials. We recommend using the ``[my_group:vars]`` capability in your inventory file."
2695msgstr "Ansible は柔軟なツールであるため、接続情報および認証情報を指定する方法は複数あります。インベントリーファイルで ``[my_group:vars]`` 機能を使用することが推奨されます。"
2696
2697#: ../../rst/network/user_guide/network_best_practices_2.5.rst:81
2698msgid "If you use ssh-agent, you do not need the ``ansible_password`` lines. If you use ssh keys, but not ssh-agent, and you have multiple keys, specify the key to use for each connection in the ``[group:vars]`` section with ``ansible_ssh_private_key_file=/path/to/correct/key``. For more information on ``ansible_ssh_`` options see :ref:`behavioral_parameters`."
2699msgstr "ssh-agent を使用する場合、``ansible_password`` 行は必要ありません。ssh-agent でなく ssh キーを使用し、鍵が複数ある場合は、``ansible_ssh_private_key_file=/path/to/correct/key`` の ``[group:vars]`` セクションで、各接続に使用するキーを指定します。``ansible_ssh_`` オプションの詳細は、「:ref:`behavioral_parameters`」を参照してください。"
2700
2701#: ../../rst/network/user_guide/network_best_practices_2.5.rst:85
2702msgid "Never store passwords in plain text."
2703msgstr "プレーンテキストにパスワードを保存しないでください。"
2704
2705#: ../../rst/network/user_guide/network_best_practices_2.5.rst:88
2706msgid "Ansible vault for password encryption"
2707msgstr "パスワード暗号化用の Ansible Vault"
2708
2709#: ../../rst/network/user_guide/network_best_practices_2.5.rst:90
2710msgid "The \"Vault\" feature of Ansible allows you to keep sensitive data such as passwords or keys in encrypted files, rather than as plain text in your playbooks or roles. These vault files can then be distributed or placed in source control. See :ref:`playbooks_vault` for more information."
2711msgstr "Ansible の「Vault」機能を使用すると、パスワードやキーなどの機密データを、Playbook やロールのプレーンテキストとしてではなく、暗号化されたファイルに保存することができます。この Vault ファイルは、ソース制御に配布または配置することができます。詳細は、「:ref:`playbooks_vault`」を参照してください。"
2712
2713#: ../../rst/network/user_guide/network_best_practices_2.5.rst:92
2714msgid "Here's what it would look like if you specified your SSH passwords (encrypted with Ansible Vault) among your variables:"
2715msgstr "変数内に SSH パスワード (Ansible Vault で暗号化) を指定すると、以下のようになります。"
2716
2717#: ../../rst/network/user_guide/network_best_practices_2.5.rst:108
2718msgid "Common inventory variables"
2719msgstr "共通のインベントリー変数"
2720
2721#: ../../rst/network/user_guide/network_best_practices_2.5.rst:110
2722msgid "The following variables are common for all platforms in the inventory, though they can be overwritten for a particular inventory group or host."
2723msgstr "以下の変数はインベントリー内のすべてのプラットフォームに共通ですが、特定のインベントリーグループまたはホストについて上書きできます。"
2724
2725#: ../../rst/network/user_guide/network_best_practices_2.5.rst
2726msgid "ansible_connection"
2727msgstr "ansible_connection"
2728
2729#: ../../rst/network/user_guide/network_best_practices_2.5.rst:114
2730msgid "Ansible uses the ansible-connection setting to determine how to connect to a remote device. When working with Ansible Networking, set this to an appropriate network connection option, such as``ansible.netcommon.network_cli``, so Ansible treats the remote node as a network device with a limited execution environment. Without this setting, Ansible would attempt to use ssh to connect to the remote and execute the Python script on the network device, which would fail because Python generally isn't available on network devices."
2731msgstr "Ansible は ansible-connection 設定を使用してリモートデバイスへの接続方法を決定します。Ansible ネットワークを使用する場合は、適切なネットワーク接続オプション (``ansible.netcommon.network_cli`` など) に設定して、Ansible が実行環境が制限されたネットワークデバイスとしてリモートノードを扱うようにします。この設定がないと、Ansible は ssh を使用してリモートに接続し、Python スクリプトをネットワークデバイスで実行しようとしますが、Python は一般的にネットワークデバイスで使用できないため失敗します。"
2732
2733#: ../../rst/network/user_guide/network_best_practices_2.5.rst
2734msgid "ansible_network_os"
2735msgstr "ansible_network_os"
2736
2737#: ../../rst/network/user_guide/network_best_practices_2.5.rst:116
2738msgid "Informs Ansible which Network platform this hosts corresponds to. This is required when using the ``ansible.netcommon.*`` connection options."
2739msgstr "このホストに対応するネットワークプラットフォームを Ansible に通知します。これは、``ansible.netcommon.*`` 接続オプションを使用する場合に必要です。"
2740
2741#: ../../rst/network/user_guide/network_best_practices_2.5.rst
2742msgid "ansible_user"
2743msgstr "ansible_user"
2744
2745#: ../../rst/network/user_guide/network_best_practices_2.5.rst:117
2746msgid "The user to connect to the remote device (switch) as. Without this the user that is running ``ansible-playbook`` would be used. Specifies which user on the network device the connection"
2747msgstr "リモートデバイス (スイッチ) に接続するユーザーです。これがないと、このユーザーが ``ansible-playbook`` を実行しているユーザーに使用されます。ネットワークデバイス上のどのユーザーに接続するかを指定します。"
2748
2749#: ../../rst/network/user_guide/network_best_practices_2.5.rst
2750msgid "ansible_password"
2751msgstr "ansible_password"
2752
2753#: ../../rst/network/user_guide/network_best_practices_2.5.rst:120
2754msgid "The corresponding password for ``ansible_user`` to log in as. If not specified SSH key will be used."
2755msgstr "``ansible_user`` でログインするためのパスワードです。指定しない場合は、SSH キーが使用されます。"
2756
2757#: ../../rst/network/user_guide/network_best_practices_2.5.rst
2758msgid "ansible_become"
2759msgstr "ansible_become"
2760
2761#: ../../rst/network/user_guide/network_best_practices_2.5.rst:122
2762msgid "If enable mode (privilege mode) should be used, see the next section."
2763msgstr "Enable モード (特権モード) を使用する場合は、次のセクションを参照してください。"
2764
2765#: ../../rst/network/user_guide/network_best_practices_2.5.rst
2766msgid "ansible_become_method"
2767msgstr "ansible_become_method"
2768
2769#: ../../rst/network/user_guide/network_best_practices_2.5.rst:124
2770msgid "Which type of `become` should be used, for ``network_cli`` the only valid choice is ``enable``."
2771msgstr "どのタイプ `become` を使用すべきか。``network_cli`` では、有効な選択は ``enable`` のみです。"
2772
2773#: ../../rst/network/user_guide/network_best_practices_2.5.rst:127
2774msgid "Privilege escalation"
2775msgstr "権限昇格"
2776
2777#: ../../rst/network/user_guide/network_best_practices_2.5.rst:129
2778msgid "Certain network platforms, such as Arista EOS and Cisco IOS, have the concept of different privilege modes. Certain network modules, such as those that modify system state including users, will only work in high privilege states. Ansible supports ``become`` when using ``connection: ansible.netcommon.network_cli``. This allows privileges to be raised for the specific tasks that need them. Adding ``become: yes`` and ``become_method: enable`` informs Ansible to go into privilege mode before executing the task, as shown here:"
2779msgstr "Arista EOS や Cisco IOS などの特定のネットワークプラットフォームには、異なる特権モードの概念があります。ユーザーを含むシステム状態を変更するような特定のネットワークモジュールは、高特権状態でのみ動作します。Ansible は、``connection: ansible.netcommon.network_cli`` の使用時に、``become`` をサポートします。これにより、権限を必要とする特定のタスクに対して権限を設定できます。次に示すように、``become: yes`` および ``become_method: enable`` を追加すると、タスクを実行する前に特権モードに入るように Ansible に通知します。"
2780
2781#: ../../rst/network/user_guide/network_best_practices_2.5.rst:139
2782msgid "For more information, see the :ref:`using become with network modules<become_network>` guide."
2783msgstr "詳細は「:ref:`ネットワークモジュールで become の使用<become_network>`」ガイドを参照してください。"
2784
2785#: ../../rst/network/user_guide/network_best_practices_2.5.rst:143
2786msgid "Jump hosts"
2787msgstr "ジャンプホスト"
2788
2789#: ../../rst/network/user_guide/network_best_practices_2.5.rst:145
2790msgid "If the Ansible Controller does not have a direct route to the remote device and you need to use a Jump Host, please see the :ref:`Ansible Network Proxy Command <network_delegate_to_vs_ProxyCommand>` guide for details on how to achieve this."
2791msgstr "Ansible Controller がリモートデバイスへの直接ルートがなく、ジャンプホストを使用する必要がある場合は、これを実現する方法について、「:ref:`Ansible ネットワークプロキシーコマンド <network_delegate_to_vs_ProxyCommand>`」ガイドを参照してください。"
2792
2793#: ../../rst/network/user_guide/network_best_practices_2.5.rst:148
2794msgid "Example 1: collecting facts and creating backup files with a playbook"
2795msgstr "例 1: Playbook でファクトを収集し、バックアップファイルの作成"
2796
2797#: ../../rst/network/user_guide/network_best_practices_2.5.rst:150
2798msgid "Ansible facts modules gather system information 'facts' that are available to the rest of your playbook."
2799msgstr "Ansible ファクトモジュールは、他の Playbook で利用可能なシステム情報の「ファクト」を収集します。"
2800
2801#: ../../rst/network/user_guide/network_best_practices_2.5.rst:152
2802msgid "Ansible Networking ships with a number of network-specific facts modules. In this example, we use the ``_facts`` modules :ref:`arista.eos.eos_facts <ansible_collections.arista.eos.eos_facts_module>`, :ref:`cisco.ios.ios_facts <ansible_collections.cisco.ios.ios_facts_module>` and :ref:`vyos.vyos.vyos_facts <ansible_collections.vyos.vyos.vyos_facts_module>` to connect to the remote networking device. As the credentials are not explicitly passed with module arguments, Ansible uses the username and password from the inventory file."
2803msgstr "Ansible ネットワークには、ネットワーク固有のファクトモジュールがいくつか付属しています。この例では、``_facts`` モジュール (:ref:`arista.eos.eos_facts <ansible_collections.arista.eos.eos_facts_module>`、:ref:`cisco.ios.ios_facts <ansible_collections.cisco.ios.ios_facts_module>`、および :ref:`vyos.vyos.vyos_facts <ansible_collections.vyos.vyos.vyos_facts_module>`) を使用し、リモートネットワーキングデバイスに接続します。認証情報はモジュール引数とともに明示的に渡されないため、Ansible はインベントリーファイルからのユーザー名とパスワードを使用します。"
2804
2805#: ../../rst/network/user_guide/network_best_practices_2.5.rst:154
2806msgid "Ansible's \"Network Fact modules\" gather information from the system and store the results in facts prefixed with ``ansible_net_``. The data collected by these modules is documented in the `Return Values` section of the module docs, in this case :ref:`arista.eos.eos_facts <ansible_collections.arista.eos.eos_facts_module>` and :ref:`vyos.vyos.vyos_facts <ansible_collections.vyos.vyos.vyos_facts_module>`. We can use the facts, such as ``ansible_net_version`` late on in the \"Display some facts\" task."
2807msgstr "Ansibleの「ネットワークファクトモジュール」はシステムから情報を収集し、``ansible_net_`` の接頭辞が付いたファクトに結果を格納します。これらのモジュールによって収集されるデータは、モジュールドキュメントの `Return Values` セクション (この場合は :ref:`arista.eos.eos_facts <ansible_collections.arista.eos.eos_facts_module>` および :ref:`vyos.vyos.vyos_facts <ansible_collections.vyos.vyos.vyos_facts_module>`) に記載されています。``ansible_net_version`` などのファクトは、「Display some facts (一部のファクトを表示する)」タスクの後半で使用できます。"
2808
2809#: ../../rst/network/user_guide/network_best_practices_2.5.rst:156
2810msgid "To ensure we call the correct mode (``*_facts``) the task is conditionally run based on the group defined in the inventory file, for more information on the use of conditionals in Ansible Playbooks see :ref:`the_when_statement`."
2811msgstr "正しいモード (``*_facts``) を呼び出すようにするには、インベントリーファイルに定義されたグループに基づいてタスクが条件付きで実行されます。Ansible Playbook での条件付き使用の詳細は、「:ref:`the_when_statement`」を参照してください。"
2812
2813#: ../../rst/network/user_guide/network_best_practices_2.5.rst:158
2814msgid "In this example, we will create an inventory file containing some network switches, then run a playbook to connect to the network devices and return some information about them."
2815msgstr "この例では、一部のネットワークスイッチを含むインベントリーファイルを作成してから、Playbook を実行してネットワークデバイスに接続し、その情報を返します。"
2816
2817#: ../../rst/network/user_guide/network_best_practices_2.5.rst:161
2818msgid "Step 1: Creating the inventory"
2819msgstr "ステップ 1: インベントリーの作成"
2820
2821#: ../../rst/network/user_guide/network_best_practices_2.5.rst:163
2822msgid "First, create a file called ``inventory``, containing:"
2823msgstr "まず、以下を含む ``inventory`` という名前のファイルを作成します。"
2824
2825#: ../../rst/network/user_guide/network_best_practices_2.5.rst:183
2826msgid "Step 2: Creating the playbook"
2827msgstr "ステップ 2: Playbook の作成"
2828
2829#: ../../rst/network/user_guide/network_best_practices_2.5.rst:185
2830msgid "Next, create a playbook file called ``facts-demo.yml`` containing the following:"
2831msgstr "次に、以下を含む ``facts-demo.yml`` という名前の Playbook ファイルを作成します。"
2832
2833#: ../../rst/network/user_guide/network_best_practices_2.5.rst:285
2834msgid "Step 3: Running the playbook"
2835msgstr "ステップ 3: Playbook の実行"
2836
2837#: ../../rst/network/user_guide/network_best_practices_2.5.rst:287
2838msgid "To run the playbook, run the following from a console prompt:"
2839msgstr "Playbook を実行するには、コンソールプロンプトから以下を実行します。"
2840
2841#: ../../rst/network/user_guide/network_best_practices_2.5.rst:293
2842msgid "This should return output similar to the following:"
2843msgstr "このコマンドを実行すると、以下のような出力が返されます。"
2844
2845#: ../../rst/network/user_guide/network_best_practices_2.5.rst:303
2846msgid "Step 4: Examining the playbook results"
2847msgstr "手順 4: Playbook の結果の検証"
2848
2849#: ../../rst/network/user_guide/network_best_practices_2.5.rst:305
2850msgid "Next, look at the contents of the file we created containing the switch facts:"
2851msgstr "次に、スイッチファクトを含む作成したファイルの内容を確認します。"
2852
2853#: ../../rst/network/user_guide/network_best_practices_2.5.rst:311
2854msgid "You can also look at the backup files:"
2855msgstr "バックアップファイルを確認することもできます。"
2856
2857#: ../../rst/network/user_guide/network_best_practices_2.5.rst:318
2858msgid "If `ansible-playbook` fails, please follow the debug steps in :ref:`network_debug_troubleshooting`."
2859msgstr "`ansible-playbook` が失敗する場合は、:ref:`network_debug_troubleshooting` のデバッグ手順に従ってください。"
2860
2861#: ../../rst/network/user_guide/network_best_practices_2.5.rst:324
2862msgid "Example 2: simplifying playbooks with network agnostic modules"
2863msgstr "例 2: ネットワークに依存しないモジュールを使用した Playbook の単純化"
2864
2865#: ../../rst/network/user_guide/network_best_practices_2.5.rst:326
2866msgid "(This example originally appeared in the `Deep Dive on cli_command for Network Automation <https://www.ansible.com/blog/deep-dive-on-cli-command-for-network-automation>`_ blog post by Sean Cavanaugh -`@IPvSean <https://github.com/IPvSean>`_)."
2867msgstr "(この例は、元々、Sean Cavanaugh (`@IPvSean <https://github.com/IPvSean>`_) 氏が投稿したブログ「`Deep Dive on cli_command for Network Automation <https://www.ansible.com/blog/deep-dive-on-cli-command-for-network-automation>`_」で紹介されました。)"
2868
2869#: ../../rst/network/user_guide/network_best_practices_2.5.rst:328
2870msgid "If you have two or more network platforms in your environment, you can use the network agnostic modules to simplify your playbooks. You can use network agnostic modules such as ``ansible.netcommon.cli_command`` or ``ansible.netcommon.cli_config`` in place of the platform-specific modules such as ``arista.eos.eos_config``, ``cisco.ios.ios_config``, and ``junipernetworks.junos.junos_config``. This reduces the number of tasks and conditionals you need in your playbooks."
2871msgstr "環境内に複数のネットワークプラットフォームがある場合は、ネットワークに依存しないモジュールを使用して、Playbook を簡素化できます。``arista.eos.eos_config``、``cisco.ios.ios_config``、``junipernetworks.junos.junos_config`` などのプラットフォーム固有のモジュールの代わりに、``ansible.netcommon.cli_command``、``ansible.netcommon.cli_config`` などのネットワークに依存しないモジュールを使用できます。これにより、Playbook に必要なタスクおよび条件の数が減ります。"
2872
2873#: ../../rst/network/user_guide/network_best_practices_2.5.rst:331
2874msgid "Network agnostic modules require the :ref:`ansible.netcommon.network_cli <ansible_collections.ansible.netcommon.network_cli_connection>` connection plugin."
2875msgstr "ネットワークに依存しないモジュールには、:ref:`ansible.netcommon.network_cli <ansible_collections.ansible.netcommon.network_cli_connection>` 接続プラグインが必要です。"
2876
2877#: ../../rst/network/user_guide/network_best_practices_2.5.rst:335
2878msgid "Sample playbook with platform-specific modules"
2879msgstr "プラットフォーム固有のモジュールを含む Playbook のサンプル"
2880
2881#: ../../rst/network/user_guide/network_best_practices_2.5.rst:337
2882msgid "This example assumes three platforms, Arista EOS, Cisco NXOS, and Juniper JunOS.  Without the network agnostic modules, a sample playbook might contain the following three tasks with platform-specific commands:"
2883msgstr "この例では、Arista EOS、Cisco NXOS、Juniper JunOS の 3 つのプラットフォームを想定しています。ネットワークに依存しないモジュールを使用しないと、サンプル Playbook にはプラットフォーム固有のコマンドと共に、以下の 3 つのタスクが含まれる場合があります。"
2884
2885#: ../../rst/network/user_guide/network_best_practices_2.5.rst:358
2886msgid "Simplified playbook with ``cli_command`` network agnostic module"
2887msgstr "``cli_command`` ネットワークに依存しないモジュールを使用した Playbook の簡素化"
2888
2889#: ../../rst/network/user_guide/network_best_practices_2.5.rst:360
2890msgid "You can replace these platform-specific modules with the network agnostic ``ansible.netcommon.cli_command`` module as follows:"
2891msgstr "これらのプラットフォーム固有のモジュールは、以下のようにネットワークに依存しない ``ansible.netcommon.cli_command`` モジュールに置き換えることができます。"
2892
2893#: ../../rst/network/user_guide/network_best_practices_2.5.rst:407
2894msgid "If you use groups and group_vars by platform type, this playbook can be further simplified to :"
2895msgstr "プラットフォームタイプ別にグループおよび group_vars を使用する場合は、この Playbook をさらに簡単にできます。"
2896
2897#: ../../rst/network/user_guide/network_best_practices_2.5.rst:423
2898msgid "You can see a full example of this using group_vars and also a configuration backup example at `Network agnostic examples <https://github.com/network-automation/agnostic_example>`_."
2899msgstr "group_vars の完全例と設定バックアップの例は、`ネットワークに依存しない例 <https://github.com/network-automation/agnostic_example>`_ で確認できます。"
2900
2901#: ../../rst/network/user_guide/network_best_practices_2.5.rst:426
2902msgid "Using multiple prompts with the  ``ansible.netcommon.cli_command``"
2903msgstr "``ansible.netcommon.cli_command`` を含む複数のプロンプトの使用"
2904
2905#: ../../rst/network/user_guide/network_best_practices_2.5.rst:428
2906msgid "The ``ansible.netcommon.cli_command`` also supports multiple prompts."
2907msgstr "``ansible.netcommon.cli_command`` は、複数のプロンプトもサポートします。"
2908
2909#: ../../rst/network/user_guide/network_best_practices_2.5.rst:449
2910msgid "See the :ref:`ansible.netcommon.cli_command <cli_command_module>` for full documentation on this command."
2911msgstr "このコマンドに関するドキュメントは、「:ref:`ansible.netcommon.cli_command <cli_command_module>`」を参照してください。"
2912
2913#: ../../rst/network/user_guide/network_best_practices_2.5.rst:453
2914msgid "Implementation Notes"
2915msgstr "実装に関する注意点"
2916
2917#: ../../rst/network/user_guide/network_best_practices_2.5.rst:457
2918msgid "Demo variables"
2919msgstr "デモ変数"
2920
2921#: ../../rst/network/user_guide/network_best_practices_2.5.rst:459
2922msgid "Although these tasks are not needed to write data to disk, they are used in this example to demonstrate some methods of accessing facts about the given devices or a named host."
2923msgstr "これらのタスクは、ディスクにデータを書き込む必要はありませんが、この例では、特定のデバイスまたは名前付きホストのファクトにアクセスする方法を実証するために使用されます。"
2924
2925#: ../../rst/network/user_guide/network_best_practices_2.5.rst:461
2926msgid "Ansible ``hostvars`` allows you to access variables from a named host. Without this we would return the details for the current host, rather than the named host."
2927msgstr "Ansible ``hostvars`` を使用すると、名前付きホストから変数にアクセスすることができます。これを使用しないと、名前付きホストではなく、現在のホストの詳細が返されます。"
2928
2929#: ../../rst/network/user_guide/network_best_practices_2.5.rst:463
2930msgid "For more information, see :ref:`magic_variables_and_hostvars`."
2931msgstr "詳細情報は、「:ref:`magic_variables_and_hostvars`」を参照してください。"
2932
2933#: ../../rst/network/user_guide/network_best_practices_2.5.rst:466
2934msgid "Get running configuration"
2935msgstr "実行中の設定の取得"
2936
2937#: ../../rst/network/user_guide/network_best_practices_2.5.rst:468
2938msgid "The :ref:`arista.eos.eos_config <ansible_collections.arista.eos.eos_config_module>` and :ref:`vyos.vyos.vyos_config <ansible_collections.vyos.vyos.vyos_config_module>` modules have a ``backup:`` option that when set will cause the module to create a full backup of the current ``running-config`` from the remote device before any changes are made. The backup file is written to the ``backup`` folder in the playbook root directory. If the directory does not exist, it is created."
2939msgstr ":ref:`arista.eos.eos_config <ansible_collections.arista.eos.eos_config_module>` モジュールおよび :ref:`vyos.vyos.vyos_config <ansible_collections.vyos.vyos.vyos_config_module>` モジュールには、設定されている場合は、変更が行われる前にリモートデバイスから現在の ``running-config`` のフルバックアップを作成する ``backup:`` オプションがあります。バックアップファイルは、Playbook のルートディレクトリー内の ``backup`` ディレクトリーに書き込まれます。このディレクトリーが存在しない場合は作成されます。"
2940
2941#: ../../rst/network/user_guide/network_best_practices_2.5.rst:470
2942msgid "To demonstrate how we can move the backup file to a different location, we register the result and move the file to the path stored in ``backup_path``."
2943msgstr "バックアップファイルを別の場所に移動する方法を実証するために、結果を登録し、ファイルを ``backup_path`` に保存されているパスに移動します。"
2944
2945#: ../../rst/network/user_guide/network_best_practices_2.5.rst:472
2946msgid "Note that when using variables from tasks in this way we use double quotes (``\"``) and double curly-brackets (``{{...}}`` to tell Ansible that this is a variable."
2947msgstr "この方法でタスクの変数を使用する場合は、Ansible にこれが変数であることを伝えるために、二重引用符 (``\"``) と二重中括弧 (``{{...}}``) を使用します。"
2948
2949#: ../../rst/network/user_guide/network_best_practices_2.5.rst:475
2950msgid "Troubleshooting"
2951msgstr "トラブルシューティング"
2952
2953#: ../../rst/network/user_guide/network_best_practices_2.5.rst:477
2954msgid "If you receive an connection error please double check the inventory and playbook for typos or missing lines. If the issue still occurs follow the debug steps in :ref:`network_debug_troubleshooting`."
2955msgstr "接続エラーを受け取った場合は、インベントリーと Playbook で誤字または欠落している行がないか再確認してください。問題が解決しない場合は、:ref:`network_debug_troubleshooting` のデバッグ手順に従います。"
2956
2957#: ../../rst/network/user_guide/network_best_practices_2.5.rst:481
2958msgid ":ref:`network_guide`"
2959msgstr ":ref:`network_guide`"
2960
2961#: ../../rst/network/user_guide/network_best_practices_2.5.rst:482
2962msgid ":ref:`intro_inventory`"
2963msgstr ":ref:`intro_inventory`"
2964
2965#: ../../rst/network/user_guide/network_best_practices_2.5.rst:483
2966msgid ":ref:`Keeping vaulted variables visible <tip_for_variables_and_vaults>`"
2967msgstr ":ref:`Keeping vaulted variables visible <tip_for_variables_and_vaults>`"
2968
2969#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:5
2970msgid "Network Debug and Troubleshooting Guide"
2971msgstr "ネットワークデバッグおよびトラブルシューティングガイド"
2972
2973#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:7
2974msgid "This section discusses how to debug and troubleshoot network modules in Ansible."
2975msgstr "本セクションでは、Ansible でネットワークモジュールをデバッグし、トラブルシューティングを行う方法を説明します。"
2976
2977#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:14
2978msgid "How to troubleshoot"
2979msgstr "トラブルシューティングの方法"
2980
2981#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:16
2982msgid "Ansible network automation errors generally fall into one of the following categories:"
2983msgstr "Ansible ネットワーク自動化エラーは通常、以下のカテゴリーのいずれかに分類されます。"
2984
2985#: ../../rst/network/user_guide/network_debug_troubleshooting.rst
2986msgid "Authentication issues"
2987msgstr "認証の問題"
2988
2989#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:19
2990msgid "Not correctly specifying credentials"
2991msgstr "認証情報を正しく指定できない"
2992
2993#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:20
2994msgid "Remote device (network switch/router) not falling back to other other authentication methods"
2995msgstr "リモートデバイス (ネットワークスイッチ/ルーター) が他の認証方法にフォールバックしない"
2996
2997#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:21
2998msgid "SSH key issues"
2999msgstr "SSH キーの問題"
3000
3001#: ../../rst/network/user_guide/network_debug_troubleshooting.rst
3002#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:439
3003msgid "Timeout issues"
3004msgstr "タイムアウトの問題"
3005
3006#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:23
3007msgid "Can occur when trying to pull a large amount of data"
3008msgstr "大量のデータを取得しようとすると発生することがある"
3009
3010#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:24
3011msgid "May actually be masking a authentication issue"
3012msgstr "認証の問題を実際にマスクする可能性がある"
3013
3014#: ../../rst/network/user_guide/network_debug_troubleshooting.rst
3015#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:600
3016msgid "Playbook issues"
3017msgstr "Playbook の問題"
3018
3019#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:26
3020msgid "Use of ``delegate_to``, instead of ``ProxyCommand``. See :ref:`network proxy guide <network_delegate_to_vs_ProxyCommand>` for more information."
3021msgstr "``ProxyCommand`` の代わりに ``delegate_to`` を使用します。詳細は、「:ref:`ネットワークプロキシーガイド <network_delegate_to_vs_ProxyCommand>`」を参照してください。"
3022
3023#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:28
3024msgid "``unable to open shell``"
3025msgstr "``unable to open shell``"
3026
3027#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:30
3028msgid "The ``unable to open shell`` message means that the ``ansible-connection`` daemon has not been able to successfully talk to the remote network device. This generally means that there is an authentication issue. See the \"Authentication and connection issues\" section in this document for more information."
3029msgstr "``unable to open shell`` メッセージは、``ansible-connection`` デーモンがリモートネットワークデバイスと正常に通信できなかったことを示します。これは通常、認証の問題があることを意味します。詳細については、このドキュメントの「認証と接続の問題」を参照してください。"
3030
3031#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:37
3032msgid "Enabling Networking logging and how to read the logfile"
3033msgstr "ネットワークロギングの有効化とログファイルの読み取り方法"
3034
3035#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:39
3036#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:96
3037#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:156
3038#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:199
3039#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:256
3040#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:294
3041#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:321
3042#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:426
3043msgid "**Platforms:** Any"
3044msgstr "**プラットフォーム:** 任意"
3045
3046#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:41
3047msgid "Ansible includes logging to help diagnose and troubleshoot issues regarding Ansible Networking modules."
3048msgstr "Ansible には、Ansible ネットワークモジュールに関する問題の診断とトラブルシューティングに役立つロギングが含まれます。"
3049
3050#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:43
3051msgid "Because logging is very verbose, it is disabled by default. It can be enabled with the :envvar:`ANSIBLE_LOG_PATH` and :envvar:`ANSIBLE_DEBUG` options on the ansible-controller, that is the machine running ``ansible-playbook``."
3052msgstr "ロギングは非常に詳細なため、デフォルトでは無効になっています。これは、ansible-controller の :envvar:`ANSIBLE_LOG_PATH` オプションおよび :envvar:`ANSIBLE_DEBUG` オプションで有効にできます。これは、``ansible-playbook`` を実行しているマシンです。"
3053
3054#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:45
3055msgid "Before running ``ansible-playbook``, run the following commands to enable logging::"
3056msgstr "``ansible-playbook`` を実行する前に、以下のコマンドを実行してロギングを有効にします。"
3057
3058#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:55
3059msgid "After Ansible has finished running you can inspect the log file which has been created on the ansible-controller:"
3060msgstr "Ansible の実行が完了したら、ansible-controller で作成されたログファイルを確認できます。"
3061
3062#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:73
3063msgid "From the log notice:"
3064msgstr "このログ通知は、以下のようになります。"
3065
3066#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:75
3067msgid "``p=28990`` Is the PID (Process ID) of the ``ansible-connection`` process"
3068msgstr "``p=28990`` ``ansible-connection`` プロセスの PID (プロセス ID) です。"
3069
3070#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:76
3071msgid "``u=fred`` Is the user `running` ansible, not the remote-user you are attempting to connect as"
3072msgstr "``u=fred`` ansible を `実行` しているユーザーです (接続しようとしているリモートユーザーではありません)。"
3073
3074#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:77
3075msgid "``creating new control socket for host veos01:22 as user admin`` host:port as user"
3076msgstr "``ホスト veos01:22 の新しいコントロールソケットをユーザー管理者`` ユーザーとして host:port"
3077
3078#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:78
3079msgid "``control socket path is`` location on disk where the persistent connection socket is created"
3080msgstr "``control socket path is`` 永続接続ソケットが作成されるディスクの場所"
3081
3082#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:79
3083msgid "``using connection plugin network_cli`` Informs you that persistent connection is being used"
3084msgstr "``using connection plugin network_cli`` 永続接続が使用されていることが通知されます。"
3085
3086#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:80
3087msgid "``connection established to veos01 in 0:00:22.580626`` Time taken to obtain a shell on the remote device"
3088msgstr "``connection established to veos01 in 0:00:22.580626`` リモートデバイスでシェルの取得にかかった時間"
3089
3090#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:88
3091msgid "Because the log files are verbose, you can use grep to look for specific information. For example, once you have identified the ``pid`` from the ``creating new control socket for host`` line you can search for other connection log entries::"
3092msgstr "ログファイルは冗長であるため、grepを使用して特定の情報を検索できます。たとえば、``creating new control socket for host`` 行から ``pid`` を特定したら、他の接続ログエントリーを検索できます。"
3093
3094#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:94
3095msgid "Enabling Networking device interaction logging"
3096msgstr "ネットワークデバイスの対話ロギングの有効化"
3097
3098#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:98
3099msgid "Ansible includes logging of device interaction in the log file to help diagnose and troubleshoot issues regarding Ansible Networking modules. The messages are logged in the file pointed to by the ``log_path`` configuration option in the Ansible configuration file or by setting the  :envvar:`ANSIBLE_LOG_PATH`."
3100msgstr "Ansible には、Ansible ネットワークモジュールに関する問題の診断およびトラブルシューティングに役立つ、ログファイル内のデバイスの対話のログが含まれています。このメッセージは、Ansible 設定ファイルの ``log_path`` 設定オプションで指定されているファイルに記録されるか、:envvar:`ANSIBLE_LOG_PATH` を設定すると記録されます。"
3101
3102#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:103
3103msgid "The device interaction messages consist of command executed on the target device and the returned response. Since this log data can contain sensitive information including passwords in plain text it is disabled by default. Additionally, in order to prevent accidental leakage of data, a warning will be shown on every task with this setting enabled, specifying which host has it enabled and where the data is being logged."
3104msgstr "デバイスインタラクションメッセージは、ターゲットデバイス上で実行されたコマンドと返された応答で構成されます。このログデータには、パスワードなどの機密情報がプレーンテキストの形式で含まれる可能性があるため、デフォルトでは無効になっています。また、誤ってデータが漏洩しないように、この設定が有効になっているすべてのタスクに警告が表示され、有効になっているホストとデータが記録される場所が指定されます。"
3105
3106#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:108
3107msgid "Be sure to fully understand the security implications of enabling this option. The device interaction logging can be enabled either globally by setting in configuration file or by setting environment or enabled on per task basis by passing a special variable to the task."
3108msgstr "このオプションを有効にした場合のセキュリティーへの影響を完全に理解してください。デバイス対話ロギングは、設定ファイルでグローバルに設定するか、環境を設定して有効にするか、または特殊な変数をタスクに渡すことでタスクごとに有効にすることができます。"
3109
3110#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:110
3111msgid "Before running ``ansible-playbook`` run the following commands to enable logging:"
3112msgstr "``ansible-playbook`` を実行する前に、以下のコマンドを実行してロギングを有効にします。"
3113
3114#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:118
3115msgid "Enable device interaction logging for a given task"
3116msgstr "特定のタスクのデバイス対話ログを有効にします。"
3117
3118#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:130
3119#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:756
3120#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:823
3121msgid "To make this a global setting, add the following to your ``ansible.cfg`` file:"
3122msgstr "この設定をグローバルにするには、以下の設定を ``ansible.cfg`` ファイルに追加します。"
3123
3124#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:137
3125msgid "or enable the environment variable `ANSIBLE_PERSISTENT_LOG_MESSAGES`:"
3126msgstr "または、環境変数 `ANSIBLE_PERSISTENT_LOG_MESSAGES` を有効にします。"
3127
3128#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:144
3129msgid "If the task is failing on connection initialization itself, you should enable this option globally. If an individual task is failing intermittently this option can be enabled for that task itself to find the root cause."
3130msgstr "タスク自体が接続の初期化に失敗している場合は、このオプションをグローバルに有効にする必要があります。個々のタスクが断続的に失敗する場合は、そのタスク自体に対してこのオプションを有効にして、根本原因を見つけることができます。"
3131
3132#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:147
3133msgid "After Ansible has finished running you can inspect the log file which has been created on the ansible-controller"
3134msgstr "Ansible の実行が完了したら、ansible-controller で作成されたログファイルを確認できます。"
3135
3136#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:149
3137msgid "Be sure to fully understand the security implications of enabling this option as it can log sensitive information in log file thus creating security vulnerability."
3138msgstr "このオプションを有効にすると、ログファイルに機密情報が記録され、セキュリティ上の脆弱性が生じる可能性があるため、セキュリティー上の影響を十分に理解してください。"
3139
3140#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:154
3141msgid "Isolating an error"
3142msgstr "エラーの分離"
3143
3144#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:158
3145msgid "As with any effort to troubleshoot it's important to simplify the test case as much as possible."
3146msgstr "トラブルシューティングにおけるあらゆる作業と同様に、テストケースをできるだけ簡略化することが重要です。"
3147
3148#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:160
3149msgid "For Ansible this can be done by ensuring you are only running against one remote device:"
3150msgstr "Ansible の場合は、1 つのリモートデバイスに対してのみ実行するようにすることでこれを行うことができます。"
3151
3152#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:162
3153msgid "Using ``ansible-playbook --limit switch1.example.net...``"
3154msgstr "``ansible-playbook --limit switch1.example.net...`` の使用"
3155
3156#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:163
3157msgid "Using an ad hoc ``ansible`` command"
3158msgstr "``ansible`` アドホックコマンドの使用"
3159
3160#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:165
3161msgid "`ad hoc` refers to running Ansible to perform some quick command using ``/usr/bin/ansible``, rather than the orchestration language, which is ``/usr/bin/ansible-playbook``. In this case we can ensure connectivity by attempting to execute a single command on the remote device::"
3162msgstr "`ad hoc` は、オーケストレーション言語 ``/usr/bin/ansible-playbook`` ではなく、``/usr/bin/ansible`` を使用して簡単なコマンドを実行するために Ansible を実行することを指します。この場合は、リモートデバイスで 1 つのコマンドを実行することで、接続を確認できます。"
3163
3164#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:169
3165msgid "In the above example, we:"
3166msgstr "上記の例では、以下を行います。"
3167
3168#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:171
3169msgid "connect to ``switch1.example.net`` specified in the inventory file ``inventory``"
3170msgstr "インベントリーファイル ``inventory`` に指定された ``switch1.example.net`` に接続します。"
3171
3172#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:172
3173msgid "use the module ``arista.eos.eos_command``"
3174msgstr "``arista.eos.eos_command`` モジュールの使用"
3175
3176#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:173
3177msgid "run the command ``?``"
3178msgstr "``?`` コマンドの実行"
3179
3180#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:174
3181msgid "connect using the username ``admin``"
3182msgstr "ユーザー名 ``admin`` を使用して接続"
3183
3184#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:175
3185msgid "inform the ``ansible`` command to prompt for the SSH password by specifying ``-k``"
3186msgstr "``-k`` を指定して SSH パスワードを要求するように、``ansible`` コマンドに通知"
3187
3188#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:177
3189msgid "If you have SSH keys configured correctly, you don't need to specify the ``-k`` parameter."
3190msgstr "SSH キーが正しく設定されている場合は、``-k`` パラメーターを指定する必要はありません。"
3191
3192#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:179
3193msgid "If the connection still fails you can combine it with the enable_network_logging parameter. For example:"
3194msgstr "それでも接続が失敗した場合は、これを enable_network_logging パラメーターと組み合わせることができます。以下に例を示します。"
3195
3196#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:190
3197msgid "Then review the log file and find the relevant error message in the rest of this document."
3198msgstr "次に、ログファイルを確認し、このドキュメントの残りの部分で、関連するエラーメッセージを見つけます。"
3199
3200#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:197
3201msgid "Troubleshooting socket path issues"
3202msgstr "ソケットパスの問題のトラブルシューティング"
3203
3204#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:201
3205msgid "The ``Socket path does not exist or cannot be found``  and ``Unable to connect to socket`` messages indicate that the socket used to communicate with the remote network device is unavailable or does not exist."
3206msgstr "``Socket path does not exist or cannot be found`` メッセージおよび ``Unable to connect to socket``メッセージは、リモートネットワークデバイスとの通信に使用されるソケットが利用できないか、存在しないことを示しています。"
3207
3208#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:216
3209#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:241
3210#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:378
3211msgid "or"
3212msgstr "または"
3213
3214#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:229
3215#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:283
3216#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:309
3217#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:335
3218#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:369
3219#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:419
3220#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:450
3221#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:476
3222#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:502
3223#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:513
3224#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:539
3225#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:623
3226#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:795
3227msgid "Suggestions to resolve:"
3228msgstr "解決するためのヒント:"
3229
3230#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:231
3231msgid "Verify that you have write access to the socket path described in the error message."
3232msgstr "エラーメッセージに記載されているソケットパスへの書き込み権限があることを確認します。"
3233
3234#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:233
3235msgid "Follow the steps detailed in :ref:`enable network logging <enable_network_logging>`."
3236msgstr "「:ref:`ネットワークロギングの有効化 <enable_network_logging>`」記載される手順に従ってください。"
3237
3238#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:235
3239msgid "If the identified error message from the log file is:"
3240msgstr "ログファイルから特定されたエラーメッセージが以下の場合は、"
3241
3242#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:247
3243msgid "Follow the steps detailed in :ref:`timeout issues <timeout_issues>`"
3244msgstr "「:ref:`タイムアウトの問題 <timeout_issues>`」に記載の手順に従ってください。"
3245
3246#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:253
3247msgid "Category \"Unable to open shell\""
3248msgstr "Category \"Unable to open shell\""
3249
3250#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:258
3251msgid "The ``unable to open shell`` message means that the ``ansible-connection`` daemon has not been able to successfully talk to the remote network device. This generally means that there is an authentication issue. It is a \"catch all\" message, meaning you need to enable :ref:`logging <a_note_about_logging>` to find the underlying issues."
3252msgstr "``unable to open shell`` メッセージは、``ansible-connection`` デーモンがリモートネットワークデバイスと正常に通信できなかったことを示します。これは通常、認証の問題があることを意味します。これは「catch all (全て取得する)」メッセージです。つまり、:ref:`logging <a_note_about_logging>` を有効にして、根本的な問題を検出する必要があります。"
3253
3254#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:270
3255msgid "or:"
3256msgstr "または"
3257
3258#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:285
3259msgid "Follow the steps detailed in enable_network_logging_."
3260msgstr "enable_network_logging_ に記載の手順に従います。"
3261
3262#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:287
3263msgid "Once you've identified the error message from the log file, the specific solution can be found in the rest of this document."
3264msgstr "ログファイルからエラーメッセージが特定できたら、特定の解決方法は、本ガイドのその他のセクションを参照してください。"
3265
3266#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:292
3267msgid "Error: \"[Errno -2] Name or service not known\""
3268msgstr "Error: \"[Errno -2] Name or service not known\""
3269
3270#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:296
3271msgid "Indicates that the remote host you are trying to connect to can not be reached"
3272msgstr "接続しようとしているリモートホストに到達できないことを示します。"
3273
3274#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:311
3275msgid "If you are using the ``provider:`` options ensure that its suboption ``host:`` is set correctly."
3276msgstr "``provider:`` オプションを使用している場合は、サブオプション ``host:`` が正しく設定されていることを確認します。"
3277
3278#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:312
3279msgid "If you are not using ``provider:`` nor top-level arguments ensure your inventory file is correct."
3280msgstr "``provider:`` またはトップレベルの引数を使用しない場合には、インベントリーファイルが正しいことを確認してください。"
3281
3282#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:319
3283msgid "Error: \"Authentication failed\""
3284msgstr "Error: \"Authentication failed\""
3285
3286#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:323
3287msgid "Occurs if the credentials (username, passwords, or ssh keys) passed to ``ansible-connection`` (via ``ansible`` or ``ansible-playbook``) can not be used to connect to the remote device."
3288msgstr "(``ansible`` または ``ansible-playbook`` を使用して) ``ansible-connection`` に渡される認証情報 (ユーザー名、パスワード、または ssh キー) を使用してリモートデバイスに接続できない場合に発生します。"
3289
3290#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:337
3291msgid "If you are specifying credentials via ``password:`` (either directly or via ``provider:``) or the environment variable `ANSIBLE_NET_PASSWORD` it is possible that ``paramiko`` (the Python SSH library that Ansible uses) is using ssh keys, and therefore the credentials you are specifying are being ignored. To find out if this is the case, disable \"look for keys\". This can be done like this:"
3292msgstr "(直接または ``provider:`` を使用して) ``password:`` で認証情報を指定する場合や、環境変数 `ANSIBLE_NET_PASSWORD` を指定する場合は、``paramiko`` (Ansible が使用する Python SSH ライブラリー) が ssh キーを使用している可能性があるため、指定する認証情報が無効になります。これを確認するには、「look for keys」を無効にします。これは次のように行います。"
3293
3294#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:343
3295#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:458
3296#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:485
3297#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:550
3298msgid "To make this a permanent change, add the following to your ``ansible.cfg`` file:"
3299msgstr "これを永続的に行うには、以下を ``ansible.cfg`` ファイルに追加します。"
3300
3301#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:352
3302msgid "Error: \"connecting to host <hostname> returned an error\" or \"Bad address\""
3303msgstr "Error: \"connecting to host <hostname> returned an error\" or \"Bad address\""
3304
3305#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:354
3306msgid "This may occur if the SSH fingerprint hasn't been added to Paramiko's (the Python SSH library) know hosts file."
3307msgstr "これは、SSH フィンガープリントが Paramiko の既知のホストファイル (Python SSH ライブラリー) に追加されていない場合に発生する可能性があります。"
3308
3309#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:356
3310msgid "When using persistent connections with Paramiko, the connection runs in a background process.  If the host doesn't already have a valid SSH key, by default Ansible will prompt to add the host key.  This will cause connections running in background processes to fail."
3311msgstr "Paramiko で永続的な接続を使用する場合、接続はバックグラウンドプロセスで実行します。ホストが有効な SSH キーを持っていない場合、Ansible はデフォルトでホストキーを追加するようプロンプトを出します。これにより、バックグラウンドプロセスで実行中の接続が失敗します。"
3312
3313#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:371
3314msgid "Use ``ssh-keyscan`` to pre-populate the known_hosts. You need to ensure the keys are correct."
3315msgstr "``ssh-keyscan`` を使用して known_hosts を事前に設定します。キーが正しいことを確認してください。"
3316
3317#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:380
3318msgid "You can tell Ansible to automatically accept the keys"
3319msgstr "鍵を自動的に受け入れるように Ansible に設定できます。"
3320
3321#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:382
3322msgid "Environment variable method::"
3323msgstr "環境変数メソッド::"
3324
3325#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:387
3326msgid "``ansible.cfg`` method:"
3327msgstr "``ansible.cfg`` メソッド:"
3328
3329#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:389
3330msgid "ansible.cfg"
3331msgstr "ansible.cfg"
3332
3333#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:403
3334msgid "Error: \"No authentication methods available\""
3335msgstr "Error: \"No authentication methods available\""
3336
3337#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:421
3338msgid "No password or SSH key supplied"
3339msgstr "パスワードまたは SSH キーが指定されていない"
3340
3341#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:424
3342msgid "Clearing Out Persistent Connections"
3343msgstr "永続的な接続を解除"
3344
3345#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:428
3346msgid "In Ansible 2.3, persistent connection sockets are stored in ``~/.ansible/pc`` for all network devices.  When an Ansible playbook runs, the persistent socket connection is displayed when verbose output is specified."
3347msgstr "Ansible 2.3 では、すべてのネットワークデバイスの永続的な接続ソケットが ``~/.ansible/pc`` に保存されます。Ansible Playbook が実行すると、詳細な出力が指定されている場合に永続的なソケット接続が表示されます。"
3348
3349#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:430
3350msgid "``<switch> socket_path: /home/fred/.ansible/pc/f64ddfa760``"
3351msgstr "``<switch> socket_path: /home/fred/.ansible/pc/f64ddfa760``"
3352
3353#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:432
3354msgid "To clear out a persistent connection before it times out (the default timeout is 30 seconds of inactivity), simple delete the socket file."
3355msgstr "タイムアウトする前に永続的な接続 (デフォルトのタイムアウトが 30 秒の非アクティブタイムアウト) を削除するには、ソケットファイルを簡単な削除します。"
3356
3357#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:442
3358msgid "Persistent connection idle timeout"
3359msgstr "永続的な接続アイドルタイムアウト"
3360
3361#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:444
3362msgid "By default, ``ANSIBLE_PERSISTENT_CONNECT_TIMEOUT`` is set to 30 (seconds). You may see the following error if this value is too low:"
3363msgstr "デフォルトでは、``ANSIBLE_PERSISTENT_CONNECT_TIMEOUT`` は 30 (秒) に設定されます。この値が低すぎると、以下のエラーが表示される可能性があります。"
3364
3365#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:452
3366msgid "Increase value of persistent connection idle timeout:"
3367msgstr "永続的な接続アイドルタイムアウトの値を大きくします。"
3368
3369#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:466
3370msgid "Command timeout"
3371msgstr "コマンドタイムアウト"
3372
3373#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:468
3374msgid "By default, ``ANSIBLE_PERSISTENT_COMMAND_TIMEOUT`` is set to 30 (seconds). Prior versions of Ansible had this value set to 10 seconds by default. You may see the following error if this value is too low:"
3375msgstr "デフォルトでは、``ANSIBLE_PERSISTENT_COMMAND_TIMEOUT`` は 30 (秒) に設定されます。Ansible の以前のバージョンでは、デフォルトでこの値を 10 秒に設定されています。この値が低すぎると、以下のエラーが発生する可能性があります。"
3376
3377#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:478
3378msgid "Option 1 (Global command timeout setting): Increase value of command timeout in configuration file or by setting environment variable."
3379msgstr "オプション 1 (グローバルコマンドのタイムアウト設定): 設定ファイル、または環境変数を設定してコマンドタイムアウトの値を増やします。"
3380
3381#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:492
3382msgid "Option 2 (Per task command timeout setting): Increase command timeout per task basis. All network modules support a timeout value that can be set on a per task basis. The timeout value controls the amount of time in seconds before the task will fail if the command has not returned."
3383msgstr "オプション 2 (タスクごとのコマンドのタイムアウト設定): タスクごとにコマンドタイムアウトを増やします。すべてのネットワークモジュールは、タスクごとに設定できるタイムアウト値をサポートしています。タイムアウト値は、コマンドが返されなかった場合にタスクが失敗するまでの時間を秒単位で制御します。"
3384
3385#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:498
3386msgid "For local connection type:"
3387msgstr "ローカル接続タイプの場合:"
3388
3389#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:523
3390msgid "Some operations take longer than the default 30 seconds to complete.  One good example is saving the current running config on IOS devices to startup config. In this case, changing the timeout value from the default 30 seconds to 60 seconds will prevent the task from failing before the command completes successfully."
3391msgstr "一部の操作は、完了までにデフォルトの 30 秒より長くかかります。たとえば、IOS デバイス上の現在の実行設定をスタートアップ設定に保存します。この場合は、タイムアウト値をデフォルトの 30 秒から 60 秒に変更すると、コマンドが正常に完了する前にタスクが失敗するのを防ぐことができます。"
3392
3393#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:530
3394msgid "Persistent connection retry timeout"
3395msgstr "永続的な接続の再試行タイムアウト"
3396
3397#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:532
3398msgid "By default, ``ANSIBLE_PERSISTENT_CONNECT_RETRY_TIMEOUT`` is set to 15 (seconds). You may see the following error if this value is too low:"
3399msgstr "デフォルトでは、``ANSIBLE_PERSISTENT_CONNECT_RETRY_TIMEOUT`` は 15 (秒) に設定されます。この値が低すぎると、以下のエラーが表示される可能性があります。"
3400
3401#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:541
3402msgid "Increase the value of the persistent connection idle timeout. Note: This value should be greater than the SSH timeout value (the timeout value under the defaults section in the configuration file) and less than the value of the persistent connection idle timeout (connect_timeout)."
3403msgstr "持続的接続アイドルタイムアウトの値を増やします。注意: この値は、SSH タイムアウト値 (設定ファイルのデフォルトセクションの下のタイムアウト値) より大きく、永続的接続アイドルタイムアウト値 (connect_timeout) より小さくする必要があります。"
3404
3405#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:559
3406msgid "Timeout issue due to platform specific login menu with ``network_cli`` connection type"
3407msgstr "``network_cli`` 接続タイプを持つプラットフォーム固有のログインメニューによるタイムアウトの問題"
3408
3409#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:561
3410msgid "In Ansible 2.9 and later, the network_cli connection plugin configuration options are added to handle the platform specific login menu. These options can be set as group/host or tasks variables."
3411msgstr "Ansible 2.9 以降では、プラットフォーム固有のログインメニューを処理するために network_cli 接続プラグイン設定オプションが追加されました。これらのオプションは、グループ/ホストまたはタスク変数として設定できます。"
3412
3413#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:565
3414msgid "Example: Handle single login menu prompts with host variables"
3415msgstr "例: ホスト変数を使用した 1 つのログインメニュープロンプトを処理します。"
3416
3417#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:576
3418msgid "Example: Handle remote host multiple login menu prompts with host variables"
3419msgstr "例: ホスト変数を使用したリモートホストの複数のログインメニュープロンプトを処理します。"
3420
3421#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:590
3422msgid "To handle multiple login menu prompts:"
3423msgstr "複数のログインメニュープロンプトを処理するには、以下を行います。"
3424
3425#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:592
3426msgid "The values of ``ansible_terminal_initial_prompt`` and ``ansible_terminal_initial_answer`` should be a list."
3427msgstr "``ansible_terminal_initial_prompt`` および ``ansible_terminal_initial_answer`` の値は一覧形式である必要があります。"
3428
3429#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:593
3430msgid "The prompt sequence should match the answer sequence."
3431msgstr "プロンプトシーケンスは、応答シーケンスに一致する必要があります。"
3432
3433#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:594
3434msgid "The value of ``ansible_terminal_initial_prompt_checkall`` should be set to ``True``."
3435msgstr "``ansible_terminal_initial_prompt_checkall`` の値は ``True`` に設定する必要があります。"
3436
3437#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:596
3438msgid "If all the prompts in sequence are not received from remote host at the time connection initialization it will result in a timeout."
3439msgstr "接続の初期化時に、リモートホストからシーケンス内のすべてのプロンプトを受け取らないと、タイムアウトが生じます。"
3440
3441#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:602
3442msgid "This section details issues are caused by issues with the Playbook itself."
3443msgstr "本セクションでは、Playbook 自体の問題が原因で発生する問題を詳しく説明します。"
3444
3445#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:605
3446msgid "Error: \"Unable to enter configuration mode\""
3447msgstr "Error: \"Unable to enter configuration mode\""
3448
3449#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:607
3450msgid "**Platforms:** Arista EOS and Cisco IOS"
3451msgstr "**プラットフォーム:** Arista EOS および Cisco IOS"
3452
3453#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:609
3454msgid "This occurs when you attempt to run a task that requires privileged mode in a user mode shell."
3455msgstr "これは、ユーザーモードシェルで特権モードを必要とするタスクを実行しようとすると発生します。"
3456
3457#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:625
3458msgid "Use ``connection: ansible.netcommon.network_cli`` and ``become: yes``"
3459msgstr "``connection: ansible.netcommon.network_cli`` および ``become: yes`` の使用"
3460
3461#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:629
3462msgid "Proxy Issues"
3463msgstr "プロキシーの問題"
3464
3465#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:634
3466msgid "delegate_to vs ProxyCommand"
3467msgstr "delegate_to 対 ProxyCommand"
3468
3469#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:636
3470msgid "In order to use a bastion or intermediate jump host to connect to network devices over ``cli`` transport, network modules support the use of ``ProxyCommand``."
3471msgstr "bastion または中間ジャンプホストを使用して ``cli`` トランスポートでネットワークデバイスに接続するために、ネットワークモジュールは ``ProxyCommand`` の使用に対応します。"
3472
3473#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:639
3474msgid "To use ``ProxyCommand``, configure the proxy settings in the Ansible inventory file to specify the proxy host."
3475msgstr "``ProxyCommand`` を使用するには、Ansible インベントリーファイルでプロキシー設定を設定して、プロキシーホストを指定します。"
3476
3477#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:652
3478msgid "With the configuration above, simply build and run the playbook as normal with no additional changes necessary.  The network module will now connect to the network device by first connecting to the host specified in ``ansible_ssh_common_args``, which is ``bastion01`` in the above example."
3479msgstr "上記の設定では、追加の変更を必要とせずに、通常どおり Playbook をビルドして実行します。ネットワークモジュールは、最初に ``ansible_ssh_common_args`` で指定したホスト (上記の例は ``bastion01``) に接続して、ネットワークデバイスに接続します。"
3480
3481#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:657
3482msgid "You can also set the proxy target for all hosts by using environment variables."
3483msgstr "環境変数を使用して、すべてのホストのプロキシーターゲットを設定することもできます。"
3484
3485#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:664
3486msgid "Using bastion/jump host with netconf connection"
3487msgstr "netconf 接続での bastion/ジャンプホストの使用"
3488
3489#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:667
3490msgid "Enabling jump host setting"
3491msgstr "ジャンプホスト設定の有効化"
3492
3493#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:673
3494msgid "Bastion/jump host with netconf connection can be enabled by:"
3495msgstr "netconf 接続を持つ bastion/ジャンプホストは、以下で有効にできます。"
3496
3497#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:671
3498msgid "Setting Ansible variable ``ansible_netconf_ssh_config`` either to ``True`` or custom ssh config file path"
3499msgstr "Ansible 変数 ``ansible_netconf_ssh_config`` を ``True`` またはカスタムの ssh 設定ファイルパスに設定"
3500
3501#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:672
3502msgid "Setting environment variable ``ANSIBLE_NETCONF_SSH_CONFIG`` to ``True`` or custom ssh config file path"
3503msgstr "環境変数 ``ANSIBLE_NETCONF_SSH_CONFIG`` を ``True`` またはカスタムの ssh 設定ファイルパスに設定"
3504
3505#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:673
3506msgid "Setting ``ssh_config = 1`` or ``ssh_config = <ssh-file-path>`` under ``netconf_connection`` section"
3507msgstr "``ssh_config = 1`` セクションの下に ``ssh_config = <ssh-file-path>`` または ``netconf_connection`` の設定"
3508
3509#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:675
3510msgid "If the configuration variable is set to 1 the proxycommand and other ssh variables are read from default ssh config file (~/.ssh/config)."
3511msgstr "設定変数が 1 に設定されている場合、proxycommand およびその他の ssh 変数はデフォルトの ssh 設定ファイル (~/.ssh/config) から読み込まれます。"
3512
3513#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:678
3514msgid "If the configuration variable is set to file path the proxycommand and other ssh variables are read from the given custom ssh file path"
3515msgstr "設定変数がファイルパスに設定されていると、proxycommand およびその他の ssh 変数は指定のカスタム ssh ファイルパスから読み込まれます。"
3516
3517#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:682
3518msgid "Example ssh config file (~/.ssh/config)"
3519msgstr "ssh 設定ファイルの例 (~/.ssh/config)"
3520
3521#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:709
3522msgid "Example Ansible inventory file"
3523msgstr "Ansible インベントリーファイルの例"
3524
3525#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:723
3526msgid "Using ``ProxyCommand`` with passwords via variables"
3527msgstr "変数を介したパスワードでの ``ProxyCommand`` の使用"
3528
3529#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:725
3530msgid "By design, SSH doesn't support providing passwords via environment variables. This is done to prevent secrets from leaking out, for example in ``ps`` output."
3531msgstr "設計上、SSH は環境変数経由でパスワードの提供をサポートしません。これは、``ps`` の出力など、シークレットがリークしないようにします。"
3532
3533#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:728
3534msgid "We recommend using SSH Keys, and if needed an ssh-agent, rather than passwords, where ever possible."
3535msgstr "SSH 鍵を使用することを推奨します。必要に応じて、可能な場合は、パスワードではなく ssh-agent を使用することが推奨されます。"
3536
3537#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:731
3538msgid "Miscellaneous Issues"
3539msgstr "その他の問題"
3540
3541#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:735
3542msgid "Intermittent failure while using ``ansible.netcommon.network_cli`` connection type"
3543msgstr "``ansible.netcommon.network_cli`` 接続タイプの使用中に断続的な失敗"
3544
3545#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:737
3546msgid "If the command prompt received in response is not matched correctly within the ``ansible.netcommon.network_cli`` connection plugin the task might fail intermittently with truncated response or with the error message ``operation requires privilege escalation``. Starting in 2.7.1 a new buffer read timer is added to ensure prompts are matched properly and a complete response is send in output. The timer default value is 0.2 seconds and can be adjusted on a per task basis or can be set globally in seconds."
3547msgstr "応答で受け取ったコマンドプロンプトが ``ansible.netcommon.network_cli`` 接続プラグイン内で正しく一致しないと、タスクが断続的に失敗し、応答が切り捨てられるか、エラーメッセージ ``operation requires privilege escalation`` が表示されることがあります。2.7.1 以降、プロンプトが正しく一致し、完全な応答が出力に送信されるように、新しいバッファ読み取りタイマーが追加されました。タイマーのデフォルト値は 0.2 秒で、タスクごとに調整することも、秒単位でグローバルに設定することもできます。"
3548
3549#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:744
3550msgid "Example Per task timer setting"
3551msgstr "タスクタイマーごとの設定例"
3552
3553#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:763
3554msgid "This timer delay per command executed on remote host can be disabled by setting the value to zero."
3555msgstr "リモートホストで実行されるコマンド別のこのタイマー遅延は、値をゼロに設定すると無効にできます。"
3556
3557#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:767
3558msgid "Task failure due to mismatched error regex within command response using ``ansible.netcommon.network_cli`` connection type"
3559msgstr "``ansible.netcommon.network_cli`` 接続タイプを使用したコマンド応答内のエラー正規表現の不一致によるタスクの失敗"
3560
3561#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:769
3562msgid "In Ansible 2.9 and later, the ``ansible.netcommon.network_cli`` connection plugin configuration options are added to handle the stdout and stderr regex to identify if the command execution response consist of a normal response or an error response. These options can be set group/host variables or as tasks variables."
3563msgstr "Ansible 2.9 以降では、``ansible.netcommon.network_cli`` 接続プラグイン設定オプションが追加され、標準出力と標準エラーの正規表現を処理して、コマンド実行応答が通常の応答かエラー応答かを識別します。これらのオプションは、グループ/ホスト変数またはタスク変数として設定できます。"
3564
3565#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:774
3566msgid "Example: For mismatched error response"
3567msgstr "例: 不一致のエラー応答の場合"
3568
3569#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:784
3570msgid "Playbook run output:"
3571msgstr "Playbook 実行の出力:"
3572
3573#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:797
3574msgid "Modify the error regex for individual task."
3575msgstr "個々のタスクのエラー正規表現を変更します。"
3576
3577#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:810
3578msgid "The terminal plugin regex options ``ansible_terminal_stderr_re`` and ``ansible_terminal_stdout_re`` have ``pattern`` and ``flags`` as keys. The value of the ``flags`` key should be a value that is accepted by the ``re.compile`` python method."
3579msgstr "端末プラグインの正規表現オプション ``ansible_terminal_stderr_re`` および ``ansible_terminal_stdout_re`` は、``pattern`` と ``flags`` をキーとします。``flags`` キーの値は、``re.compile`` python メソッドで許可される値である必要があります。"
3580
3581#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:816
3582msgid "Intermittent failure while using ``ansible.netcommon.network_cli`` connection type due to slower network or remote target host"
3583msgstr "低速ネットワークまたはリモートターゲットホストによる ``ansible.netcommon.network_cli`` 接続タイプの使用時の断続的な失敗"
3584
3585#: ../../rst/network/user_guide/network_debug_troubleshooting.rst:818
3586msgid "In Ansible 2.9 and later, the ``ansible.netcommon.network_cli`` connection plugin configuration option is added to control the number of attempts to connect to a remote host. The default number of attempts is three. After every retry attempt the delay between retries is increased by power of 2 in seconds until either the maximum attempts are exhausted or either the ``persistent_command_timeout`` or ``persistent_connect_timeout`` timers are triggered."
3587msgstr "Ansible 2.9 以降では、リモートホストへの接続の試行回数を制御するために、``ansible.netcommon.network_cli`` 接続プラグイン設定オプションが追加されました。デフォルトの試行回数は 3 回です。再試行のたびに、最大試行回数がなくなるか、``persistent_command_timeout`` または ``persistent_connect_timeout`` タイマーのいずれかが発生するまで、再試行間の遅延は 2 の累乗 (秒) ずつ増加します。"
3588
3589#: ../../rst/network/user_guide/network_resource_modules.rst:5
3590msgid "Network Resource Modules"
3591msgstr "ネットワークリソースモジュール"
3592
3593#: ../../rst/network/user_guide/network_resource_modules.rst:7
3594msgid "Ansible network resource modules simplify and standardize how you manage different network devices. Network devices separate configuration into sections (such as interfaces and VLANs) that apply to a network service. Ansible network resource modules take advantage of this to allow you to configure subsections or *resources* within the network device configuration. Network resource modules provide a consistent experience across different network devices."
3595msgstr "Ansible ネットワークリソースモジュールは、さまざまなネットワークデバイスの管理方法を簡素化し、標準化します。ネットワークデバイスは、ネットワークサービスに適用されるセクション (インターフェースや VLAN など) に設定を分割します。Ansible ネットワークリソースモジュールはこれを利用して、ネットワークデバイス設定内でサブセクションや *リソース* を設定することができます。ネットワークリソースモジュールは、異なるネットワークデバイス間で一貫したエクスペリエンスを提供します。"
3596
3597#: ../../rst/network/user_guide/network_resource_modules.rst:14
3598msgid "Network resource module states"
3599msgstr "ネットワークリソースモジュールの状態"
3600
3601#: ../../rst/network/user_guide/network_resource_modules.rst:16
3602msgid "You use the network resource modules by assigning a state to what you want the module to do. The resource modules support the following states:"
3603msgstr "モジュールの動作に状態を割り当てて、ネットワークリソースモジュールを使用します。リソースモジュールは以下の状態をサポートします。"
3604
3605#: ../../rst/network/user_guide/network_resource_modules.rst:40
3606msgid "Using network resource modules"
3607msgstr "ネットワークリソースモジュールの使用"
3608
3609#: ../../rst/network/user_guide/network_resource_modules.rst:42
3610msgid "This example configures the L3 interface resource on a Cisco IOS device, based on different state settings."
3611msgstr "この例では、異なる状態設定に基づいて、Cisco IOS デバイスで L3 インターフェースリソースを設定します。"
3612
3613#: ../../rst/network/user_guide/network_resource_modules.rst:51
3614msgid "The following table shows an example of how an initial resource configuration changes with this task for different states."
3615msgstr "以下の表は、このタスクで初期リソースの設定が異なる状態で変化する例を示しています。"
3616
3617#: ../../rst/network/user_guide/network_resource_modules.rst:54
3618msgid "Resource starting configuration"
3619msgstr "リソース起動の設定"
3620
3621#: ../../rst/network/user_guide/network_resource_modules.rst:54
3622msgid "task-provided configuration (YAML)"
3623msgstr "タスク提供設定 (YAML)"
3624
3625#: ../../rst/network/user_guide/network_resource_modules.rst:54
3626msgid "Final resource configuration on device"
3627msgstr "デバイスの最終的なリソース設定"
3628
3629#: ../../rst/network/user_guide/network_resource_modules.rst:61
3630msgid "*merged*"
3631msgstr "*マージ*"
3632
3633#: ../../rst/network/user_guide/network_resource_modules.rst:69
3634msgid "*replaced*"
3635msgstr "*置き換え済*"
3636
3637#: ../../rst/network/user_guide/network_resource_modules.rst:73
3638msgid "*overridden*"
3639msgstr "*上書き済*"
3640
3641#: ../../rst/network/user_guide/network_resource_modules.rst:73
3642msgid "Incorrect use case. This would remove all interfaces from the device"
3643msgstr "誤ったユースケース。これにより、デバイスからすべてのインターフェースが削除されます。"
3644
3645#: ../../rst/network/user_guide/network_resource_modules.rst:75
3646msgid "(including the mgmt interface) except"
3647msgstr "(mgmt インターフェースを含む) 以下を除く"
3648
3649#: ../../rst/network/user_guide/network_resource_modules.rst:76
3650msgid "the configured loopback100"
3651msgstr "設定されている loopback100"
3652
3653#: ../../rst/network/user_guide/network_resource_modules.rst:81
3654msgid "*deleted*"
3655msgstr "*削除済*"
3656
3657#: ../../rst/network/user_guide/network_resource_modules.rst:85
3658msgid "Network resource modules return the following details:"
3659msgstr "ネットワークリソースモジュールは、以下の詳細を返します。"
3660
3661#: ../../rst/network/user_guide/network_resource_modules.rst:87
3662msgid "The *before* state -  the existing resource configuration before the task was executed."
3663msgstr "*before* 状態 - タスクの実行前の既存リソース設定。"
3664
3665#: ../../rst/network/user_guide/network_resource_modules.rst:88
3666msgid "The *after* state - the new resource configuration that exists on the network device after the task was executed."
3667msgstr "*after* 状態 - タスク実行後にネットワークデバイスに存在する新しいリソース設定。"
3668
3669#: ../../rst/network/user_guide/network_resource_modules.rst:89
3670msgid "Commands - any commands configured on the device."
3671msgstr "コマンド - このデバイスに設定されるすべてのコマンド。"
3672
3673#: ../../rst/network/user_guide/network_resource_modules.rst:122
3674msgid "Example: Verifying the network device configuration has not changed"
3675msgstr "例: ネットワークデバイス設定が変更されていないことを確認"
3676
3677#: ../../rst/network/user_guide/network_resource_modules.rst:124
3678msgid "The following playbook uses the :ref:`arista.eos.eos_l3_interfaces <ansible_collections.arista.eos.eos_l3_interfaces_module>` module to gather a subset of the network device configuration (Layer 3 interfaces only) and verifies the information is accurate and has not changed. This playbook passes the results of :ref:`arista.eos.eos_facts <ansible_collections.arista.eos.eos_facts_module>` directly to the ``arista.eos.eos_l3_interfaces`` module."
3679msgstr "以下の Playbook は、:ref:`arista.eos.eos_l3_interfaces <ansible_collections.arista.eos.eos_l3_interfaces_module>` モジュールを使用してネットワークデバイス設定のサブセット (レイヤー 3 インターフェースのみ) を収集し、情報が正確であり、変更されていないことを確認します。この Playbook は、:ref:`arista.eos.eos_facts <ansible_collections.arista.eos.eos_facts_module>` の結果を直接 ``arista.eos.eos_l3_interfaces`` モジュールに渡します。"
3680
3681#: ../../rst/network/user_guide/network_resource_modules.rst:148
3682msgid "Example: Acquiring and updating VLANs on a network device"
3683msgstr "例: ネットワークデバイスの VLAN の調整および更新"
3684
3685#: ../../rst/network/user_guide/network_resource_modules.rst:150
3686msgid "This example shows how you can use resource modules to:"
3687msgstr "以下の例は、リソースモジュールを使用して以下を行う方法を示しています。"
3688
3689#: ../../rst/network/user_guide/network_resource_modules.rst:152
3690msgid "Retrieve the current configuration on a network device."
3691msgstr "ネットワークデバイスの現在の設定を取得します。"
3692
3693#: ../../rst/network/user_guide/network_resource_modules.rst:153
3694msgid "Save that configuration locally."
3695msgstr "その設定をローカルに保存します。"
3696
3697#: ../../rst/network/user_guide/network_resource_modules.rst:154
3698msgid "Update that configuration and apply it to the network device."
3699msgstr "その設定を更新して、ネットワークデバイスに適用します。"
3700
3701#: ../../rst/network/user_guide/network_resource_modules.rst:156
3702msgid "This example uses the ``cisco.ios.ios_vlans`` resource module to retrieve and update the VLANs on an IOS device."
3703msgstr "この例では、``cisco.ios.ios_vlans`` リソースモジュールを使用して、IOS デバイスの VLAN を取得および更新します。"
3704
3705#: ../../rst/network/user_guide/network_resource_modules.rst:158
3706msgid "Retrieve the current IOS VLAN configuration:"
3707msgstr "現在の IOS VLAN 設定を取得します。"
3708
3709#: ../../rst/network/user_guide/network_resource_modules.rst:170
3710msgid "Store the VLAN configuration locally:"
3711msgstr "VLAN 設定をローカルに保存します。"
3712
3713#: ../../rst/network/user_guide/network_resource_modules.rst:179
3714msgid "Modify the stored file to update the VLAN configuration locally."
3715msgstr "保存したファイルを変更して、VLAN 設定をローカルに更新します。"
3716
3717#: ../../rst/network/user_guide/network_resource_modules.rst:181
3718msgid "Merge the updated VLAN configuration with the existing configuration on the device:"
3719msgstr "更新された VLAN 設定を、デバイス上の既存の設定とマージします。"
3720
3721#: ../../rst/network/user_guide/network_resource_modules.rst:193
3722msgid "`Network Features in Ansible 2.9 <https://www.ansible.com/blog/network-features-coming-soon-in-ansible-engine-2.9>`_"
3723msgstr "`Network Features in Ansible 2.9 <https://www.ansible.com/blog/network-features-coming-soon-in-ansible-engine-2.9>`_"
3724
3725#: ../../rst/network/user_guide/network_resource_modules.rst:194
3726msgid "A introductory blog post on network resource modules."
3727msgstr "ネットワークリソースモジュールに関する入門ブログの投稿"
3728
3729#: ../../rst/network/user_guide/network_resource_modules.rst:195
3730msgid "`Deep Dive into Network Resource Modules <https://www.ansible.com/deep-dive-into-ansible-network-resource-module>`_"
3731msgstr "`Deep Dive into Network Resource Modules <https://www.ansible.com/deep-dive-into-ansible-network-resource-module>`_"
3732
3733#: ../../rst/network/user_guide/network_resource_modules.rst:196
3734msgid "A deeper dive presentation into network resource modules."
3735msgstr "ネットワークリソースモジュールの詳細な説明"
3736
3737#: ../../rst/network/user_guide/network_working_with_command_output.rst:5
3738msgid "Working with command output and prompts in network modules"
3739msgstr "ネットワークモジュールのコマンド出力およびプロンプトの使用"
3740
3741#: ../../rst/network/user_guide/network_working_with_command_output.rst:11
3742msgid "Conditionals in networking modules"
3743msgstr "ネットワークモジュールの条件"
3744
3745#: ../../rst/network/user_guide/network_working_with_command_output.rst:13
3746msgid "Ansible allows you to use conditionals to control the flow of your playbooks. Ansible networking command modules use the following unique conditional statements."
3747msgstr "Ansible では、条件を使用して Playbook のフローを制御できます。Ansible ネットワークコマンドモジュールは、以下の固有の条件付きステートメントを使用します。"
3748
3749#: ../../rst/network/user_guide/network_working_with_command_output.rst:15
3750msgid "``eq`` - Equal"
3751msgstr "``eq`` - 等しい"
3752
3753#: ../../rst/network/user_guide/network_working_with_command_output.rst:16
3754msgid "``neq`` - Not equal"
3755msgstr "``neq`` - 等しくない"
3756
3757#: ../../rst/network/user_guide/network_working_with_command_output.rst:17
3758msgid "``gt`` - Greater than"
3759msgstr "``gt`` - より大きい"
3760
3761#: ../../rst/network/user_guide/network_working_with_command_output.rst:18
3762msgid "``ge`` - Greater than or equal"
3763msgstr "``ge`` - より大きいか等しい"
3764
3765#: ../../rst/network/user_guide/network_working_with_command_output.rst:19
3766msgid "``lt`` - Less than"
3767msgstr "``lt`` - より小さい"
3768
3769#: ../../rst/network/user_guide/network_working_with_command_output.rst:20
3770msgid "``le`` - Less than or equal"
3771msgstr "``le`` - より小さいか等しい"
3772
3773#: ../../rst/network/user_guide/network_working_with_command_output.rst:21
3774msgid "``contains`` - Object contains specified item"
3775msgstr "``contains`` - オブジェクトに指定された項目が含まれる"
3776
3777#: ../../rst/network/user_guide/network_working_with_command_output.rst:24
3778msgid "Conditional statements evaluate the results from the commands that are executed remotely on the device.  Once the task executes the command set, the ``wait_for`` argument can be used to evaluate the results before returning control to the Ansible playbook."
3779msgstr "条件文は、デバイス上でリモートに実行されるコマンドの結果を評価します。タスクがコマンドセットを実行すると、Ansible Playbook に制御を戻す前に、``wait_for`` 引数を使用して結果を評価できます。"
3780
3781#: ../../rst/network/user_guide/network_working_with_command_output.rst:29
3782msgid "For example::"
3783msgstr "例::"
3784
3785#: ../../rst/network/user_guide/network_working_with_command_output.rst:39
3786msgid "In the above example task, the command :code:`show interface Ethernet4 | json` is executed on the remote device and the results are evaluated.  If the path :code:`(result[0].interfaces.Ethernet4.interfaceStatus)` is not equal to \"connected\", then the command is retried.  This process continues until either the condition is satisfied or the number of retries has expired (by default, this is 10 retries at 1 second intervals)."
3787msgstr "上記のタスク例では、リモートデバイスで command :code:`show interface Ethernet4 | json` が実行され、結果が評価されます。path :code:`(result[0].interfaces.Ethernet4.interfaceStatus)`が「connected」になっていなければ、コマンドは再試行されます。この処理は、条件が満たされるか、再試行回数が期限切れになる (デフォルトでは、1 秒間隔で 10 回の再試行) まで継続されます。"
3788
3789#: ../../rst/network/user_guide/network_working_with_command_output.rst:47
3790msgid "The commands module can also evaluate more than one set of command results in an interface.  For instance::"
3791msgstr "また、commands モジュールは、1 つのインターフェースで複数のコマンド結果を評価することもできます。たとえば、以下のようになります。"
3792
3793#: ../../rst/network/user_guide/network_working_with_command_output.rst:60
3794msgid "In the above example, two commands are executed on the remote device, and the results are evaluated.  By specifying the result index value (0 or 1), the correct result output is checked against the conditional."
3795msgstr "上記の例では、2 つのコマンドがリモートデバイスで実行され、結果が評価されます。結果のインデックス値 (0 または 1) を指定することで、条件に対して正しい結果出力が確認されます。"
3796
3797#: ../../rst/network/user_guide/network_working_with_command_output.rst:65
3798msgid "The ``wait_for`` argument must always start with result and then the command index in ``[]``, where ``0`` is the first command in the commands list, ``1`` is the second command, ``2`` is the third and so on."
3799msgstr "``wait_for`` 引数は、必ず結果で、次に ``[]`` のコマンドインデックスが必要です。``0`` はコマンドリストの最初のコマンド、``1`` は 2 番目のコマンド、``2`` は 3 番目のコマンドなどになります。"
3800
3801#: ../../rst/network/user_guide/network_working_with_command_output.rst:71
3802msgid "Handling prompts in network modules"
3803msgstr "ネットワークモジュールのプロンプトの処理"
3804
3805#: ../../rst/network/user_guide/network_working_with_command_output.rst:73
3806msgid "Network devices may require that you answer a prompt before performing a change on the device. Individual network modules such as :ref:`cisco.ios.ios_command <ansible_collections.cisco.ios.ios_command_module>` and :ref:`cisco.nxos.nxos_command <ansible_collections.cisco.nxos.nxos_command_module>` can handle this with a ``prompt`` parameter."
3807msgstr "ネットワークデバイスは、デバイスの変更を実行する前にプロンプトの回答が必要になる場合があります。:ref:`cisco.ios.ios_command <ansible_collections.cisco.ios.ios_command_module>` および :ref:`cisco.nxos.nxos_command <ansible_collections.cisco.nxos.nxos_command_module>` などの個別ネットワークモジュールは ``prompt`` パラメーターでこれを処理できます。"
3808
3809#: ../../rst/network/user_guide/network_working_with_command_output.rst:77
3810msgid "``prompt`` is a Python regex. If you add special characters such as ``?`` in the ``prompt`` value, the prompt won't match and you will get a timeout. To avoid this, ensure that the ``prompt`` value is a Python regex that matches the actual device prompt. Any special characters must be handled correctly in the ``prompt`` regex."
3811msgstr "``prompt`` は Python の正規表現です。``prompt`` 値に ``?`` などの特殊文字を追加すると、プロンプトが一致せず、タイムアウトが発生します。これを回避するには、``prompt`` 値が実際のデバイスプロンプトと一致する Python 正規表現であることを確認します。特殊文字は、``prompt`` 正規表現で正しく処理する必要があります。"
3812
3813#: ../../rst/network/user_guide/network_working_with_command_output.rst:79
3814msgid "You can also use the :ref:`ansible.netcommon.cli_command <ansible_collections.ansible.netcommon.cli_command_module>` to handle multiple prompts."
3815msgstr ":ref:`ansible.netcommon.cli_command <ansible_collections.ansible.netcommon.cli_command_module>` を使用して、複数のプロンプトを処理することもできます。"
3816
3817#: ../../rst/network/user_guide/network_working_with_command_output.rst:97
3818msgid "You must list the prompt and the answers in the same order (that is, prompt[0] is answered by answer[0])."
3819msgstr "プロンプトと回答を同じ順序で一覧表示する必要があります (つまり、prompt[0] には answer[0] で応答します)。"
3820
3821#: ../../rst/network/user_guide/network_working_with_command_output.rst:99
3822msgid "In the above example, ``check_all: True`` ensures that the task gives the matching answer to each prompt. Without that setting, a task with multiple prompts would give the first answer to every prompt."
3823msgstr "上記の例では、``check_all: True`` により、タスクが各プロンプトに一致する応答を返すようにします。この設定がないと、複数のプロンプトがあるタスクでは、すべてのプロンプトに対して最初の応答が表示されます。"
3824
3825#: ../../rst/network/user_guide/network_working_with_command_output.rst:101
3826msgid "In the following example, the second answer would be ignored and ``y`` would be the answer given to both prompts. That is, this task only works because both answers are identical. Also notice again that ``prompt`` must be a Python regex, which is why the ``?`` is escaped in the first prompt."
3827msgstr "次の例では、2 番目の回答は無視され、両方のプロンプトに ``y`` が入力されます。つまり、このタスクが機能するのは、両方の答えが同じだからです。また、``prompt`` は Python の正規表現でなければならないことにも注意してください。このため、``?`` は最初のプロンプトでエスケープされます。"
3828
3829#: ../../rst/network/user_guide/network_working_with_command_output.rst:119
3830msgid "`Rebooting network devices with Ansible <https://www.ansible.com/blog/rebooting-network-devices-with-ansible>`_"
3831msgstr "`Rebooting network devices with Ansible <https://www.ansible.com/blog/rebooting-network-devices-with-ansible>`_"
3832
3833#: ../../rst/network/user_guide/network_working_with_command_output.rst:119
3834msgid "Examples using ``wait_for``, ``wait_for_connection``, and ``prompt`` for network devices."
3835msgstr "ネットワークデバイス用に ``wait_for``、``wait_for_connection``、および ``prompt`` を使用する例。"
3836
3837#: ../../rst/network/user_guide/network_working_with_command_output.rst:121
3838msgid "`Deep dive on cli_command <https://www.ansible.com/blog/deep-dive-on-cli-command-for-network-automation>`_"
3839msgstr "`Deep dive on cli_command <https://www.ansible.com/blog/deep-dive-on-cli-command-for-network-automation>`_"
3840
3841#: ../../rst/network/user_guide/network_working_with_command_output.rst:122
3842msgid "Detailed overview of how to use the ``cli_command``."
3843msgstr "``cli_command`` の使用方法に関する詳細な概要"
3844
3845#: ../../rst/network/user_guide/platform_ce.rst:5
3846msgid "CloudEngine OS Platform Options"
3847msgstr "CloudEngine OS プラットフォームオプション"
3848
3849#: ../../rst/network/user_guide/platform_ce.rst:7
3850msgid "CloudEngine CE OS is part of the `community.network <https://galaxy.ansible.com/community/network>`_ collection and supports multiple connections. This page offers details on how each connection works in Ansible and how to use it."
3851msgstr "CloudEngine CE OS は `community.network <https://galaxy.ansible.com/community/network>`_ コレクションの一部で、複数の接続をサポートします。このページでは、Ansible での各接続がどのように機能し、どのように使用されるかを詳細に説明します。"
3852
3853#: ../../rst/network/user_guide/platform_ce.rst:13
3854#: ../../rst/network/user_guide/platform_cnos.rst:13
3855#: ../../rst/network/user_guide/platform_dellos10.rst:13
3856#: ../../rst/network/user_guide/platform_dellos6.rst:13
3857#: ../../rst/network/user_guide/platform_dellos9.rst:13
3858#: ../../rst/network/user_guide/platform_enos.rst:13
3859#: ../../rst/network/user_guide/platform_eos.rst:13
3860#: ../../rst/network/user_guide/platform_eric_eccli.rst:13
3861#: ../../rst/network/user_guide/platform_exos.rst:13
3862#: ../../rst/network/user_guide/platform_frr.rst:13
3863#: ../../rst/network/user_guide/platform_icx.rst:13
3864#: ../../rst/network/user_guide/platform_ios.rst:13
3865#: ../../rst/network/user_guide/platform_iosxr.rst:13
3866#: ../../rst/network/user_guide/platform_ironware.rst:13
3867#: ../../rst/network/user_guide/platform_junos.rst:13
3868#: ../../rst/network/user_guide/platform_meraki.rst:13
3869#: ../../rst/network/user_guide/platform_netconf_enabled.rst:13
3870#: ../../rst/network/user_guide/platform_netvisor.rst:14
3871#: ../../rst/network/user_guide/platform_nos.rst:14
3872#: ../../rst/network/user_guide/platform_nxos.rst:13
3873#: ../../rst/network/user_guide/platform_routeros.rst:14
3874#: ../../rst/network/user_guide/platform_slxos.rst:14
3875#: ../../rst/network/user_guide/platform_voss.rst:14
3876#: ../../rst/network/user_guide/platform_vyos.rst:13
3877#: ../../rst/network/user_guide/platform_weos4.rst:14
3878msgid "Connections available"
3879msgstr "利用可能な接続"
3880
3881#: ../../rst/network/user_guide/platform_ce.rst:19
3882#: ../../rst/network/user_guide/platform_cnos.rst:19
3883#: ../../rst/network/user_guide/platform_dellos10.rst:19
3884#: ../../rst/network/user_guide/platform_dellos6.rst:19
3885#: ../../rst/network/user_guide/platform_dellos9.rst:19
3886#: ../../rst/network/user_guide/platform_enos.rst:19
3887#: ../../rst/network/user_guide/platform_eos.rst:19
3888#: ../../rst/network/user_guide/platform_eric_eccli.rst:19
3889#: ../../rst/network/user_guide/platform_exos.rst:20
3890#: ../../rst/network/user_guide/platform_frr.rst:19
3891#: ../../rst/network/user_guide/platform_icx.rst:19
3892#: ../../rst/network/user_guide/platform_ios.rst:19
3893#: ../../rst/network/user_guide/platform_iosxr.rst:19
3894#: ../../rst/network/user_guide/platform_ironware.rst:19
3895#: ../../rst/network/user_guide/platform_junos.rst:19
3896#: ../../rst/network/user_guide/platform_netvisor.rst:20
3897#: ../../rst/network/user_guide/platform_nos.rst:20
3898#: ../../rst/network/user_guide/platform_nxos.rst:19
3899#: ../../rst/network/user_guide/platform_routeros.rst:20
3900#: ../../rst/network/user_guide/platform_slxos.rst:20
3901#: ../../rst/network/user_guide/platform_voss.rst:20
3902#: ../../rst/network/user_guide/platform_vyos.rst:19
3903#: ../../rst/network/user_guide/platform_weos4.rst:20
3904msgid "CLI"
3905msgstr "CLI"
3906
3907#: ../../rst/network/user_guide/platform_ce.rst:19
3908#: ../../rst/network/user_guide/platform_iosxr.rst:19
3909#: ../../rst/network/user_guide/platform_junos.rst:19
3910#: ../../rst/network/user_guide/platform_netconf_enabled.rst:18
3911msgid "NETCONF"
3912msgstr "NETCONF"
3913
3914#: ../../rst/network/user_guide/platform_ce.rst:23
3915#: ../../rst/network/user_guide/platform_cnos.rst:21
3916#: ../../rst/network/user_guide/platform_dellos10.rst:21
3917#: ../../rst/network/user_guide/platform_dellos6.rst:21
3918#: ../../rst/network/user_guide/platform_dellos9.rst:21
3919#: ../../rst/network/user_guide/platform_enos.rst:21
3920#: ../../rst/network/user_guide/platform_eos.rst:21
3921#: ../../rst/network/user_guide/platform_eric_eccli.rst:21
3922#: ../../rst/network/user_guide/platform_exos.rst:22
3923#: ../../rst/network/user_guide/platform_frr.rst:21
3924#: ../../rst/network/user_guide/platform_icx.rst:21
3925#: ../../rst/network/user_guide/platform_ios.rst:21
3926#: ../../rst/network/user_guide/platform_iosxr.rst:25
3927#: ../../rst/network/user_guide/platform_ironware.rst:21
3928#: ../../rst/network/user_guide/platform_junos.rst:24
3929#: ../../rst/network/user_guide/platform_netvisor.rst:22
3930#: ../../rst/network/user_guide/platform_nos.rst:22
3931#: ../../rst/network/user_guide/platform_nxos.rst:21
3932#: ../../rst/network/user_guide/platform_routeros.rst:22
3933#: ../../rst/network/user_guide/platform_slxos.rst:22
3934#: ../../rst/network/user_guide/platform_voss.rst:22
3935#: ../../rst/network/user_guide/platform_vyos.rst:21
3936#: ../../rst/network/user_guide/platform_weos4.rst:22
3937msgid "SSH"
3938msgstr "SSH"
3939
3940#: ../../rst/network/user_guide/platform_ce.rst:25
3941#: ../../rst/network/user_guide/platform_cnos.rst:23
3942#: ../../rst/network/user_guide/platform_dellos10.rst:23
3943#: ../../rst/network/user_guide/platform_dellos6.rst:23
3944#: ../../rst/network/user_guide/platform_dellos9.rst:23
3945#: ../../rst/network/user_guide/platform_enos.rst:23
3946#: ../../rst/network/user_guide/platform_eos.rst:23
3947#: ../../rst/network/user_guide/platform_eric_eccli.rst:23
3948#: ../../rst/network/user_guide/platform_exos.rst:24
3949#: ../../rst/network/user_guide/platform_frr.rst:23
3950#: ../../rst/network/user_guide/platform_icx.rst:23
3951#: ../../rst/network/user_guide/platform_ios.rst:23
3952#: ../../rst/network/user_guide/platform_iosxr.rst:27
3953#: ../../rst/network/user_guide/platform_ironware.rst:23
3954#: ../../rst/network/user_guide/platform_junos.rst:26
3955#: ../../rst/network/user_guide/platform_meraki.rst:23
3956#: ../../rst/network/user_guide/platform_netconf_enabled.rst:25
3957#: ../../rst/network/user_guide/platform_netvisor.rst:24
3958#: ../../rst/network/user_guide/platform_nos.rst:24
3959#: ../../rst/network/user_guide/platform_nxos.rst:23
3960#: ../../rst/network/user_guide/platform_routeros.rst:24
3961#: ../../rst/network/user_guide/platform_slxos.rst:24
3962#: ../../rst/network/user_guide/platform_voss.rst:24
3963#: ../../rst/network/user_guide/platform_vyos.rst:23
3964#: ../../rst/network/user_guide/platform_weos4.rst:24
3965msgid "Credentials"
3966msgstr "認証情報"
3967
3968#: ../../rst/network/user_guide/platform_ce.rst:25
3969#: ../../rst/network/user_guide/platform_cnos.rst:23
3970#: ../../rst/network/user_guide/platform_dellos10.rst:23
3971#: ../../rst/network/user_guide/platform_dellos6.rst:23
3972#: ../../rst/network/user_guide/platform_dellos9.rst:23
3973#: ../../rst/network/user_guide/platform_enos.rst:23
3974#: ../../rst/network/user_guide/platform_eos.rst:23
3975#: ../../rst/network/user_guide/platform_eric_eccli.rst:23
3976#: ../../rst/network/user_guide/platform_exos.rst:24
3977#: ../../rst/network/user_guide/platform_frr.rst:23
3978#: ../../rst/network/user_guide/platform_icx.rst:23
3979#: ../../rst/network/user_guide/platform_ios.rst:23
3980#: ../../rst/network/user_guide/platform_iosxr.rst:27
3981#: ../../rst/network/user_guide/platform_ironware.rst:23
3982#: ../../rst/network/user_guide/platform_junos.rst:26
3983#: ../../rst/network/user_guide/platform_netconf_enabled.rst:25
3984#: ../../rst/network/user_guide/platform_netvisor.rst:24
3985#: ../../rst/network/user_guide/platform_nos.rst:24
3986#: ../../rst/network/user_guide/platform_nxos.rst:23
3987#: ../../rst/network/user_guide/platform_routeros.rst:24
3988#: ../../rst/network/user_guide/platform_slxos.rst:24
3989#: ../../rst/network/user_guide/platform_voss.rst:24
3990#: ../../rst/network/user_guide/platform_vyos.rst:23
3991#: ../../rst/network/user_guide/platform_weos4.rst:24
3992msgid "uses SSH keys / SSH-agent if present"
3993msgstr "SSH キー/SSH-agent が存在する場合は使用します"
3994
3995#: ../../rst/network/user_guide/platform_ce.rst:27
3996#: ../../rst/network/user_guide/platform_cnos.rst:25
3997#: ../../rst/network/user_guide/platform_dellos10.rst:25
3998#: ../../rst/network/user_guide/platform_dellos6.rst:25
3999#: ../../rst/network/user_guide/platform_dellos9.rst:25
4000#: ../../rst/network/user_guide/platform_enos.rst:25
4001#: ../../rst/network/user_guide/platform_eos.rst:25
4002#: ../../rst/network/user_guide/platform_eric_eccli.rst:25
4003#: ../../rst/network/user_guide/platform_exos.rst:26
4004#: ../../rst/network/user_guide/platform_frr.rst:25
4005#: ../../rst/network/user_guide/platform_icx.rst:25
4006#: ../../rst/network/user_guide/platform_ios.rst:25
4007#: ../../rst/network/user_guide/platform_iosxr.rst:29
4008#: ../../rst/network/user_guide/platform_ironware.rst:25
4009#: ../../rst/network/user_guide/platform_junos.rst:28
4010#: ../../rst/network/user_guide/platform_netconf_enabled.rst:27
4011#: ../../rst/network/user_guide/platform_netvisor.rst:26
4012#: ../../rst/network/user_guide/platform_nos.rst:26
4013#: ../../rst/network/user_guide/platform_nxos.rst:25
4014#: ../../rst/network/user_guide/platform_routeros.rst:26
4015#: ../../rst/network/user_guide/platform_slxos.rst:26
4016#: ../../rst/network/user_guide/platform_voss.rst:26
4017#: ../../rst/network/user_guide/platform_vyos.rst:25
4018#: ../../rst/network/user_guide/platform_weos4.rst:26
4019msgid "accepts ``-u myuser -k`` if using password"
4020msgstr "パスワードを使用する場合に ``-u myuser -k`` を受け入れます。"
4021
4022#: ../../rst/network/user_guide/platform_ce.rst:29
4023#: ../../rst/network/user_guide/platform_cnos.rst:27
4024#: ../../rst/network/user_guide/platform_dellos10.rst:27
4025#: ../../rst/network/user_guide/platform_dellos6.rst:27
4026#: ../../rst/network/user_guide/platform_dellos9.rst:27
4027#: ../../rst/network/user_guide/platform_enos.rst:27
4028#: ../../rst/network/user_guide/platform_eos.rst:27
4029#: ../../rst/network/user_guide/platform_eric_eccli.rst:27
4030#: ../../rst/network/user_guide/platform_exos.rst:28
4031#: ../../rst/network/user_guide/platform_frr.rst:27
4032#: ../../rst/network/user_guide/platform_icx.rst:27
4033#: ../../rst/network/user_guide/platform_ios.rst:27
4034#: ../../rst/network/user_guide/platform_iosxr.rst:31
4035#: ../../rst/network/user_guide/platform_ironware.rst:27
4036#: ../../rst/network/user_guide/platform_junos.rst:30
4037#: ../../rst/network/user_guide/platform_netconf_enabled.rst:29
4038#: ../../rst/network/user_guide/platform_netvisor.rst:28
4039#: ../../rst/network/user_guide/platform_nos.rst:28
4040#: ../../rst/network/user_guide/platform_nxos.rst:27
4041#: ../../rst/network/user_guide/platform_routeros.rst:28
4042#: ../../rst/network/user_guide/platform_slxos.rst:28
4043#: ../../rst/network/user_guide/platform_voss.rst:28
4044#: ../../rst/network/user_guide/platform_vyos.rst:27
4045#: ../../rst/network/user_guide/platform_weos4.rst:28
4046msgid "Indirect Access"
4047msgstr "間接アクセス"
4048
4049#: ../../rst/network/user_guide/platform_ce.rst:29
4050#: ../../rst/network/user_guide/platform_cnos.rst:27
4051#: ../../rst/network/user_guide/platform_dellos10.rst:27
4052#: ../../rst/network/user_guide/platform_dellos6.rst:27
4053#: ../../rst/network/user_guide/platform_dellos9.rst:27
4054#: ../../rst/network/user_guide/platform_enos.rst:27
4055#: ../../rst/network/user_guide/platform_eos.rst:27
4056#: ../../rst/network/user_guide/platform_eric_eccli.rst:27
4057#: ../../rst/network/user_guide/platform_exos.rst:28
4058#: ../../rst/network/user_guide/platform_frr.rst:27
4059#: ../../rst/network/user_guide/platform_icx.rst:27
4060#: ../../rst/network/user_guide/platform_ios.rst:27
4061#: ../../rst/network/user_guide/platform_iosxr.rst:31
4062#: ../../rst/network/user_guide/platform_ironware.rst:27
4063#: ../../rst/network/user_guide/platform_junos.rst:30
4064#: ../../rst/network/user_guide/platform_netconf_enabled.rst:29
4065#: ../../rst/network/user_guide/platform_netvisor.rst:28
4066#: ../../rst/network/user_guide/platform_nos.rst:28
4067#: ../../rst/network/user_guide/platform_nxos.rst:27
4068#: ../../rst/network/user_guide/platform_routeros.rst:28
4069#: ../../rst/network/user_guide/platform_slxos.rst:28
4070#: ../../rst/network/user_guide/platform_voss.rst:28
4071#: ../../rst/network/user_guide/platform_vyos.rst:27
4072#: ../../rst/network/user_guide/platform_weos4.rst:28
4073msgid "via a bastion (jump host)"
4074msgstr "bastion (jump ホスト) を使用"
4075
4076#: ../../rst/network/user_guide/platform_ce.rst:31
4077#: ../../rst/network/user_guide/platform_cnos.rst:29
4078#: ../../rst/network/user_guide/platform_dellos10.rst:29
4079#: ../../rst/network/user_guide/platform_dellos6.rst:29
4080#: ../../rst/network/user_guide/platform_dellos9.rst:29
4081#: ../../rst/network/user_guide/platform_enos.rst:29
4082#: ../../rst/network/user_guide/platform_eos.rst:29
4083#: ../../rst/network/user_guide/platform_eric_eccli.rst:29
4084#: ../../rst/network/user_guide/platform_exos.rst:30
4085#: ../../rst/network/user_guide/platform_frr.rst:29
4086#: ../../rst/network/user_guide/platform_icx.rst:29
4087#: ../../rst/network/user_guide/platform_ios.rst:29
4088#: ../../rst/network/user_guide/platform_iosxr.rst:33
4089#: ../../rst/network/user_guide/platform_ironware.rst:29
4090#: ../../rst/network/user_guide/platform_junos.rst:32
4091#: ../../rst/network/user_guide/platform_meraki.rst:25
4092#: ../../rst/network/user_guide/platform_netconf_enabled.rst:31
4093#: ../../rst/network/user_guide/platform_netvisor.rst:30
4094#: ../../rst/network/user_guide/platform_nos.rst:30
4095#: ../../rst/network/user_guide/platform_nxos.rst:29
4096#: ../../rst/network/user_guide/platform_routeros.rst:30
4097#: ../../rst/network/user_guide/platform_slxos.rst:30
4098#: ../../rst/network/user_guide/platform_voss.rst:30
4099#: ../../rst/network/user_guide/platform_vyos.rst:29
4100#: ../../rst/network/user_guide/platform_weos4.rst:30
4101msgid "Connection Settings"
4102msgstr "接続設定"
4103
4104#: ../../rst/network/user_guide/platform_ce.rst:32
4105#: ../../rst/network/user_guide/platform_exos.rst:31
4106#: ../../rst/network/user_guide/platform_iosxr.rst:34
4107#: ../../rst/network/user_guide/platform_nxos.rst:30
4108msgid "``ansible_connection:``"
4109msgstr "``ansible_connection:``"
4110
4111#: ../../rst/network/user_guide/platform_ce.rst:32
4112#: ../../rst/network/user_guide/platform_exos.rst:31
4113#: ../../rst/network/user_guide/platform_iosxr.rst:34
4114#: ../../rst/network/user_guide/platform_nxos.rst:30
4115msgid "``ansible.netcommon.network_cli``"
4116msgstr "``ansible.netcommon.network_cli``"
4117
4118#: ../../rst/network/user_guide/platform_ce.rst:32
4119#: ../../rst/network/user_guide/platform_iosxr.rst:34
4120msgid "``ansible.netcommon.netconf``"
4121msgstr "``ansible.netcommon.netconf``"
4122
4123#: ../../rst/network/user_guide/platform_ce.rst:34
4124#: ../../rst/network/user_guide/platform_cnos.rst:31
4125#: ../../rst/network/user_guide/platform_dellos10.rst:31
4126#: ../../rst/network/user_guide/platform_dellos6.rst:31
4127#: ../../rst/network/user_guide/platform_dellos9.rst:31
4128#: ../../rst/network/user_guide/platform_enos.rst:31
4129#: ../../rst/network/user_guide/platform_eos.rst:33
4130#: ../../rst/network/user_guide/platform_eric_eccli.rst:31
4131#: ../../rst/network/user_guide/platform_exos.rst:33
4132#: ../../rst/network/user_guide/platform_frr.rst:31
4133#: ../../rst/network/user_guide/platform_icx.rst:31
4134#: ../../rst/network/user_guide/platform_ios.rst:31
4135#: ../../rst/network/user_guide/platform_iosxr.rst:36
4136#: ../../rst/network/user_guide/platform_ironware.rst:31
4137#: ../../rst/network/user_guide/platform_junos.rst:35
4138#: ../../rst/network/user_guide/platform_netvisor.rst:32
4139#: ../../rst/network/user_guide/platform_nos.rst:32
4140#: ../../rst/network/user_guide/platform_nxos.rst:32
4141#: ../../rst/network/user_guide/platform_routeros.rst:32
4142#: ../../rst/network/user_guide/platform_slxos.rst:32
4143#: ../../rst/network/user_guide/platform_voss.rst:32
4144#: ../../rst/network/user_guide/platform_vyos.rst:31
4145#: ../../rst/network/user_guide/platform_weos4.rst:32
4146msgid "|enable_mode|"
4147msgstr "|enable_mode|"
4148
4149#: ../../rst/network/user_guide/platform_ce.rst:34
4150msgid "not supported by ce OS"
4151msgstr "ce OS ではサポートなし"
4152
4153#: ../../rst/network/user_guide/platform_ce.rst:36
4154#: ../../rst/network/user_guide/platform_cnos.rst:35
4155#: ../../rst/network/user_guide/platform_dellos10.rst:35
4156#: ../../rst/network/user_guide/platform_dellos6.rst:35
4157#: ../../rst/network/user_guide/platform_dellos9.rst:35
4158#: ../../rst/network/user_guide/platform_enos.rst:35
4159#: ../../rst/network/user_guide/platform_eos.rst:39
4160#: ../../rst/network/user_guide/platform_eric_eccli.rst:33
4161#: ../../rst/network/user_guide/platform_exos.rst:35
4162#: ../../rst/network/user_guide/platform_frr.rst:33
4163#: ../../rst/network/user_guide/platform_icx.rst:34
4164#: ../../rst/network/user_guide/platform_ios.rst:34
4165#: ../../rst/network/user_guide/platform_iosxr.rst:38
4166#: ../../rst/network/user_guide/platform_ironware.rst:35
4167#: ../../rst/network/user_guide/platform_junos.rst:37
4168#: ../../rst/network/user_guide/platform_meraki.rst:27
4169#: ../../rst/network/user_guide/platform_netvisor.rst:34
4170#: ../../rst/network/user_guide/platform_nos.rst:34
4171#: ../../rst/network/user_guide/platform_nxos.rst:36
4172#: ../../rst/network/user_guide/platform_routeros.rst:34
4173#: ../../rst/network/user_guide/platform_slxos.rst:34
4174#: ../../rst/network/user_guide/platform_voss.rst:35
4175#: ../../rst/network/user_guide/platform_vyos.rst:33
4176#: ../../rst/network/user_guide/platform_weos4.rst:34
4177msgid "Returned Data Format"
4178msgstr "返されるデータ形式"
4179
4180#: ../../rst/network/user_guide/platform_ce.rst:36
4181#: ../../rst/network/user_guide/platform_iosxr.rst:38
4182#: ../../rst/network/user_guide/platform_vyos.rst:33
4183msgid "Refer to individual module documentation"
4184msgstr "各モジュールのドキュメンテーションを参照してください。"
4185
4186#: ../../rst/network/user_guide/platform_ce.rst:41
4187msgid "The ``ansible_connection: local`` has been deprecated. Please use  ``ansible_connection: ansible.netcommon.netconf`` or ``ansible_connection=ansible.netcommon.network_cli`` instead."
4188msgstr "``ansible_connection: local`` は非推奨になりました。代わりに ``ansible_connection: ansible.netcommon.netconf`` または ``ansible_connection=ansible.netcommon.network_cli`` を使用してください。"
4189
4190#: ../../rst/network/user_guide/platform_ce.rst:44
4191#: ../../rst/network/user_guide/platform_cnos.rst:43
4192#: ../../rst/network/user_guide/platform_dellos10.rst:44
4193#: ../../rst/network/user_guide/platform_dellos6.rst:43
4194#: ../../rst/network/user_guide/platform_dellos9.rst:43
4195#: ../../rst/network/user_guide/platform_enos.rst:45
4196#: ../../rst/network/user_guide/platform_eos.rst:48
4197#: ../../rst/network/user_guide/platform_eric_eccli.rst:41
4198#: ../../rst/network/user_guide/platform_exos.rst:43
4199#: ../../rst/network/user_guide/platform_frr.rst:40
4200#: ../../rst/network/user_guide/platform_icx.rst:41
4201#: ../../rst/network/user_guide/platform_ios.rst:43
4202#: ../../rst/network/user_guide/platform_iosxr.rst:47
4203#: ../../rst/network/user_guide/platform_ironware.rst:44
4204#: ../../rst/network/user_guide/platform_junos.rst:48
4205#: ../../rst/network/user_guide/platform_netvisor.rst:42
4206#: ../../rst/network/user_guide/platform_nos.rst:42
4207#: ../../rst/network/user_guide/platform_nxos.rst:45
4208#: ../../rst/network/user_guide/platform_routeros.rst:43
4209#: ../../rst/network/user_guide/platform_slxos.rst:43
4210#: ../../rst/network/user_guide/platform_voss.rst:44
4211#: ../../rst/network/user_guide/platform_vyos.rst:42
4212#: ../../rst/network/user_guide/platform_weos4.rst:42
4213msgid "Using CLI in Ansible"
4214msgstr "Ansible での CLI の使用"
4215
4216#: ../../rst/network/user_guide/platform_ce.rst:47
4217msgid "Example CLI inventory ``[ce:vars]``"
4218msgstr "CLI インベントリーの例 ``[ce:vars]``"
4219
4220#: ../../rst/network/user_guide/platform_ce.rst:59
4221#: ../../rst/network/user_guide/platform_cnos.rst:60
4222#: ../../rst/network/user_guide/platform_dellos10.rst:61
4223#: ../../rst/network/user_guide/platform_dellos6.rst:60
4224#: ../../rst/network/user_guide/platform_dellos9.rst:60
4225#: ../../rst/network/user_guide/platform_enos.rst:62
4226#: ../../rst/network/user_guide/platform_eos.rst:65
4227#: ../../rst/network/user_guide/platform_eric_eccli.rst:55
4228#: ../../rst/network/user_guide/platform_exos.rst:57
4229#: ../../rst/network/user_guide/platform_frr.rst:54
4230#: ../../rst/network/user_guide/platform_icx.rst:58
4231#: ../../rst/network/user_guide/platform_ios.rst:60
4232#: ../../rst/network/user_guide/platform_iosxr.rst:62
4233#: ../../rst/network/user_guide/platform_ironware.rst:61
4234#: ../../rst/network/user_guide/platform_junos.rst:63
4235#: ../../rst/network/user_guide/platform_netvisor.rst:56
4236#: ../../rst/network/user_guide/platform_nos.rst:56
4237#: ../../rst/network/user_guide/platform_nxos.rst:62
4238#: ../../rst/network/user_guide/platform_routeros.rst:60
4239#: ../../rst/network/user_guide/platform_slxos.rst:57
4240#: ../../rst/network/user_guide/platform_voss.rst:60
4241#: ../../rst/network/user_guide/platform_vyos.rst:56
4242#: ../../rst/network/user_guide/platform_weos4.rst:56
4243msgid "If you are using SSH keys (including an ssh-agent) you can remove the ``ansible_password`` configuration."
4244msgstr "SSH キー (ssh-agent を含む) を使用している場合は、``ansible_password`` 設定を削除できます。"
4245
4246#: ../../rst/network/user_guide/platform_ce.rst:60
4247#: ../../rst/network/user_guide/platform_cnos.rst:61
4248#: ../../rst/network/user_guide/platform_dellos10.rst:62
4249#: ../../rst/network/user_guide/platform_dellos6.rst:61
4250#: ../../rst/network/user_guide/platform_dellos9.rst:61
4251#: ../../rst/network/user_guide/platform_enos.rst:63
4252#: ../../rst/network/user_guide/platform_eos.rst:66
4253#: ../../rst/network/user_guide/platform_eric_eccli.rst:56
4254#: ../../rst/network/user_guide/platform_exos.rst:58
4255#: ../../rst/network/user_guide/platform_frr.rst:55
4256#: ../../rst/network/user_guide/platform_icx.rst:59
4257#: ../../rst/network/user_guide/platform_ios.rst:61
4258#: ../../rst/network/user_guide/platform_iosxr.rst:63
4259#: ../../rst/network/user_guide/platform_ironware.rst:62
4260#: ../../rst/network/user_guide/platform_junos.rst:64
4261#: ../../rst/network/user_guide/platform_netvisor.rst:57
4262#: ../../rst/network/user_guide/platform_nos.rst:57
4263#: ../../rst/network/user_guide/platform_nxos.rst:63
4264#: ../../rst/network/user_guide/platform_routeros.rst:61
4265#: ../../rst/network/user_guide/platform_slxos.rst:58
4266#: ../../rst/network/user_guide/platform_voss.rst:61
4267#: ../../rst/network/user_guide/platform_vyos.rst:57
4268#: ../../rst/network/user_guide/platform_weos4.rst:57
4269msgid "If you are accessing your host directly (not through a bastion/jump host) you can remove the ``ansible_ssh_common_args`` configuration."
4270msgstr "(bastion/ジャンプホストを経由せず) ホストに直接アクセスしている場合は、``ansible_ssh_common_args`` 設定を削除できます。"
4271
4272#: ../../rst/network/user_guide/platform_ce.rst:61
4273#: ../../rst/network/user_guide/platform_cnos.rst:62
4274#: ../../rst/network/user_guide/platform_dellos10.rst:63
4275#: ../../rst/network/user_guide/platform_dellos6.rst:62
4276#: ../../rst/network/user_guide/platform_dellos9.rst:62
4277#: ../../rst/network/user_guide/platform_enos.rst:64
4278#: ../../rst/network/user_guide/platform_eos.rst:67
4279#: ../../rst/network/user_guide/platform_eric_eccli.rst:57
4280#: ../../rst/network/user_guide/platform_exos.rst:59
4281#: ../../rst/network/user_guide/platform_frr.rst:56
4282#: ../../rst/network/user_guide/platform_icx.rst:60
4283#: ../../rst/network/user_guide/platform_ios.rst:62
4284#: ../../rst/network/user_guide/platform_iosxr.rst:64
4285#: ../../rst/network/user_guide/platform_ironware.rst:63
4286#: ../../rst/network/user_guide/platform_junos.rst:65
4287#: ../../rst/network/user_guide/platform_netvisor.rst:58
4288#: ../../rst/network/user_guide/platform_nos.rst:58
4289#: ../../rst/network/user_guide/platform_nxos.rst:64
4290#: ../../rst/network/user_guide/platform_routeros.rst:62
4291#: ../../rst/network/user_guide/platform_slxos.rst:59
4292#: ../../rst/network/user_guide/platform_voss.rst:62
4293#: ../../rst/network/user_guide/platform_vyos.rst:58
4294#: ../../rst/network/user_guide/platform_weos4.rst:58
4295msgid "If you are accessing your host through a bastion/jump host, you cannot include your SSH password in the ``ProxyCommand`` directive. To prevent secrets from leaking out (for example in ``ps`` output), SSH does not support providing passwords via environment variables."
4296msgstr "bastion/ジャンプホストを介してホストにアクセスする場合は、``ProxyCommand`` ディレクティブに SSH パスワードを含めることができません。シークレットが漏洩するのを防ぐために (例: ``ps`` 出力)、SSH は環境変数によるパスワードの提供をサポートしません。"
4297
4298#: ../../rst/network/user_guide/platform_ce.rst:64
4299#: ../../rst/network/user_guide/platform_cnos.rst:65
4300#: ../../rst/network/user_guide/platform_dellos10.rst:66
4301#: ../../rst/network/user_guide/platform_dellos6.rst:65
4302#: ../../rst/network/user_guide/platform_dellos9.rst:65
4303#: ../../rst/network/user_guide/platform_enos.rst:67
4304#: ../../rst/network/user_guide/platform_eos.rst:70
4305#: ../../rst/network/user_guide/platform_eric_eccli.rst:60
4306#: ../../rst/network/user_guide/platform_exos.rst:62
4307#: ../../rst/network/user_guide/platform_frr.rst:59
4308#: ../../rst/network/user_guide/platform_icx.rst:63
4309#: ../../rst/network/user_guide/platform_ios.rst:65
4310#: ../../rst/network/user_guide/platform_iosxr.rst:67
4311#: ../../rst/network/user_guide/platform_ironware.rst:66
4312#: ../../rst/network/user_guide/platform_junos.rst:68
4313#: ../../rst/network/user_guide/platform_netvisor.rst:61
4314#: ../../rst/network/user_guide/platform_nos.rst:61
4315#: ../../rst/network/user_guide/platform_nxos.rst:67
4316#: ../../rst/network/user_guide/platform_routeros.rst:66
4317#: ../../rst/network/user_guide/platform_slxos.rst:62
4318#: ../../rst/network/user_guide/platform_voss.rst:65
4319#: ../../rst/network/user_guide/platform_vyos.rst:61
4320#: ../../rst/network/user_guide/platform_weos4.rst:61
4321msgid "Example CLI task"
4322msgstr "CLI タスクの例"
4323
4324#: ../../rst/network/user_guide/platform_ce.rst:75
4325#: ../../rst/network/user_guide/platform_iosxr.rst:78
4326#: ../../rst/network/user_guide/platform_junos.rst:79
4327#: ../../rst/network/user_guide/platform_netconf_enabled.rst:38
4328msgid "Using NETCONF in Ansible"
4329msgstr "Ansible での NETCONF の使用"
4330
4331#: ../../rst/network/user_guide/platform_ce.rst:78
4332#: ../../rst/network/user_guide/platform_iosxr.rst:81
4333#: ../../rst/network/user_guide/platform_junos.rst:82
4334#: ../../rst/network/user_guide/platform_netconf_enabled.rst:41
4335msgid "Enabling NETCONF"
4336msgstr "NETCONF の有効化"
4337
4338#: ../../rst/network/user_guide/platform_ce.rst:80
4339#: ../../rst/network/user_guide/platform_iosxr.rst:83
4340#: ../../rst/network/user_guide/platform_junos.rst:84
4341#: ../../rst/network/user_guide/platform_netconf_enabled.rst:43
4342msgid "Before you can use NETCONF to connect to a switch, you must:"
4343msgstr "NETCONF を使用してスイッチに接続する前に、以下を行う必要があります。"
4344
4345#: ../../rst/network/user_guide/platform_ce.rst:82
4346#: ../../rst/network/user_guide/platform_iosxr.rst:85
4347#: ../../rst/network/user_guide/platform_junos.rst:86
4348msgid "install the ``ncclient`` python package on your control node(s) with ``pip install ncclient``"
4349msgstr "``pip install ncclient`` を使用して、``ncclient`` python パッケージをコントロールノードにインストールします。"
4350
4351#: ../../rst/network/user_guide/platform_ce.rst:83
4352msgid "enable NETCONF on the CloudEngine OS device(s)"
4353msgstr "CloudEngine OS デバイスでの NETCONF の有効化"
4354
4355#: ../../rst/network/user_guide/platform_ce.rst:85
4356msgid "To enable NETCONF on a new switch using Ansible, use the ``community.network.ce_config`` module with the CLI connection. Set up your platform-level variables just like in the CLI example above, then run a playbook task like this:"
4357msgstr "Ansibleを使用する新しいスイッチで NETCONF を有効にするには、CLI 接続でモジュールを ``community.network.ce_config`` 使用します。上記の CLI の例のようにプラットフォームレベルの変数を設定し、次のような Playbook タスクを実行します。"
4358
4359#: ../../rst/network/user_guide/platform_ce.rst:96
4360#: ../../rst/network/user_guide/platform_iosxr.rst:97
4361#: ../../rst/network/user_guide/platform_junos.rst:98
4362#: ../../rst/network/user_guide/platform_netconf_enabled.rst:58
4363msgid "Once NETCONF is enabled, change your variables to use the NETCONF connection."
4364msgstr "NETCONF を有効にしたら、変数を変更して NETCONF 接続を使用します。"
4365
4366#: ../../rst/network/user_guide/platform_ce.rst:99
4367msgid "Example NETCONF inventory ``[ce:vars]``"
4368msgstr "NETCONF インベントリーの例 ``[ce:vars]``"
4369
4370#: ../../rst/network/user_guide/platform_ce.rst:112
4371#: ../../rst/network/user_guide/platform_iosxr.rst:113
4372#: ../../rst/network/user_guide/platform_junos.rst:114
4373#: ../../rst/network/user_guide/platform_netconf_enabled.rst:73
4374msgid "Example NETCONF task"
4375msgstr "NETCONF タスクの例"
4376
4377#: ../../rst/network/user_guide/platform_ce.rst:124
4378msgid "Notes"
4379msgstr "備考"
4380
4381#: ../../rst/network/user_guide/platform_ce.rst:127
4382msgid "Modules that work with ``ansible.netcommon.network_cli``"
4383msgstr "``ansible.netcommon.network_cli`` と連携するモジュール"
4384
4385#: ../../rst/network/user_guide/platform_ce.rst:157
4386msgid "Modules that work with ``ansible.netcommon.netconf``"
4387msgstr "``ansible.netcommon.netconf`` と連携するモジュール"
4388
4389#: ../../rst/network/user_guide/shared_snippets/SSH_warning.txt:2
4390msgid "Never store passwords in plain text. We recommend using SSH keys to authenticate SSH connections. Ansible supports ssh-agent to manage your SSH keys. If you must use passwords to authenticate SSH connections, we recommend encrypting them with :ref:`Ansible Vault <playbooks_vault>`."
4391msgstr "パスワードをプレーンテキストで保存しないでください。SSH キーを使用して SSH 接続を認証することが推奨されます。Ansible は SSH キーを管理するための ssh-agent をサポートしています。SSH 接続の認証にパスワードを使用する必要がある場合は、:ref:`Ansible Vault <playbooks_vault>` で暗号化することが推奨されます。"
4392
4393#: ../../rst/network/user_guide/platform_ce.rst:213
4394#: ../../rst/network/user_guide/platform_cnos.rst:78
4395#: ../../rst/network/user_guide/platform_dellos10.rst:80
4396#: ../../rst/network/user_guide/platform_dellos6.rst:79
4397#: ../../rst/network/user_guide/platform_dellos9.rst:79
4398#: ../../rst/network/user_guide/platform_enos.rst:80
4399#: ../../rst/network/user_guide/platform_eos.rst:140
4400#: ../../rst/network/user_guide/platform_eric_eccli.rst:73
4401#: ../../rst/network/user_guide/platform_exos.rst:108
4402#: ../../rst/network/user_guide/platform_frr.rst:73
4403#: ../../rst/network/user_guide/platform_icx.rst:77
4404#: ../../rst/network/user_guide/platform_ios.rst:79
4405#: ../../rst/network/user_guide/platform_iosxr.rst:130
4406#: ../../rst/network/user_guide/platform_ironware.rst:80
4407#: ../../rst/network/user_guide/platform_junos.rst:129
4408#: ../../rst/network/user_guide/platform_meraki.rst:44
4409#: ../../rst/network/user_guide/platform_netconf_enabled.rst:133
4410#: ../../rst/network/user_guide/platform_netvisor.rst:78
4411#: ../../rst/network/user_guide/platform_nos.rst:76
4412#: ../../rst/network/user_guide/platform_nxos.rst:166
4413#: ../../rst/network/user_guide/platform_routeros.rst:80
4414#: ../../rst/network/user_guide/platform_slxos.rst:77
4415#: ../../rst/network/user_guide/platform_voss.rst:78
4416#: ../../rst/network/user_guide/platform_vyos.rst:74
4417#: ../../rst/network/user_guide/platform_weos4.rst:88
4418msgid ":ref:`timeout_options`"
4419msgstr ":ref:`timeout_options`"
4420
4421#: ../../rst/network/user_guide/platform_cnos.rst:5
4422msgid "CNOS Platform Options"
4423msgstr "CNOS プラットフォームのオプション"
4424
4425#: ../../rst/network/user_guide/platform_cnos.rst:7
4426msgid "CNOS is part of the `community.network <https://galaxy.ansible.com/community/network>`_ collection and supports Enable Mode (Privilege Escalation). This page offers details on how to use Enable Mode on CNOS in Ansible."
4427msgstr "CNOS は、`community.network <https://galaxy.ansible.com/community/network>`_ コレクションの一部で、Enable Mode (Privilege Escalation) をサポートします。このページでは、Ansible の CNOS で Enable Mode を有効にする方法を詳細に説明します。"
4428
4429#: ../../rst/network/user_guide/platform_cnos.rst:29
4430#: ../../rst/network/user_guide/platform_dellos10.rst:29
4431#: ../../rst/network/user_guide/platform_dellos6.rst:29
4432#: ../../rst/network/user_guide/platform_dellos9.rst:29
4433#: ../../rst/network/user_guide/platform_enos.rst:29
4434#: ../../rst/network/user_guide/platform_eric_eccli.rst:29
4435#: ../../rst/network/user_guide/platform_frr.rst:29
4436#: ../../rst/network/user_guide/platform_icx.rst:29
4437#: ../../rst/network/user_guide/platform_ios.rst:29
4438#: ../../rst/network/user_guide/platform_ironware.rst:29
4439#: ../../rst/network/user_guide/platform_netvisor.rst:30
4440#: ../../rst/network/user_guide/platform_slxos.rst:30
4441#: ../../rst/network/user_guide/platform_voss.rst:30
4442#: ../../rst/network/user_guide/platform_vyos.rst:29
4443msgid "``ansible_connection: ansible.netcommon.network_cli``"
4444msgstr "``ansible_connection: ansible.netcommon.network_cli``"
4445
4446#: ../../rst/network/user_guide/platform_cnos.rst:31
4447#: ../../rst/network/user_guide/platform_dellos10.rst:31
4448#: ../../rst/network/user_guide/platform_dellos6.rst:31
4449#: ../../rst/network/user_guide/platform_dellos9.rst:31
4450#: ../../rst/network/user_guide/platform_enos.rst:31
4451#: ../../rst/network/user_guide/platform_icx.rst:31
4452#: ../../rst/network/user_guide/platform_ios.rst:31
4453#: ../../rst/network/user_guide/platform_ironware.rst:31
4454#: ../../rst/network/user_guide/platform_nxos.rst:32
4455msgid "supported: use ``ansible_become: yes`` with ``ansible_become_method: enable`` and ``ansible_become_password:``"
4456msgstr "サポート対象: ``ansible_become: yes`` を、``ansible_become_method: enable`` および ``ansible_become_password:`` と併用します。"
4457
4458#: ../../rst/network/user_guide/platform_cnos.rst:35
4459#: ../../rst/network/user_guide/platform_dellos10.rst:35
4460#: ../../rst/network/user_guide/platform_dellos6.rst:35
4461#: ../../rst/network/user_guide/platform_dellos9.rst:35
4462#: ../../rst/network/user_guide/platform_enos.rst:35
4463#: ../../rst/network/user_guide/platform_eos.rst:39
4464#: ../../rst/network/user_guide/platform_eric_eccli.rst:33
4465#: ../../rst/network/user_guide/platform_exos.rst:35
4466#: ../../rst/network/user_guide/platform_frr.rst:33
4467#: ../../rst/network/user_guide/platform_icx.rst:34
4468#: ../../rst/network/user_guide/platform_ios.rst:34
4469#: ../../rst/network/user_guide/platform_ironware.rst:35
4470#: ../../rst/network/user_guide/platform_junos.rst:37
4471#: ../../rst/network/user_guide/platform_netvisor.rst:34
4472#: ../../rst/network/user_guide/platform_nos.rst:34
4473#: ../../rst/network/user_guide/platform_nxos.rst:36
4474#: ../../rst/network/user_guide/platform_routeros.rst:34
4475#: ../../rst/network/user_guide/platform_slxos.rst:34
4476#: ../../rst/network/user_guide/platform_voss.rst:35
4477#: ../../rst/network/user_guide/platform_weos4.rst:34
4478msgid "``stdout[0].``"
4479msgstr "``stdout[0].``"
4480
4481#: ../../rst/network/user_guide/platform_cnos.rst:40
4482#: ../../rst/network/user_guide/platform_dellos10.rst:40
4483#: ../../rst/network/user_guide/platform_dellos6.rst:40
4484#: ../../rst/network/user_guide/platform_dellos9.rst:40
4485#: ../../rst/network/user_guide/platform_enos.rst:42
4486#: ../../rst/network/user_guide/platform_ios.rst:40
4487#: ../../rst/network/user_guide/platform_ironware.rst:41
4488#: ../../rst/network/user_guide/platform_vyos.rst:39
4489msgid "The ``ansible_connection: local`` has been deprecated. Please use ``ansible_connection: ansible.netcommon.network_cli`` instead."
4490msgstr "``ansible_connection: local`` は非推奨になりました。代わりに ``ansible_connection: ansible.netcommon.network_cli`` を使用してください。"
4491
4492#: ../../rst/network/user_guide/platform_cnos.rst:46
4493msgid "Example CLI ``group_vars/cnos.yml``"
4494msgstr "CLI の例 ``group_vars/cnos.yml``"
4495
4496#: ../../rst/network/user_guide/platform_dellos10.rst:5
4497msgid "Dell OS10 Platform Options"
4498msgstr "Dell OS10 プラットフォームオプション"
4499
4500#: ../../rst/network/user_guide/platform_dellos10.rst:7
4501msgid "The `dellemc.os10 <https://galaxy.ansible.com/dellemc_networking/os10>`_ collection supports Enable Mode (Privilege Escalation). This page offers details on how to use Enable Mode on OS10 in Ansible."
4502msgstr "`dellemc.os10 <https://galaxy.ansible.com/dellemc_networking/os10>`_ コレクションは Enable Mode (Privilege Escalation) をサポートします。このページでは、Ansible の OS10 で Enable Mode を使用する方法に関する詳細が記載されています。"
4503
4504#: ../../rst/network/user_guide/platform_dellos10.rst:47
4505msgid "Example CLI ``group_vars/dellos10.yml``"
4506msgstr "CLI の例 ``group_vars/dellos10.yml``"
4507
4508#: ../../rst/network/user_guide/platform_dellos6.rst:5
4509msgid "Dell OS6 Platform Options"
4510msgstr "Dell OS6 プラットフォームオプション"
4511
4512#: ../../rst/network/user_guide/platform_dellos6.rst:7
4513msgid "The `dellemc.os6 <https://github.com/ansible-collections/dellemc.os6>`_ collection supports Enable Mode (Privilege Escalation). This page offers details on how to use Enable Mode on OS6 in Ansible."
4514msgstr "`dellemc.os6 <https://github.com/ansible-collections/dellemc.os6>`_ コレクションは Enable Mode (Privilege Escalation) をサポートします。このページでは、Ansible の OS6 で Enable Mode の使用方法に関する詳細が記載されています。"
4515
4516#: ../../rst/network/user_guide/platform_dellos6.rst:46
4517msgid "Example CLI ``group_vars/dellos6.yml``"
4518msgstr "CLI の例 ``group_vars/dellos6.yml``"
4519
4520#: ../../rst/network/user_guide/platform_dellos9.rst:5
4521msgid "Dell OS9 Platform Options"
4522msgstr "Dell OS9 プラットフォームオプション"
4523
4524#: ../../rst/network/user_guide/platform_dellos9.rst:7
4525msgid "The `dellemc.os9 <https://github.com/ansible-collections/dellemc.os9>`_ collection  supports Enable Mode (Privilege Escalation). This page offers details on how to use Enable Mode on OS9 in Ansible."
4526msgstr "`dellemc.os9 <https://github.com/ansible-collections/dellemc.os9>`_ コレクションは Enable Mode (Privilege Escalation) をサポートします。このページでは、Ansible の OS9 で Enable Mode の使用方法に関する詳細が記載されています。"
4527
4528#: ../../rst/network/user_guide/platform_dellos9.rst:46
4529msgid "Example CLI ``group_vars/dellos9.yml``"
4530msgstr "CLI の例 ``group_vars/dellos9.yml``"
4531
4532#: ../../rst/network/user_guide/platform_enos.rst:5
4533msgid "ENOS Platform Options"
4534msgstr "ENOS プラットフォームのオプション"
4535
4536#: ../../rst/network/user_guide/platform_enos.rst:7
4537msgid "ENOS is part of the `community.network <https://galaxy.ansible.com/community/network>`_ collection and supports Enable Mode (Privilege Escalation). This page offers details on how to use Enable Mode on ENOS in Ansible."
4538msgstr "ENOS は、`community.network <https://galaxy.ansible.com/community/network>`_ コレクションの一部で、Enable Mode (Privilege Escalation) をサポートします。このページでは、Ansible の ENOS で Enable Mode を有効にする方法を説明します。"
4539
4540#: ../../rst/network/user_guide/platform_enos.rst:48
4541msgid "Example CLI ``group_vars/enos.yml``"
4542msgstr "CLI の例 ``group_vars/enos.yml``"
4543
4544#: ../../rst/network/user_guide/platform_eos.rst:5
4545msgid "EOS Platform Options"
4546msgstr "EOS プラットフォームのオプション"
4547
4548#: ../../rst/network/user_guide/platform_eos.rst:7
4549msgid "The `Arista EOS <https://galaxy.ansible.com/arista/eos>`_ collection supports multiple connections. This page offers details on how each connection works in Ansible and how to use it."
4550msgstr "`Arista EOS <https://galaxy.ansible.com/arista/eos>`_ コレクションは複数の接続をサポートします。このページでは、各接続がどのように Ansible でどのように機能するかと、その使用方法を説明します。"
4551
4552#: ../../rst/network/user_guide/platform_eos.rst:19
4553msgid "eAPI"
4554msgstr "eAPI"
4555
4556#: ../../rst/network/user_guide/platform_eos.rst:21
4557#: ../../rst/network/user_guide/platform_exos.rst:22
4558#: ../../rst/network/user_guide/platform_meraki.rst:21
4559#: ../../rst/network/user_guide/platform_nxos.rst:21
4560msgid "HTTP(S)"
4561msgstr "HTTP(S)"
4562
4563#: ../../rst/network/user_guide/platform_eos.rst:23
4564#: ../../rst/network/user_guide/platform_exos.rst:24
4565#: ../../rst/network/user_guide/platform_nxos.rst:23
4566msgid "uses HTTPS certificates if present"
4567msgstr "HTTPS 証明書が存在する場合は使用します。"
4568
4569#: ../../rst/network/user_guide/platform_eos.rst:27
4570#: ../../rst/network/user_guide/platform_exos.rst:28
4571#: ../../rst/network/user_guide/platform_nxos.rst:27
4572msgid "via a web proxy"
4573msgstr "Web プロキシー経由"
4574
4575#: ../../rst/network/user_guide/platform_eos.rst:29
4576msgid "``ansible_connection:`` ``ansible.netcommon.network_cli``"
4577msgstr "``ansible_connection:`` ``ansible.netcommon.network_cli``"
4578
4579#: ../../rst/network/user_guide/platform_eos.rst:29
4580msgid "``ansible_connection:`` ``ansible.netcommon.httpapi``"
4581msgstr "``ansible_connection:`` ``ansible.netcommon.httpapi``"
4582
4583#: ../../rst/network/user_guide/platform_eos.rst:33
4584msgid "supported: |br|"
4585msgstr "サポート対象: |br|"
4586
4587#: ../../rst/network/user_guide/platform_eos.rst:35
4588msgid "use ``ansible_become: yes`` with ``ansible_become_method: enable``"
4589msgstr "``ansible_become: yes`` を ``ansible_become_method: enable`` と併用します。"
4590
4591#: ../../rst/network/user_guide/platform_eos.rst:35
4592msgid "``httpapi`` uses ``ansible_become: yes`` with ``ansible_become_method: enable``"
4593msgstr "``httpapi`` は、``ansible_become: yes`` を ``ansible_become_method: enable`` と併用します。"
4594
4595#: ../../rst/network/user_guide/platform_eos.rst:39
4596#: ../../rst/network/user_guide/platform_exos.rst:35
4597#: ../../rst/network/user_guide/platform_nxos.rst:36
4598msgid "``stdout[0].messages[0].``"
4599msgstr "``stdout[0].messages[0].``"
4600
4601#: ../../rst/network/user_guide/platform_eos.rst:45
4602#: ../../rst/network/user_guide/platform_nxos.rst:42
4603msgid "The ``ansible_connection: local`` has been deprecated. Please use ``ansible_connection: ansible.netcommon.network_cli`` or ``ansible_connection: ansible.netcommon.httpapi`` instead."
4604msgstr "``ansible_connection: local`` は非推奨になりました。代わりに ``ansible_connection: ansible.netcommon.network_cli`` または ``ansible_connection: ansible.netcommon.httpapi`` を使用してください。"
4605
4606#: ../../rst/network/user_guide/platform_eos.rst:51
4607msgid "Example CLI ``group_vars/eos.yml``"
4608msgstr "CLI の例 ``group_vars/eos.yml``"
4609
4610#: ../../rst/network/user_guide/platform_eos.rst:83
4611msgid "Using eAPI in Ansible"
4612msgstr "Ansible での eAPI の使用"
4613
4614#: ../../rst/network/user_guide/platform_eos.rst:86
4615msgid "Enabling eAPI"
4616msgstr "EAPI の有効化"
4617
4618#: ../../rst/network/user_guide/platform_eos.rst:88
4619msgid "Before you can use eAPI to connect to a switch, you must enable eAPI. To enable eAPI on a new switch with Ansible, use the ``arista.eos.eos_eapi`` module through the CLI connection. Set up ``group_vars/eos.yml`` just like in the CLI example above, then run a playbook task like this:"
4620msgstr "eAPI を使用してスイッチに接続する前に、eAPI を有効にする必要があります。Ansible を使用する新しいスイッチで eAPI を有効にするには、CLI 接続を介して ``arista.eos.eos_eapi`` モジュールを使用します。上記の CLI の例のように ``group_vars/eos.yml`` を設定し、次のように Playbook タスクを実行します。"
4621
4622#: ../../rst/network/user_guide/platform_eos.rst:100
4623msgid "You can find more options for enabling HTTP/HTTPS connections in the :ref:`arista.eos.eos_eapi <ansible_collections.arista.eos.eos_eapi_module>` module documentation."
4624msgstr "HTTP/HTTPS 接続を有効にするオプションの詳細は、:ref:`arista.eos.eos_eapi <ansible_collections.arista.eos.eos_eapi_module>` モジュールのドキュメントを参照してください。"
4625
4626#: ../../rst/network/user_guide/platform_eos.rst:102
4627msgid "Once eAPI is enabled, change your ``group_vars/eos.yml`` to use the eAPI connection."
4628msgstr "eAPI を有効にしたら、``group_vars/eos.yml`` を変更して eAPI 接続を使用します。"
4629
4630#: ../../rst/network/user_guide/platform_eos.rst:105
4631msgid "Example eAPI ``group_vars/eos.yml``"
4632msgstr "eAPI の例 ``group_vars/eos.yml``"
4633
4634#: ../../rst/network/user_guide/platform_eos.rst:118
4635#: ../../rst/network/user_guide/platform_exos.rst:88
4636#: ../../rst/network/user_guide/platform_nxos.rst:111
4637msgid "If you are accessing your host directly (not through a web proxy) you can remove the ``proxy_env`` configuration."
4638msgstr "(Web プロキシーを経由せず) ホストに直接アクセスしている場合は、``proxy_env`` 設定を削除できます。"
4639
4640#: ../../rst/network/user_guide/platform_eos.rst:119
4641#: ../../rst/network/user_guide/platform_exos.rst:89
4642#: ../../rst/network/user_guide/platform_nxos.rst:112
4643msgid "If you are accessing your host through a web proxy using ``https``, change ``http_proxy`` to ``https_proxy``."
4644msgstr "``https`` を使用して Web プロキシー経由でホストにアクセスする場合は、``http_proxy`` を ``https_proxy`` に変更します。"
4645
4646#: ../../rst/network/user_guide/platform_eos.rst:123
4647msgid "Example eAPI task"
4648msgstr "eAPI タスクの例"
4649
4650#: ../../rst/network/user_guide/platform_eos.rst:134
4651msgid "In this example the ``proxy_env`` variable defined in ``group_vars`` gets passed to the ``environment`` option of the module in the task."
4652msgstr "この例では、``group_vars`` で定義された ``proxy_env`` 変数が、タスクで使用されるモジュールの ``environment`` オプションに渡されます。"
4653
4654#: ../../rst/network/user_guide/platform_eric_eccli.rst:5
4655msgid "ERIC_ECCLI Platform Options"
4656msgstr "ERIC_ECCLI プラットフォームのオプション"
4657
4658#: ../../rst/network/user_guide/platform_eric_eccli.rst:7
4659msgid "Extreme ERIC_ECCLI is part of the `community.network <https://galaxy.ansible.com/community/network>`_ collection and only supports CLI connections today. This page offers details on how to use ``ansible.netcommon.network_cli`` on ERIC_ECCLI in Ansible."
4660msgstr "Extreme ERIC_ECCLI は `community.network <https://galaxy.ansible.com/community/network>`_ コレクションの一部で、現在は CLI 接続のみに対応しています。このページでは、Ansible の ERIC_ECCLI で ``ansible.netcommon.network_cli`` を使用する方法を詳細に説明します。"
4661
4662#: ../../rst/network/user_guide/platform_eric_eccli.rst:31
4663msgid "not supported by ERIC_ECCLI"
4664msgstr "ERIC_ECCLI ではサポートされません。"
4665
4666#: ../../rst/network/user_guide/platform_eric_eccli.rst:38
4667msgid "ERIC_ECCLI does not support ``ansible_connection: local``. You must use ``ansible_connection: ansible.netcommon.network_cli``."
4668msgstr "ERIC_ECCLI は、``ansible_connection: local`` をサポートしません。``ansible_connection: ansible.netcommon.network_cli`` を使用する必要があります。"
4669
4670#: ../../rst/network/user_guide/platform_eric_eccli.rst:44
4671msgid "Example CLI ``group_vars/eric_eccli.yml``"
4672msgstr "CLI の例 ``group_vars/eric_eccli.yml``"
4673
4674#: ../../rst/network/user_guide/platform_exos.rst:5
4675msgid "EXOS Platform Options"
4676msgstr "EXOS プラットフォームのオプション"
4677
4678#: ../../rst/network/user_guide/platform_exos.rst:7
4679msgid "Extreme EXOS is part of the `community.network <https://galaxy.ansible.com/community/network>`_ collection and supports multiple connections. This page offers details on how each connection works in Ansible and how to use it."
4680msgstr "Extreme EXOS は `community.network <https://galaxy.ansible.com/community/network>`_ コレクションの一部で、複数の接続をサポートします。このページでは、Ansible での各接続がどのように機能し、どのように使用されるかを詳細に説明します。"
4681
4682#: ../../rst/network/user_guide/platform_exos.rst:20
4683msgid "EXOS-API"
4684msgstr "EXOS-API"
4685
4686#: ../../rst/network/user_guide/platform_exos.rst:31
4687#: ../../rst/network/user_guide/platform_nxos.rst:30
4688msgid "``ansible.netcommon.httpapi``"
4689msgstr "``ansible.netcommon.httpapi``"
4690
4691#: ../../rst/network/user_guide/platform_exos.rst:33
4692msgid "not supported by EXOS"
4693msgstr "EXOS ではサポートされません"
4694
4695#: ../../rst/network/user_guide/platform_exos.rst:40
4696msgid "EXOS does not support ``ansible_connection: local``. You must use ``ansible_connection: ansible.netcommon.network_cli`` or ``ansible_connection: ansible.netcommon.httpapi``."
4697msgstr "EXOS は、``ansible_connection: local`` をサポートしません。``ansible_connection: ansible.netcommon.network_cli`` または ``ansible_connection: ansible.netcommon.httpapi`` を使用する必要があります。"
4698
4699#: ../../rst/network/user_guide/platform_exos.rst:46
4700msgid "Example CLI ``group_vars/exos.yml``"
4701msgstr "CLI の例 ``group_vars/exos.yml``"
4702
4703#: ../../rst/network/user_guide/platform_exos.rst:74
4704msgid "Using EXOS-API in Ansible"
4705msgstr "Ansible での EXOS-API の使用"
4706
4707#: ../../rst/network/user_guide/platform_exos.rst:77
4708msgid "Example EXOS-API ``group_vars/exos.yml``"
4709msgstr "EXOS-API の例 ``group_vars/exos.yml``"
4710
4711#: ../../rst/network/user_guide/platform_exos.rst:93
4712msgid "Example EXOS-API task"
4713msgstr "EXOS-API タスクの例"
4714
4715#: ../../rst/network/user_guide/platform_exos.rst:102
4716#: ../../rst/network/user_guide/platform_nxos.rst:127
4717msgid "In this example the ``proxy_env`` variable defined in ``group_vars`` gets passed to the ``environment`` option of the module used in the task."
4718msgstr "この例では、``proxy_env`` で定義された ``group_vars`` 変数は、タスクで使用されるモジュールの ``environment`` オプションに渡されます。"
4719
4720#: ../../rst/network/user_guide/platform_frr.rst:5
4721msgid "FRR Platform Options"
4722msgstr "FRR プラットフォームのオプション"
4723
4724#: ../../rst/network/user_guide/platform_frr.rst:7
4725msgid "The `FRR <https://galaxy.ansible.com/frr/frr>`_ collection supports the ``ansible.netcommon.network_cli`` connection. This section provides details on how to use this connection for Free Range Routing (FRR)."
4726msgstr "`FRR <https://galaxy.ansible.com/frr/frr>`_ コレクションは、``ansible.netcommon.network_cli`` 接続をサポートします。本セクションでは、この接続を Free Range Routing (FRR) に使用する方法を説明します。"
4727
4728#: ../../rst/network/user_guide/platform_frr.rst:31
4729#: ../../rst/network/user_guide/platform_iosxr.rst:36
4730#: ../../rst/network/user_guide/platform_vyos.rst:31
4731msgid "not supported"
4732msgstr "サポート対象外"
4733
4734#: ../../rst/network/user_guide/platform_frr.rst:43
4735msgid "Example CLI ``group_vars/frr.yml``"
4736msgstr "CLI の例 ``group_vars/frr.yml``"
4737
4738#: ../../rst/network/user_guide/platform_frr.rst:53
4739msgid "The ``ansible_user`` should be a part of the ``frrvty`` group and should have the default shell set to ``/bin/vtysh``."
4740msgstr "``ansible_user`` は ``frrvty`` グループに含まれるはずです。デフォルトのシェルは ``/bin/vtysh`` に設定する必要があります。"
4741
4742#: ../../rst/network/user_guide/platform_icx.rst:5
4743msgid "ICX Platform Options"
4744msgstr "ICX プラットフォームのオプション"
4745
4746#: ../../rst/network/user_guide/platform_icx.rst:7
4747msgid "ICX is part of the `community.network <https://galaxy.ansible.com/community/network>`_ collection supports Enable Mode (Privilege Escalation). This page offers details on how to use Enable Mode on ICX in Ansible."
4748msgstr "ICX は、`community.network <https://galaxy.ansible.com/community/network>`_ コレクションの一部で、Enable Mode (Privilege Escalation) をサポートします。このページでは、Ansible の ICX で Enable Mode を有効にする方法を説明します。"
4749
4750#: ../../rst/network/user_guide/platform_icx.rst:44
4751msgid "Example CLI ``group_vars/icx.yml``"
4752msgstr "CLI の例 ``group_vars/icx.yml``"
4753
4754#: ../../rst/network/user_guide/platform_index.rst:5
4755#: ../../rst/network/user_guide/platform_index.rst:9
4756msgid "Platform Options"
4757msgstr "プラットフォームのオプション"
4758
4759#: ../../rst/network/user_guide/platform_index.rst:7
4760msgid "Some Ansible Network platforms support multiple connection types, privilege escalation (``enable`` mode), or other options. The pages in this section offer standardized guides to understanding available options on each network platform. We welcome contributions from community-maintained platforms to this section."
4761msgstr "一部の Ansible Network プラットフォームは、複数の接続タイプ、権限エスカレーション (``enable`` モード) 、またはその他のオプションをサポートしています。本セクションのページでは、各ネットワークプラットフォームで利用可能なオプションを理解する標準ガイドが紹介されています。コミュニティーが管理するプラットフォームから、このセクションへの貢献を歓迎いたします。"
4762
4763#: ../../rst/network/user_guide/platform_index.rst:42
4764msgid "Settings by Platform"
4765msgstr "プラットフォーム別の設定"
4766
4767#: ../../rst/network/user_guide/platform_index.rst:59
4768msgid "``ansible_connection:`` settings available"
4769msgstr "``ansible_connection:`` 設定が利用可能"
4770
4771#: ../../rst/network/user_guide/platform_index.rst:61
4772msgid "Network OS"
4773msgstr "ネットワーク OS"
4774
4775#: ../../rst/network/user_guide/platform_index.rst:61
4776msgid "``ansible_network_os:``"
4777msgstr "``ansible_network_os:``"
4778
4779#: ../../rst/network/user_guide/platform_index.rst:61
4780msgid "network_cli"
4781msgstr "network_cli"
4782
4783#: ../../rst/network/user_guide/platform_index.rst:61
4784msgid "netconf"
4785msgstr "netconf"
4786
4787#: ../../rst/network/user_guide/platform_index.rst:61
4788msgid "httpapi"
4789msgstr "httpapi"
4790
4791#: ../../rst/network/user_guide/platform_index.rst:63
4792msgid "`Arista EOS`_ `[†]`_"
4793msgstr "`Arista EOS`_ `[†]`_"
4794
4795#: ../../rst/network/user_guide/platform_index.rst:63
4796msgid "``arista.eos.eos``"
4797msgstr "``arista.eos.eos``"
4798
4799#: ../../rst/network/user_guide/platform_index.rst:63
4800#: ../../rst/network/user_guide/platform_index.rst:64
4801#: ../../rst/network/user_guide/platform_index.rst:65
4802#: ../../rst/network/user_guide/platform_index.rst:66
4803#: ../../rst/network/user_guide/platform_index.rst:67
4804#: ../../rst/network/user_guide/platform_index.rst:68
4805#: ../../rst/network/user_guide/platform_index.rst:69
4806#: ../../rst/network/user_guide/platform_index.rst:70
4807#: ../../rst/network/user_guide/platform_index.rst:71
4808#: ../../rst/network/user_guide/platform_index.rst:72
4809#: ../../rst/network/user_guide/platform_index.rst:73
4810#: ../../rst/network/user_guide/platform_index.rst:74
4811#: ../../rst/network/user_guide/platform_index.rst:75
4812#: ../../rst/network/user_guide/platform_index.rst:76
4813#: ../../rst/network/user_guide/platform_index.rst:77
4814#: ../../rst/network/user_guide/platform_index.rst:78
4815#: ../../rst/network/user_guide/platform_index.rst:79
4816#: ../../rst/network/user_guide/platform_index.rst:80
4817#: ../../rst/network/user_guide/platform_index.rst:81
4818#: ../../rst/network/user_guide/platform_index.rst:82
4819#: ../../rst/network/user_guide/platform_index.rst:83
4820#: ../../rst/network/user_guide/platform_index.rst:84
4821#: ../../rst/network/user_guide/platform_index.rst:85
4822#: ../../rst/network/user_guide/platform_index.rst:86
4823#: ../../rst/network/user_guide/platform_index.rst:87
4824#: ../../rst/network/user_guide/platform_index.rst:88
4825#: ../../rst/network/user_guide/platform_index.rst:89
4826#: ../../rst/network/user_guide/platform_index.rst:90
4827#: ../../rst/network/user_guide/platform_index.rst:91
4828msgid "✓"
4829msgstr "✓"
4830
4831#: ../../rst/network/user_guide/platform_index.rst:64
4832msgid "`Ciena SAOS6`_"
4833msgstr "`Ciena SAOS6`_"
4834
4835#: ../../rst/network/user_guide/platform_index.rst:64
4836msgid "``ciena.saos6.saos6``"
4837msgstr "``ciena.saos6.saos6``"
4838
4839#: ../../rst/network/user_guide/platform_index.rst:65
4840msgid "`Cisco ASA`_ `[†]`_"
4841msgstr "`Cisco ASA`_ `[†]`_"
4842
4843#: ../../rst/network/user_guide/platform_index.rst:65
4844msgid "``cisco.asa.asa``"
4845msgstr "``cisco.asa.asa``"
4846
4847#: ../../rst/network/user_guide/platform_index.rst:66
4848msgid "`Cisco IOS`_ `[†]`_"
4849msgstr "`Cisco IOS`_ `[†]`_"
4850
4851#: ../../rst/network/user_guide/platform_index.rst:66
4852msgid "``cisco.ios.ios``"
4853msgstr "``cisco.ios.ios``"
4854
4855#: ../../rst/network/user_guide/platform_index.rst:67
4856msgid "`Cisco IOS XR`_ `[†]`_"
4857msgstr "`Cisco IOS XR`_ `[†]`_"
4858
4859#: ../../rst/network/user_guide/platform_index.rst:67
4860msgid "``cisco.iosxr.iosxr``"
4861msgstr "``cisco.iosxr.iosxr``"
4862
4863#: ../../rst/network/user_guide/platform_index.rst:68
4864msgid "`Cisco NX-OS`_ `[†]`_"
4865msgstr "`Cisco NX-OS`_ `[†]`_"
4866
4867#: ../../rst/network/user_guide/platform_index.rst:68
4868msgid "``cisco.nxos.nxos``"
4869msgstr "``cisco.nxos.nxos``"
4870
4871#: ../../rst/network/user_guide/platform_index.rst:69
4872msgid "`Cloudengine OS`_"
4873msgstr "`Cloudengine OS`_"
4874
4875#: ../../rst/network/user_guide/platform_index.rst:69
4876msgid "``community.network.ce``"
4877msgstr "``community.network.ce``"
4878
4879#: ../../rst/network/user_guide/platform_index.rst:70
4880msgid "`Dell OS6`_"
4881msgstr "`Dell OS6`_"
4882
4883#: ../../rst/network/user_guide/platform_index.rst:70
4884msgid "``dellemc.os6.os6``"
4885msgstr "``dellemc.os6.os6``"
4886
4887#: ../../rst/network/user_guide/platform_index.rst:71
4888msgid "`Dell OS9`_"
4889msgstr "`Dell OS9`_"
4890
4891#: ../../rst/network/user_guide/platform_index.rst:71
4892msgid "``dellemc.os9.os9``"
4893msgstr "``dellemc.os9.os9``"
4894
4895#: ../../rst/network/user_guide/platform_index.rst:72
4896msgid "`Dell OS10`_"
4897msgstr "`Dell OS10`_"
4898
4899#: ../../rst/network/user_guide/platform_index.rst:72
4900msgid "``dellemc.os10.os10``"
4901msgstr "``dellemc.os10.os10``"
4902
4903#: ../../rst/network/user_guide/platform_index.rst:73
4904msgid "`Ericsson ECCLI`_"
4905msgstr "`Ericsson ECCLI`_"
4906
4907#: ../../rst/network/user_guide/platform_index.rst:73
4908msgid "``community.network.eric_eccli``"
4909msgstr "``community.network.eric_eccli``"
4910
4911#: ../../rst/network/user_guide/platform_index.rst:74
4912msgid "`Extreme EXOS`_"
4913msgstr "`Extreme EXOS`_"
4914
4915#: ../../rst/network/user_guide/platform_index.rst:74
4916msgid "``community.network.exos``"
4917msgstr "``community.network.exos``"
4918
4919#: ../../rst/network/user_guide/platform_index.rst:75
4920msgid "`Extreme IronWare`_"
4921msgstr "`Extreme IronWare`_"
4922
4923#: ../../rst/network/user_guide/platform_index.rst:75
4924msgid "``community.network.ironware``"
4925msgstr "``community.network.ironware``"
4926
4927#: ../../rst/network/user_guide/platform_index.rst:76
4928msgid "`Extreme NOS`_"
4929msgstr "`Extreme NOS`_"
4930
4931#: ../../rst/network/user_guide/platform_index.rst:76
4932msgid "``community.network.nos``"
4933msgstr "``community.network.nos``"
4934
4935#: ../../rst/network/user_guide/platform_index.rst:77
4936msgid "`Extreme SLX-OS`_"
4937msgstr "`Extreme SLX-OS`_"
4938
4939#: ../../rst/network/user_guide/platform_index.rst:77
4940msgid "``community.network.slxos``"
4941msgstr "``community.network.slxos``"
4942
4943#: ../../rst/network/user_guide/platform_index.rst:78
4944msgid "`Extreme VOSS`_"
4945msgstr "`Extreme VOSS`_"
4946
4947#: ../../rst/network/user_guide/platform_index.rst:78
4948msgid "``community.network.voss``"
4949msgstr "``community.network.voss``"
4950
4951#: ../../rst/network/user_guide/platform_index.rst:79
4952msgid "`F5 BIG-IP`_"
4953msgstr "`F5 BIG-IP`_"
4954
4955#: ../../rst/network/user_guide/platform_index.rst:80
4956msgid "`F5 BIG-IQ`_"
4957msgstr "`F5 BIG-IQ`_"
4958
4959#: ../../rst/network/user_guide/platform_index.rst:81
4960msgid "`Junos OS`_ `[†]`_"
4961msgstr "`Junos OS`_ `[†]`_"
4962
4963#: ../../rst/network/user_guide/platform_index.rst:81
4964msgid "``junipernetworks.junos.junos``"
4965msgstr "``junipernetworks.junos.junos``"
4966
4967#: ../../rst/network/user_guide/platform_index.rst:82
4968msgid "`Lenovo CNOS`_"
4969msgstr "`Lenovo CNOS`_"
4970
4971#: ../../rst/network/user_guide/platform_index.rst:82
4972msgid "``community.network.cnos``"
4973msgstr "``community.network.cnos``"
4974
4975#: ../../rst/network/user_guide/platform_index.rst:83
4976msgid "`Lenovo ENOS`_"
4977msgstr "`Lenovo ENOS`_"
4978
4979#: ../../rst/network/user_guide/platform_index.rst:83
4980msgid "``community.network.enos``"
4981msgstr "``community.network.enos``"
4982
4983#: ../../rst/network/user_guide/platform_index.rst:84
4984msgid "`Meraki`_"
4985msgstr "`Meraki`_"
4986
4987#: ../../rst/network/user_guide/platform_index.rst:85
4988msgid "`MikroTik RouterOS`_"
4989msgstr "`MikroTik RouterOS`_"
4990
4991#: ../../rst/network/user_guide/platform_index.rst:85
4992msgid "``community.network.routeros``"
4993msgstr "``community.network.routeros``"
4994
4995#: ../../rst/network/user_guide/platform_index.rst:86
4996msgid "`Nokia SR OS`_"
4997msgstr "`Nokia SR OS`_"
4998
4999#: ../../rst/network/user_guide/platform_index.rst:87
5000msgid "`Pluribus Netvisor`_"
5001msgstr "`Pluribus Netvisor`_"
5002
5003#: ../../rst/network/user_guide/platform_index.rst:87
5004msgid "``community.network.netvisor``"
5005msgstr "``community.network.netvisor``"
5006
5007#: ../../rst/network/user_guide/platform_index.rst:88
5008msgid "`Ruckus ICX`_"
5009msgstr "`Ruckus ICX`_"
5010
5011#: ../../rst/network/user_guide/platform_index.rst:88
5012msgid "``community.network.icx``"
5013msgstr "``community.network.icx``"
5014
5015#: ../../rst/network/user_guide/platform_index.rst:89
5016msgid "`VyOS`_ `[†]`_"
5017msgstr "`VyOS`_ `[†]`_"
5018
5019#: ../../rst/network/user_guide/platform_index.rst:89
5020msgid "``vyos.vyos.vyos``"
5021msgstr "``vyos.vyos.vyos``"
5022
5023#: ../../rst/network/user_guide/platform_index.rst:90
5024msgid "`Westermo WeOS 4`_"
5025msgstr "`Westermo WeOS 4`_"
5026
5027#: ../../rst/network/user_guide/platform_index.rst:90
5028msgid "``community.network.weos4``"
5029msgstr "``community.network.weos4``"
5030
5031#: ../../rst/network/user_guide/platform_index.rst:91
5032msgid "OS that supports Netconf `[†]`_"
5033msgstr "Netconf に対応する OS `[†]`_"
5034
5035#: ../../rst/network/user_guide/platform_index.rst:91
5036msgid "``<network-os>``"
5037msgstr "``<network-os>``"
5038
5039#: ../../rst/network/user_guide/platform_index.rst:124
5040msgid "**[†]** Maintained by Ansible Network Team"
5041msgstr "**[†]** Ansible Network Team が管理"
5042
5043#: ../../rst/network/user_guide/platform_ios.rst:5
5044msgid "IOS Platform Options"
5045msgstr "IOS プラットフォームのオプション"
5046
5047#: ../../rst/network/user_guide/platform_ios.rst:7
5048msgid "The `Cisco IOS <https://galaxy.ansible.com/cisco/ios>`_ collection supports Enable Mode (Privilege Escalation). This page offers details on how to use Enable Mode on IOS in Ansible."
5049msgstr "`Cisco IOS <https://galaxy.ansible.com/cisco/ios>`_ コレクションは Enable Mode (Privilege Escalation) をサポートします。このページでは、Ansible の IOS で Enable Mode を有効にする方法を説明します。"
5050
5051#: ../../rst/network/user_guide/platform_ios.rst:46
5052msgid "Example CLI ``group_vars/ios.yml``"
5053msgstr "CLI の例 ``group_vars/ios.yml``"
5054
5055#: ../../rst/network/user_guide/platform_iosxr.rst:5
5056msgid "IOS-XR Platform Options"
5057msgstr "IOS-XR プラットフォームのオプション"
5058
5059#: ../../rst/network/user_guide/platform_iosxr.rst:7
5060msgid "The `Cisco IOS-XR collection <https://galaxy.ansible.com/cisco/iosxr>`_ supports multiple connections. This page offers details on how each connection works in Ansible and how to use it."
5061msgstr "`Cisco IOS-XR collection <https://galaxy.ansible.com/cisco/iosxr>`_ は複数の接続をサポートします。このページでは、Ansible で各接続がどのように機能するか、およびその使用方法を詳細に説明します。"
5062
5063#: ../../rst/network/user_guide/platform_iosxr.rst:21
5064msgid "only for modules ``iosxr_banner``, ``iosxr_interface``, ``iosxr_logging``, ``iosxr_system``, ``iosxr_user``"
5065msgstr "モジュールの ``iosxr_banner``、``iosxr_interface``、``iosxr_logging``、``iosxr_system``、``iosxr_user`` のみ"
5066
5067#: ../../rst/network/user_guide/platform_iosxr.rst:44
5068#: ../../rst/network/user_guide/platform_junos.rst:45
5069msgid "The ``ansible_connection: local`` has been deprecated. Please use ``ansible_connection: ansible.netcommon.network_cli`` or ``ansible_connection: ansible.netcommon.netconf`` instead."
5070msgstr "``ansible_connection: local`` は非推奨になりました。代わりに ``ansible_connection: ansible.netcommon.network_cli`` または ``ansible_connection: ansible.netcommon.netconf`` を使用してください。"
5071
5072#: ../../rst/network/user_guide/platform_iosxr.rst:50
5073msgid "Example CLI inventory ``[iosxr:vars]``"
5074msgstr "CLI インベントリーの例 ``[iosxr:vars]``"
5075
5076#: ../../rst/network/user_guide/platform_iosxr.rst:86
5077msgid "enable NETCONF on the Cisco IOS-XR device(s)"
5078msgstr "Cisco IOS-XR デバイスで NETCONF を有効にします。"
5079
5080#: ../../rst/network/user_guide/platform_iosxr.rst:88
5081msgid "To enable NETCONF on a new switch via Ansible, use the ``cisco.iosxr.iosxr_netconf`` module through the CLI connection. Set up your platform-level variables just like in the CLI example above, then run a playbook task like this:"
5082msgstr "Ansible を介して新しいスイッチで NETCONF を有効にするには、CLI 接続を介して ``cisco.iosxr.iosxr_netconf`` モジュールを使用します。上記の CLI の例のようにプラットフォームレベルの変数を設定し、次のように Playbook タスクを実行します。"
5083
5084#: ../../rst/network/user_guide/platform_iosxr.rst:100
5085msgid "Example NETCONF inventory ``[iosxr:vars]``"
5086msgstr "NETCONF インベントリーの例 ``[iosxr:vars]``"
5087
5088#: ../../rst/network/user_guide/platform_ironware.rst:5
5089msgid "IronWare Platform Options"
5090msgstr "IronWare プラットフォームのオプション"
5091
5092#: ../../rst/network/user_guide/platform_ironware.rst:7
5093msgid "IronWare is part of the `community.network <https://galaxy.ansible.com/community/network>`_ collection and supports Enable Mode (Privilege Escalation). This page offers details on how to use Enable Mode on IronWare in Ansible."
5094msgstr "IronWare は、`community.network <https://galaxy.ansible.com/community/network>`_ コレクションの一部で、Enable Mode (Privilege Escalation) をサポートします。このページでは、Ansible の IronWare で Enable Mode を有効にする方法を説明します。"
5095
5096#: ../../rst/network/user_guide/platform_ironware.rst:47
5097msgid "Example CLI ``group_vars/mlx.yml``"
5098msgstr "CLI の例 ``group_vars/mlx.yml``"
5099
5100#: ../../rst/network/user_guide/platform_junos.rst:5
5101msgid "Junos OS Platform Options"
5102msgstr "Junos OS プラットフォームのオプション"
5103
5104#: ../../rst/network/user_guide/platform_junos.rst:7
5105msgid "The `Juniper Junos OS <https://galaxy.ansible.com/junipernetworks/junos>`_ supports multiple connections. This page offers details on how each connection works in Ansible and how to use it."
5106msgstr "`Juniper Junos OS <https://galaxy.ansible.com/junipernetworks/junos>`_ は複数の接続をサポートします。このページでは、Ansible で各接続がどのように機能するか、およびその使用方法を詳細に説明します。"
5107
5108#: ../../rst/network/user_guide/platform_junos.rst:21
5109msgid "``junos_netconf`` & ``junos_command`` modules only"
5110msgstr "``junos_netconf`` モジュールおよび ``junos_command`` モジュールのみ"
5111
5112#: ../../rst/network/user_guide/platform_junos.rst:21
5113#: ../../rst/network/user_guide/platform_netconf_enabled.rst:20
5114msgid "all modules except ``junos_netconf``, which enables NETCONF"
5115msgstr "NETCONF を有効にする ``junos_netconf`` 以外のすべてのモジュール"
5116
5117#: ../../rst/network/user_guide/platform_junos.rst:32
5118msgid "``ansible_connection: ``ansible.netcommon.network_cli``"
5119msgstr "``ansible_connection: ``ansible.netcommon.network_cli``"
5120
5121#: ../../rst/network/user_guide/platform_junos.rst:32
5122msgid "``ansible_connection: ``ansible.netcommon.netconf``"
5123msgstr "``ansible_connection: ``ansible.netcommon.netconf``"
5124
5125#: ../../rst/network/user_guide/platform_junos.rst:35
5126msgid "not supported by Junos OS"
5127msgstr "Junos OS ではサポートされません"
5128
5129#: ../../rst/network/user_guide/platform_junos.rst:37
5130msgid "json: ``result[0]['software-information'][0]['host-name'][0]['data'] foo lo0``"
5131msgstr "json: ``result[0]['software-information'][0]['host-name'][0]['data'] foo lo0``"
5132
5133#: ../../rst/network/user_guide/platform_junos.rst:38
5134msgid "text: ``result[1].interface-information[0].physical-interface[0].name[0].data foo lo0``"
5135msgstr "テキスト: ``result[1].interface-information[0].physical-interface[0].name[0].data foo lo0``"
5136
5137#: ../../rst/network/user_guide/platform_junos.rst:39
5138msgid "xml: ``result[1].rpc-reply.interface-information[0].physical-interface[0].name[0].data foo lo0``"
5139msgstr "xml: ``result[1].rpc-reply.interface-information[0].physical-interface[0].name[0].data foo lo0``"
5140
5141#: ../../rst/network/user_guide/platform_junos.rst:51
5142msgid "Example CLI inventory ``[junos:vars]``"
5143msgstr "CLI インベントリーの例 ``[junos:vars]``"
5144
5145#: ../../rst/network/user_guide/platform_junos.rst:87
5146#: ../../rst/network/user_guide/platform_netconf_enabled.rst:46
5147msgid "enable NETCONF on the Junos OS device(s)"
5148msgstr "Junos OS デバイスの netconf を有効にします。"
5149
5150#: ../../rst/network/user_guide/platform_junos.rst:89
5151msgid "To enable NETCONF on a new switch via Ansible, use the ``junipernetworks.junos.junos_netconf`` module through the CLI connection. Set up your platform-level variables just like in the CLI example above, then run a playbook task like this:"
5152msgstr "Ansible を介して新しいスイッチで NETCONF を有効にするには、CLI 接続を介して ``junipernetworks.junos.junos_netconf`` モジュールを使用します。上記の CLI の例のようにプラットフォームレベルの変数を設定し、次のように Playbook タスクを実行します。"
5153
5154#: ../../rst/network/user_guide/platform_junos.rst:101
5155#: ../../rst/network/user_guide/platform_netconf_enabled.rst:61
5156msgid "Example NETCONF inventory ``[junos:vars]``"
5157msgstr "NETCONF インベントリーの例 ``[junos:vars]``"
5158
5159#: ../../rst/network/user_guide/platform_meraki.rst:5
5160msgid "Meraki Platform Options"
5161msgstr "Meraki プラットフォームのオプション"
5162
5163#: ../../rst/network/user_guide/platform_meraki.rst:7
5164msgid "The `cisco.meraki <https://galaxy.ansible.com/cisco/meraki>`_ collection only supports the ``local`` connection type at this time."
5165msgstr "`cisco.meraki <https://galaxy.ansible.com/cisco/meraki>`_ コレクションは、現時点では ``local`` 接続タイプのみをサポートします。"
5166
5167#: ../../rst/network/user_guide/platform_meraki.rst:19
5168msgid "Dashboard API"
5169msgstr "ダッシュボード API"
5170
5171#: ../../rst/network/user_guide/platform_meraki.rst:23
5172msgid "uses API key from Dashboard"
5173msgstr "Dashboard からの API キーの使用"
5174
5175#: ../../rst/network/user_guide/platform_meraki.rst:25
5176msgid "``ansible_connection: localhost``"
5177msgstr "``ansible_connection: localhost``"
5178
5179#: ../../rst/network/user_guide/platform_meraki.rst:27
5180msgid "``data.``"
5181msgstr "``data.``"
5182
5183#: ../../rst/network/user_guide/platform_meraki.rst:32
5184msgid "Example Meraki task"
5185msgstr "Meraki タスクの例"
5186
5187#: ../../rst/network/user_guide/platform_netconf_enabled.rst:5
5188msgid "Netconf enabled Platform Options"
5189msgstr "Netconf が有効なプラットフォームオプション"
5190
5191#: ../../rst/network/user_guide/platform_netconf_enabled.rst:7
5192msgid "This page offers details on how the netconf connection works in Ansible and how to use it."
5193msgstr "このページには、netconf 接続が Ansible でどのように機能するか、およびその詳細な使用方法が記載されています。"
5194
5195#: ../../rst/network/user_guide/platform_netconf_enabled.rst:31
5196msgid "``ansible_connection: ansible.netcommon.netconf``"
5197msgstr "``ansible_connection: ansible.netcommon.netconf``"
5198
5199#: ../../rst/network/user_guide/platform_netconf_enabled.rst:35
5200msgid "The ``ansible_connection: local`` has been deprecated. Please use ``ansible_connection: ansible.netcommon.netconf`` instead."
5201msgstr "``ansible_connection: local`` は非推奨になりました。代わりに ``ansible_connection: ansible.netcommon.netconf`` を使用してください。"
5202
5203#: ../../rst/network/user_guide/platform_netconf_enabled.rst:45
5204msgid "install the ``ncclient`` Python package on your control node(s) with ``pip install ncclient``"
5205msgstr "``pip install ncclient`` を使用して、``ncclient`` Python パッケージをコントロールノードにインストールします。"
5206
5207#: ../../rst/network/user_guide/platform_netconf_enabled.rst:48
5208msgid "To enable NETCONF on a new switch via Ansible, use the platform specific module via the CLI connection or set it manually. For example set up your platform-level variables just like in the CLI example above, then run a playbook task like this:"
5209msgstr "Ansible 経由で新しいスイッチの NETCONF を有効にするには、CLI 接続経由でプラットフォーム固有のモジュールを使用するか、手動で設定します。たとえば、上記の CLI の例のようにプラットフォームレベルの変数を設定し、次のような Playbook タスクを実行します。"
5210
5211#: ../../rst/network/user_guide/platform_netconf_enabled.rst:83
5212msgid "Example NETCONF task with configurable variables"
5213msgstr "設定可能な変数を含む NETCONF タスクの例"
5214
5215#: ../../rst/network/user_guide/platform_netconf_enabled.rst:94
5216msgid "Note: For netconf connection plugin configurable variables see :ref:`ansible.netcommon.netconf <ansible_collections.ansible.netcommon.netconf_connection>`."
5217msgstr "注意: netconf 接続プラグインの設定可能な変数は、「:ref:`ansible.netcommon.netconf <ansible_collections.ansible.netcommon.netconf_connection>`」を参照してください。"
5218
5219#: ../../rst/network/user_guide/platform_netconf_enabled.rst:97
5220msgid "Bastion/Jumphost configuration"
5221msgstr "Bastion/Jumphost の設定"
5222
5223#: ../../rst/network/user_guide/platform_netconf_enabled.rst:98
5224msgid "To use a jump host to connect to a NETCONF enabled device you must set the ``ANSIBLE_NETCONF_SSH_CONFIG`` environment variable."
5225msgstr "ジャンプホストを使用して NETCONF 対応のデバイスに接続するには、``ANSIBLE_NETCONF_SSH_CONFIG`` 環境変数を設定する必要があります。"
5226
5227#: ../../rst/network/user_guide/platform_netconf_enabled.rst:102
5228msgid "``ANSIBLE_NETCONF_SSH_CONFIG`` can be set to either:"
5229msgstr "``ANSIBLE_NETCONF_SSH_CONFIG`` を、次のいずれかに設定できます。"
5230
5231#: ../../rst/network/user_guide/platform_netconf_enabled.rst:101
5232msgid "1 or TRUE (to trigger the use of the default SSH config file ~/.ssh/config)"
5233msgstr "1 または TRUE (デフォルトの SSH 設定ファイル ~/.ssh/config の使用を開始するため)。"
5234
5235#: ../../rst/network/user_guide/platform_netconf_enabled.rst:102
5236msgid "The absolute path to a custom SSH config file."
5237msgstr "カスタムの SSH 設定ファイルへの絶対パス。"
5238
5239#: ../../rst/network/user_guide/platform_netconf_enabled.rst:104
5240msgid "The SSH config file should look something like:"
5241msgstr "SSH 設定ファイルは以下のようになります。"
5242
5243#: ../../rst/network/user_guide/platform_netconf_enabled.rst:112
5244msgid "Authentication for the jump host must use key based authentication."
5245msgstr "ジャンプホストの認証は、鍵ベースの認証を使用する必要があります。"
5246
5247#: ../../rst/network/user_guide/platform_netconf_enabled.rst:114
5248msgid "You can either specify the private key used in the SSH config file:"
5249msgstr "SSH 設定ファイルで使用する秘密鍵のいずれかを指定できます。"
5250
5251#: ../../rst/network/user_guide/platform_netconf_enabled.rst:120
5252msgid "Or you can use an ssh-agent."
5253msgstr "または、ssh-agent を使用できます。"
5254
5255#: ../../rst/network/user_guide/platform_netconf_enabled.rst:123
5256msgid "ansible_network_os auto-detection"
5257msgstr "ansible_network_os 自動検出"
5258
5259#: ../../rst/network/user_guide/platform_netconf_enabled.rst:125
5260msgid "If ``ansible_network_os`` is not specified for a host, then Ansible will attempt to automatically detect what ``network_os`` plugin to use."
5261msgstr "ホストに ``ansible_network_os`` が指定されていない場合、Ansible は、使用する ``network_os`` プラグインを自動的に検出しようとします。"
5262
5263#: ../../rst/network/user_guide/platform_netconf_enabled.rst:127
5264msgid "``ansible_network_os`` auto-detection can also be triggered by using ``auto`` as the ``ansible_network_os``. (Note: Previously ``default`` was used instead of ``auto``)."
5265msgstr "``ansible_network_os`` 自動検出は、``auto`` を ``ansible_network_os`` として使用することで発生させることもできます (注意: 以前は ``default`` の代わりに ``auto``が使用されていました)。"
5266
5267#: ../../rst/network/user_guide/platform_netvisor.rst:5
5268msgid "Pluribus NETVISOR Platform Options"
5269msgstr "Pluribus NETVISOR プラットフォームのオプション"
5270
5271#: ../../rst/network/user_guide/platform_netvisor.rst:7
5272msgid "Pluribus NETVISOR Ansible is part of the `community.network <https://galaxy.ansible.com/community/network>`_ collection and only supports CLI connections today. ``httpapi`` modules may be added in future. This page offers details on how to use ``ansible.netcommon.network_cli`` on NETVISOR in Ansible."
5273msgstr "Pluribus NETVISOR Ansible は `community.network <https://galaxy.ansible.com/community/network>`_ コレクションの一部で、現在は CLI 接続のみをサポートしています。将来的に ``httpapi`` モジュールが追加される可能性があります。このページでは、Ansible の NETVISOR で ``ansible.netcommon.network_cli`` を使用する方法を詳細に説明します。"
5274
5275#: ../../rst/network/user_guide/platform_netvisor.rst:32
5276msgid "not supported by NETVISOR"
5277msgstr "NETVISOR ではサポートされません"
5278
5279#: ../../rst/network/user_guide/platform_netvisor.rst:39
5280msgid "Pluribus NETVISOR does not support ``ansible_connection: local``. You must use ``ansible_connection: ansible.netcommon.network_cli``."
5281msgstr "Pluribus NETVISOR は ``ansible_connection: local`` をサポートしません。``ansible_connection: ansible.netcommon.network_cli`` を使用する必要があります。"
5282
5283#: ../../rst/network/user_guide/platform_netvisor.rst:45
5284msgid "Example CLI ``group_vars/netvisor.yml``"
5285msgstr "CLI の例 ``group_vars/netvisor.yml``"
5286
5287#: ../../rst/network/user_guide/platform_nos.rst:5
5288msgid "NOS Platform Options"
5289msgstr "NOS プラットフォームのオプション"
5290
5291#: ../../rst/network/user_guide/platform_nos.rst:7
5292msgid "Extreme NOS is part of the `community.network <https://galaxy.ansible.com/community/network>`_ collection and only supports CLI connections today. ``httpapi`` modules may be added in future. This page offers details on how to use ``ansible.netcommon.network_cli`` on NOS in Ansible."
5293msgstr "Extreme NOS は `community.network <https://galaxy.ansible.com/community/network>`_ コレクションの一部で、現在は CLI 接続のみをサポートしています。将来的に ``httpapi`` モジュールが追加される可能性があります。このページでは、Ansible の NOS で ``ansible.netcommon.network_cli`` を使用する方法を詳細に説明します。"
5294
5295#: ../../rst/network/user_guide/platform_nos.rst:30
5296#: ../../rst/network/user_guide/platform_weos4.rst:30
5297msgid "``ansible_connection: community.netcommon.network_cli``"
5298msgstr "``ansible_connection: community.netcommon.network_cli``"
5299
5300#: ../../rst/network/user_guide/platform_nos.rst:32
5301msgid "not supported by NOS"
5302msgstr "NOS ではサポートされません"
5303
5304#: ../../rst/network/user_guide/platform_nos.rst:39
5305msgid "NOS does not support ``ansible_connection: local``. You must use ``ansible_connection: ansible.netcommon.network_cli``."
5306msgstr "NOS は ``ansible_connection: local`` をサポートしません。``ansible_connection: ansible.netcommon.network_cli`` を使用する必要があります。"
5307
5308#: ../../rst/network/user_guide/platform_nos.rst:45
5309msgid "Example CLI ``group_vars/nos.yml``"
5310msgstr "CLI の例 ``group_vars/nos.yml``"
5311
5312#: ../../rst/network/user_guide/platform_nxos.rst:5
5313msgid "NXOS Platform Options"
5314msgstr "NXOS プラットフォームのオプション"
5315
5316#: ../../rst/network/user_guide/platform_nxos.rst:7
5317msgid "The `Cisco NXOS <https://galaxy.ansible.com/cisco/nxos>`_ supports multiple connections. This page offers details on how each connection works in Ansible and how to use it."
5318msgstr "`Cisco NXOS <https://galaxy.ansible.com/cisco/nxos>`_ は複数の接続をサポートします。このページでは、Ansible で各接続がどのように機能するか、およびその使用方法を詳細に説明します。"
5319
5320#: ../../rst/network/user_guide/platform_nxos.rst:19
5321msgid "NX-API"
5322msgstr "NX-API"
5323
5324#: ../../rst/network/user_guide/platform_nxos.rst:32
5325msgid "not supported by NX-API"
5326msgstr "NX-API ではサポートされません"
5327
5328#: ../../rst/network/user_guide/platform_nxos.rst:48
5329msgid "Example CLI ``group_vars/nxos.yml``"
5330msgstr "CLI の例 ``group_vars/nxos.yml``"
5331
5332#: ../../rst/network/user_guide/platform_nxos.rst:80
5333msgid "Using NX-API in Ansible"
5334msgstr "Ansible での NX-API の使用"
5335
5336#: ../../rst/network/user_guide/platform_nxos.rst:83
5337msgid "Enabling NX-API"
5338msgstr "NX-API の有効化"
5339
5340#: ../../rst/network/user_guide/platform_nxos.rst:85
5341msgid "Before you can use NX-API to connect to a switch, you must enable NX-API. To enable NX-API on a new switch via Ansible, use the ``nxos_nxapi`` module via the CLI connection. Set up group_vars/nxos.yml just like in the CLI example above, then run a playbook task like this:"
5342msgstr "NX-API を使用してスイッチに接続する前に、NX-API を有効にする必要があります。Ansible を介して新しいスイッチで NX-API を有効にするには、CLI 接続を介して ``nxos_nxapi`` モジュールを使用します。前述の CLI の例と同様に group_vars/nxos.yml を設定し、次のように Playbook タスクを実行します。"
5343
5344#: ../../rst/network/user_guide/platform_nxos.rst:95
5345msgid "To find out more about the options for enabling HTTP/HTTPS and local http see the :ref:`nxos_nxapi <nxos_nxapi_module>` module documentation."
5346msgstr "HTTP/HTTPS およびローカル http を有効にするオプションの詳細は、:ref:`nxos_nxapi <nxos_nxapi_module>` モジュールのドキュメントを参照してください。"
5347
5348#: ../../rst/network/user_guide/platform_nxos.rst:97
5349msgid "Once NX-API is enabled, change your ``group_vars/nxos.yml`` to use the NX-API connection."
5350msgstr "NX-API を有効にしたら、NX-API 接続を使用するように ``group_vars/nxos.yml`` を変更します。"
5351
5352#: ../../rst/network/user_guide/platform_nxos.rst:100
5353msgid "Example NX-API ``group_vars/nxos.yml``"
5354msgstr "NX-API の例 ``group_vars/nxos.yml``"
5355
5356#: ../../rst/network/user_guide/platform_nxos.rst:116
5357msgid "Example NX-API task"
5358msgstr "NX-API タスクの例"
5359
5360#: ../../rst/network/user_guide/platform_nxos.rst:132
5361msgid "Cisco Nexus platform support matrix"
5362msgstr "Cisco Nexus プラットフォームのサポートマトリックス"
5363
5364#: ../../rst/network/user_guide/platform_nxos.rst:134
5365msgid "The following platforms and software versions have been certified by Cisco to work with this version of Ansible."
5366msgstr "以下のプラットフォームおよびソフトウェアのバージョンは、Cisco が本バージョンの Ansible で機能することが認定されています。"
5367
5368#: ../../rst/network/user_guide/platform_nxos.rst:136
5369msgid "Platform / Software Minimum Requirements"
5370msgstr "プラットフォーム/ソフトウェア最小要件"
5371
5372#: ../../rst/network/user_guide/platform_nxos.rst:140
5373msgid "Supported Platforms"
5374msgstr "サポート対象のプラットフォーム"
5375
5376#: ../../rst/network/user_guide/platform_nxos.rst:140
5377msgid "Minimum NX-OS Version"
5378msgstr "最小 NX-OS バージョン"
5379
5380#: ../../rst/network/user_guide/platform_nxos.rst:142
5381msgid "Cisco Nexus N3k"
5382msgstr "Cisco Nexus N3k"
5383
5384#: ../../rst/network/user_guide/platform_nxos.rst:142
5385#: ../../rst/network/user_guide/platform_nxos.rst:143
5386msgid "7.0(3)I2(5) and later"
5387msgstr "7.0(3)I2(5) 以降"
5388
5389#: ../../rst/network/user_guide/platform_nxos.rst:143
5390msgid "Cisco Nexus N9k"
5391msgstr "Cisco Nexus N9k"
5392
5393#: ../../rst/network/user_guide/platform_nxos.rst:144
5394msgid "Cisco Nexus N5k"
5395msgstr "Cisco Nexus N5k"
5396
5397#: ../../rst/network/user_guide/platform_nxos.rst:144
5398#: ../../rst/network/user_guide/platform_nxos.rst:145
5399msgid "7.3(0)N1(1) and later"
5400msgstr "7.3(0)N1(1) 以降"
5401
5402#: ../../rst/network/user_guide/platform_nxos.rst:145
5403msgid "Cisco Nexus N6k"
5404msgstr "Cisco Nexus N6k"
5405
5406#: ../../rst/network/user_guide/platform_nxos.rst:146
5407msgid "Cisco Nexus N7k"
5408msgstr "Cisco Nexus N7k"
5409
5410#: ../../rst/network/user_guide/platform_nxos.rst:146
5411msgid "7.3(0)D1(1) and later"
5412msgstr "7.3(0)D1(1) 以降"
5413
5414#: ../../rst/network/user_guide/platform_nxos.rst:147
5415msgid "Cisco Nexus MDS"
5416msgstr "Cisco Nexus MDS"
5417
5418#: ../../rst/network/user_guide/platform_nxos.rst:147
5419msgid "8.4(1) and later"
5420msgstr "8.4(1) 以降"
5421
5422#: ../../rst/network/user_guide/platform_nxos.rst:150
5423msgid "Platform Models"
5424msgstr "プラットフォームモデル"
5425
5426#: ../../rst/network/user_guide/platform_nxos.rst:154
5427msgid "Platform"
5428msgstr "プラットフォーム"
5429
5430#: ../../rst/network/user_guide/platform_nxos.rst:154
5431msgid "Description"
5432msgstr "説明"
5433
5434#: ../../rst/network/user_guide/platform_nxos.rst:156
5435msgid "N3k"
5436msgstr "N3k"
5437
5438#: ../../rst/network/user_guide/platform_nxos.rst:156
5439msgid "Support includes N30xx, N31xx and N35xx models"
5440msgstr "サポートには、N30xx モデル、N31xx モデル、および N35xx モデルが含まれます。"
5441
5442#: ../../rst/network/user_guide/platform_nxos.rst:157
5443msgid "N5k"
5444msgstr "N5k"
5445
5446#: ../../rst/network/user_guide/platform_nxos.rst:157
5447msgid "Support includes all N5xxx models"
5448msgstr "サポートには、N5xxx の全モデルが含まれます。"
5449
5450#: ../../rst/network/user_guide/platform_nxos.rst:158
5451msgid "N6k"
5452msgstr "N6k"
5453
5454#: ../../rst/network/user_guide/platform_nxos.rst:158
5455msgid "Support includes all N6xxx models"
5456msgstr "サポートには、N6xxx の全モデルが含まれます。"
5457
5458#: ../../rst/network/user_guide/platform_nxos.rst:159
5459msgid "N7k"
5460msgstr "N7k"
5461
5462#: ../../rst/network/user_guide/platform_nxos.rst:159
5463msgid "Support includes all N7xxx models"
5464msgstr "サポートには、N7xxx の全モデルが含まれます。"
5465
5466#: ../../rst/network/user_guide/platform_nxos.rst:160
5467msgid "N9k"
5468msgstr "N9k"
5469
5470#: ../../rst/network/user_guide/platform_nxos.rst:160
5471msgid "Support includes all N9xxx models"
5472msgstr "サポートには、N9xxx の全モデルが含まれます。"
5473
5474#: ../../rst/network/user_guide/platform_nxos.rst:161
5475msgid "MDS"
5476msgstr "MDS"
5477
5478#: ../../rst/network/user_guide/platform_nxos.rst:161
5479msgid "Support includes all MDS 9xxx models"
5480msgstr "サポートには、MDS 9xxx モデルがすべて含まれます。"
5481
5482#: ../../rst/network/user_guide/platform_routeros.rst:5
5483msgid "RouterOS Platform Options"
5484msgstr "RouterOS プラットフォームのオプション"
5485
5486#: ../../rst/network/user_guide/platform_routeros.rst:7
5487msgid "RouterOS is part of the `community.network <https://galaxy.ansible.com/community/network>`_ collection and only supports CLI connections today. ``httpapi`` modules may be added in future. This page offers details on how to use ``ansible.netcommon.network_cli`` on RouterOS in Ansible."
5488msgstr "RouterOS は `community.network <https://galaxy.ansible.com/community/network>`_ コレクションの一部で、現在は CLI 接続のみをサポートしています。将来的に ``httpapi`` モジュールが追加される可能性があります。このページでは、Ansible の RouterOS で ``ansible.netcommon.network_cli`` を使用する方法を詳細に説明します。"
5489
5490#: ../../rst/network/user_guide/platform_routeros.rst:30
5491msgid "``ansible_connection: ansible.network.network_cli``"
5492msgstr "``ansible_connection: ansible.network.network_cli``"
5493
5494#: ../../rst/network/user_guide/platform_routeros.rst:32
5495msgid "not supported by RouterOS"
5496msgstr "RouterOS ではサポートされません"
5497
5498#: ../../rst/network/user_guide/platform_routeros.rst:40
5499msgid "RouterOS does not support ``ansible_connection: local``. You must use ``ansible_connection: ansible.netcommon.network_cli``."
5500msgstr "RouterOS は ``ansible_connection: local`` をサポートしません。``ansible_connection: ansible.netcommon.network_cli`` を使用する必要があります。"
5501
5502#: ../../rst/network/user_guide/platform_routeros.rst:46
5503msgid "Example CLI ``group_vars/routeros.yml``"
5504msgstr "CLI の例 ``group_vars/routeros.yml``"
5505
5506#: ../../rst/network/user_guide/platform_routeros.rst:63
5507msgid "If you are getting timeout errors you may want to add ``+cet1024w`` suffix to your username which will disable console colors, enable \"dumb\" mode, tell RouterOS not to try detecting terminal capabilities and set terminal width to 1024 columns. See article `Console login process <https://wiki.mikrotik.com/wiki/Manual:Console_login_process>`_ in MikroTik wiki for more information."
5508msgstr "タイムアウトエラーが発生した場合は、ユーザー名に ``+cet1024w`` 接頭辞を追加することでコンソールの色を無効にし、「dumb」モードを有効にし、端末機能を検出しないように RouterOS に指示し、端末の幅を 1024 カラムに設定することができます。詳細は、MikroTik Wikiの記事「`Console login process <https://wiki.mikrotik.com/wiki/Manual:Console_login_process>`_」を参照してください。"
5509
5510#: ../../rst/network/user_guide/platform_slxos.rst:5
5511msgid "SLX-OS Platform Options"
5512msgstr "SLX-OS プラットフォームのオプション"
5513
5514#: ../../rst/network/user_guide/platform_slxos.rst:7
5515msgid "Extreme SLX-OS is part of the `community.network <https://galaxy.ansible.com/community/network>`_ collection and only supports CLI connections today. ``httpapi`` modules may be added in future. This page offers details on how to use ``ansible.netcommon.network_cli`` on SLX-OS in Ansible."
5516msgstr "Extreme SLX-OS は `community.network <https://galaxy.ansible.com/community/network>`_ コレクションの一部で、現在は CLI 接続のみをサポートしています。将来的に ``httpapi`` モジュールが追加される可能性があります。このページでは、Ansible の SLX-OS で ``ansible.netcommon.network_cli`` を使用する方法を詳細に説明します。"
5517
5518#: ../../rst/network/user_guide/platform_slxos.rst:32
5519msgid "not supported by SLX-OS"
5520msgstr "SLX-OS ではサポートされません"
5521
5522#: ../../rst/network/user_guide/platform_slxos.rst:40
5523msgid "SLX-OS does not support ``ansible_connection: local``. You must use ``ansible_connection: ansible.netcommon.network_cli``."
5524msgstr "SLX-OS は ``ansible_connection: local`` をサポートしません。``ansible_connection: ansible.netcommon.network_cli`` を使用する必要があります。"
5525
5526#: ../../rst/network/user_guide/platform_slxos.rst:46
5527msgid "Example CLI ``group_vars/slxos.yml``"
5528msgstr "CLI の例 ``group_vars/slxos.yml``"
5529
5530#: ../../rst/network/user_guide/platform_voss.rst:5
5531msgid "VOSS Platform Options"
5532msgstr "VOSS プラットフォームのオプション"
5533
5534#: ../../rst/network/user_guide/platform_voss.rst:7
5535msgid "Extreme VOSS is part of the `community.network <https://galaxy.ansible.com/community/network>`_ collection and only supports CLI connections today. This page offers details on how to use ``ansible.netcommon.network_cli`` on VOSS in Ansible."
5536msgstr "Extreme VOSS は `community.network <https://galaxy.ansible.com/community/network>`_ コレクションの一部で、現在は CLI 接続のみをサポートしています。このページでは、Ansible の VOSS で ``ansible.netcommon.network_cli`` を使用する方法を詳細に説明します。"
5537
5538#: ../../rst/network/user_guide/platform_voss.rst:32
5539msgid "supported: use ``ansible_become: yes`` with ``ansible_become_method: enable``"
5540msgstr "サポート対象: ``ansible_become: yes`` を ``ansible_become_method: enable`` と併用してください。"
5541
5542#: ../../rst/network/user_guide/platform_voss.rst:41
5543msgid "VOSS does not support ``ansible_connection: local``. You must use ``ansible_connection: ansible.netcommon.network_cli``."
5544msgstr "VOSS は ``ansible_connection: local`` をサポートしません。``ansible_connection: ansible.netcommon.network_cli`` を使用する必要があります。"
5545
5546#: ../../rst/network/user_guide/platform_voss.rst:47
5547msgid "Example CLI ``group_vars/voss.yml``"
5548msgstr "CLI の例 ``group_vars/voss.yml``"
5549
5550#: ../../rst/network/user_guide/platform_vyos.rst:5
5551msgid "VyOS Platform Options"
5552msgstr "VyOS プラットフォームのオプション"
5553
5554#: ../../rst/network/user_guide/platform_vyos.rst:7
5555msgid "The `VyOS <https://galaxy.ansible.com/vyos/vyos>`_ collection supports the ``ansible.netcommon.network_cli`` connection type. This page offers details on connection options to manage VyOS using Ansible."
5556msgstr "`VyOS <https://galaxy.ansible.com/vyos/vyos>`_ コレクションは、``ansible.netcommon.network_cli`` 接続タイプをサポートします。このページでは、Ansible を使用して VyOS を管理する接続オプションの詳細を提供します。"
5557
5558#: ../../rst/network/user_guide/platform_vyos.rst:45
5559msgid "Example CLI ``group_vars/vyos.yml``"
5560msgstr "CLI の例 ``group_vars/vyos.yml``"
5561
5562#: ../../rst/network/user_guide/platform_weos4.rst:5
5563msgid "WeOS 4 Platform Options"
5564msgstr "WeOS 4 プラットフォームオプション"
5565
5566#: ../../rst/network/user_guide/platform_weos4.rst:7
5567msgid "Westermo WeOS 4 is part of the `community.network <https://galaxy.ansible.com/community/network>`_ collection and only supports CLI connections. This page offers details on how to use ``ansible.netcommon.network_cli`` on WeOS 4 in Ansible."
5568msgstr "Westermo WeOS 4 は `community.network <https://galaxy.ansible.com/community/network>`_ コレクションの一部で、CLI 接続のみをサポートします。このページでは、Ansible の WeOS 4 で ``ansible.netcommon.network_cli`` を使用する方法を説明します。"
5569
5570#: ../../rst/network/user_guide/platform_weos4.rst:32
5571msgid "not supported by WeOS 4"
5572msgstr "WeOS 4 でサポート対象外"
5573
5574#: ../../rst/network/user_guide/platform_weos4.rst:39
5575msgid "WeOS 4 does not support ``ansible_connection: local``. You must use ``ansible_connection: ansible.netcommon.network_cli``."
5576msgstr "WeOS 4 は ``ansible_connection: local`` をサポートしません。``ansible_connection: ansible.netcommon.network_cli`` を使用する必要があります。"
5577
5578#: ../../rst/network/user_guide/platform_weos4.rst:45
5579msgid "Example CLI ``group_vars/weos4.yml``"
5580msgstr "CLI の例 ``group_vars/weos4.yml``"
5581
5582#: ../../rst/network/user_guide/platform_weos4.rst:72
5583msgid "Example Configuration task"
5584msgstr "設定タスクの例"
5585
5586#~ msgid "The units of action in Ansible. You can execute a single task once with an ad-hoc command."
5587#~ msgstr ""
5588
5589#~ msgid "Unlike most Ansible modules, network modules do not run on the managed nodes. From a user's point of view, network modules work like any other modules. They work with ad-hoc commands, playbooks, and roles. Behind the scenes, however, network modules use a different methodology than the other (Linux/Unix and Windows) modules use. Ansible is written and executed in Python. Because the majority of network devices can not run Python, the Ansible network modules are executed on the Ansible control node, where ``ansible`` or ``ansible-playbook`` runs."
5590#~ msgstr ""
5591
5592#~ msgid "Although Ansible contains a number of plugins that can convert XML to Ansible native data structures, the``cli_parse`` module runs the command on devices that return XML and returns the converted data in a single task."
5593#~ msgstr ""
5594
5595#~ msgid "The following is an example TTP template stored as ``templates/nxos_show_interfaces.ttp``:"
5596#~ msgstr ""
5597
5598#~ msgid "Using an ad-hoc ``ansible`` command"
5599#~ msgstr ""
5600
5601#~ msgid "`ad-hoc` refers to running Ansible to perform some quick command using ``/usr/bin/ansible``, rather than the orchestration language, which is ``/usr/bin/ansible-playbook``. In this case we can ensure connectivity by attempting to execute a single command on the remote device::"
5602#~ msgstr ""
5603
5604#~ msgid "Freenode IRC - ``#ansible-network`` Freenode channel"
5605#~ msgstr "Freenode IRC - ``#ansible-network`` Freenode チャンネル"
5606
5607