1# SOME DESCRIPTIVE TITLE. 2# Copyright (C) 2021 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/plugins/action.rst:4 20msgid "Action Plugins" 21msgstr "action プラグイン" 22 23#: ../../rst/plugins/action.rst:10 24msgid "Action plugins act in conjunction with :ref:`modules <working_with_modules>` to execute the actions required by playbook tasks. They usually execute automatically in the background doing prerequisite work before modules execute." 25msgstr "action プラグインは、:ref:`modules <working_with_modules>` と連携して、Playbook タスクに必要なアクションを実行します。これらは通常、モジュールが実行される前に、前提条件の作業を行うバックグラウンドで自動的に実行します。" 26 27#: ../../rst/plugins/action.rst:13 28msgid "The 'normal' action plugin is used for modules that do not already have an action plugin." 29msgstr "action プラグインが指定されていないモジュールには、「一般的な」action プラグインが使用されます。" 30 31#: ../../rst/plugins/action.rst:18 32msgid "Enabling action plugins" 33msgstr "action プラグインの有効化" 34 35#: ../../rst/plugins/action.rst:20 36msgid "You can enable a custom action plugin by either dropping it into the ``action_plugins`` directory adjacent to your play, inside a role, or by putting it in one of the action plugin directory sources configured in :ref:`ansible.cfg <ansible_configuration_settings>`." 37msgstr "カスタムの action プラグインを有効にするには、カスタムのプラグインを、ロール内のプレイの隣りにある ``action_plugins`` ディレクトリーに置くか、:ref:`ansible.cfg <ansible_configuration_settings>` に設定した action プラグインのディレクトリーソースの 1 つに配置します。" 38 39#: ../../rst/plugins/action.rst:25 40msgid "Using action plugins" 41msgstr "action プラグインの使用" 42 43#: ../../rst/plugins/action.rst:27 44msgid "Action plugin are executed by default when an associated module is used; no action is required." 45msgstr "action プラグインは、関連のモジュールを使用する場合にはデフォルトで実行するため、特に作業は必要ありません。" 46 47#: ../../rst/plugins/action.rst:30 ../../rst/plugins/callback.rst:77 48#: ../../rst/plugins/lookup.rst:137 ../../rst/plugins/strategy.rst:56 49msgid "Plugin list" 50msgstr "プラグイン一覧" 51 52#: ../../rst/plugins/action.rst:32 53msgid "You cannot list action plugins directly, they show up as their counterpart modules:" 54msgstr "直接 action プラグインの一覧を表示することはできませんが、対応のモジュールとして表示されます。" 55 56#: ../../rst/plugins/action.rst:34 57msgid "Use ``ansible-doc -l`` to see the list of available modules. Use ``ansible-doc <name>`` to see specific documentation and examples, this should note if the module has a corresponding action plugin." 58msgstr "``ansible-doc -l`` を使用して、利用可能なモジュールの一覧を表示します。特定のドキュメントおよび例を参照するには ``ansible-doc <name>`` を使用してください。モジュールに対応の action プラグインがある場合には、この点に注意してください。" 59 60#: ../../rst/plugins/action.rst:39 ../../rst/plugins/callback.rst:86 61#: ../../rst/plugins/vars.rst:64 62msgid ":ref:`cache_plugins`" 63msgstr ":ref:`cache_plugins`" 64 65#: ../../rst/plugins/action.rst:40 ../../rst/plugins/vars.rst:65 66msgid "Ansible Cache plugins" 67msgstr "Ansible cache プラグイン" 68 69#: ../../rst/plugins/action.rst:41 ../../rst/plugins/become.rst:56 70#: ../../rst/plugins/cache.rst:125 ../../rst/plugins/connection.rst:65 71#: ../../rst/plugins/inventory.rst:147 ../../rst/plugins/lookup.rst:148 72#: ../../rst/plugins/shell.rst:42 ../../rst/plugins/strategy.rst:68 73#: ../../rst/plugins/vars.rst:66 74msgid ":ref:`callback_plugins`" 75msgstr ":ref:`callback_plugins`" 76 77#: ../../rst/plugins/action.rst:42 ../../rst/plugins/become.rst:57 78#: ../../rst/plugins/cache.rst:126 ../../rst/plugins/connection.rst:66 79#: ../../rst/plugins/inventory.rst:148 ../../rst/plugins/lookup.rst:149 80#: ../../rst/plugins/shell.rst:43 ../../rst/plugins/strategy.rst:69 81#: ../../rst/plugins/vars.rst:67 82msgid "Ansible callback plugins" 83msgstr "Ansible callback プラグイン" 84 85#: ../../rst/plugins/action.rst:43 ../../rst/plugins/cache.rst:127 86#: ../../rst/plugins/callback.rst:88 ../../rst/plugins/inventory.rst:149 87#: ../../rst/plugins/vars.rst:68 88msgid ":ref:`connection_plugins`" 89msgstr ":ref:`connection_plugins`" 90 91#: ../../rst/plugins/action.rst:44 ../../rst/plugins/cache.rst:128 92#: ../../rst/plugins/callback.rst:89 ../../rst/plugins/inventory.rst:150 93#: ../../rst/plugins/vars.rst:69 94msgid "Ansible connection plugins" 95msgstr "Ansible connection プラグイン" 96 97#: ../../rst/plugins/action.rst:45 ../../rst/plugins/become.rst:54 98#: ../../rst/plugins/cache.rst:129 ../../rst/plugins/callback.rst:90 99#: ../../rst/plugins/lookup.rst:146 ../../rst/plugins/shell.rst:40 100#: ../../rst/plugins/strategy.rst:66 ../../rst/plugins/vars.rst:70 101msgid ":ref:`inventory_plugins`" 102msgstr ":ref:`inventory_plugins`" 103 104#: ../../rst/plugins/action.rst:46 ../../rst/plugins/become.rst:55 105#: ../../rst/plugins/cache.rst:130 ../../rst/plugins/callback.rst:91 106#: ../../rst/plugins/lookup.rst:147 ../../rst/plugins/shell.rst:41 107#: ../../rst/plugins/strategy.rst:67 ../../rst/plugins/vars.rst:71 108msgid "Ansible inventory plugins" 109msgstr "Ansible inventory プラグインの使用" 110 111#: ../../rst/plugins/action.rst:47 ../../rst/plugins/cache.rst:131 112#: ../../rst/plugins/callback.rst:92 ../../rst/plugins/vars.rst:72 113msgid ":ref:`shell_plugins`" 114msgstr ":ref:`shell_plugins`" 115 116#: ../../rst/plugins/action.rst:48 ../../rst/plugins/cache.rst:132 117#: ../../rst/plugins/callback.rst:93 ../../rst/plugins/vars.rst:73 118msgid "Ansible Shell plugins" 119msgstr "Ansible shell プラグイン" 120 121#: ../../rst/plugins/action.rst:49 ../../rst/plugins/cache.rst:133 122#: ../../rst/plugins/callback.rst:94 ../../rst/plugins/vars.rst:74 123msgid ":ref:`strategy_plugins`" 124msgstr ":ref:`strategy_plugins`" 125 126#: ../../rst/plugins/action.rst:50 ../../rst/plugins/cache.rst:134 127#: ../../rst/plugins/callback.rst:95 ../../rst/plugins/vars.rst:75 128msgid "Ansible Strategy plugins" 129msgstr "Ansible strategy プラグイン" 130 131#: ../../rst/plugins/action.rst:51 ../../rst/plugins/cache.rst:135 132#: ../../rst/plugins/callback.rst:96 ../../rst/plugins/connection.rst:73 133#: ../../rst/plugins/inventory.rst:157 134msgid ":ref:`vars_plugins`" 135msgstr ":ref:`vars_plugins`" 136 137#: ../../rst/plugins/action.rst:52 ../../rst/plugins/cache.rst:136 138#: ../../rst/plugins/callback.rst:97 139msgid "Ansible Vars plugins" 140msgstr "Ansible vars プラグイン" 141 142#: ../../rst/plugins/action.rst:53 ../../rst/plugins/become.rst:64 143#: ../../rst/plugins/cliconf.rst:44 ../../rst/plugins/connection.rst:75 144#: ../../rst/plugins/httpapi.rst:69 ../../rst/plugins/inventory.rst:159 145#: ../../rst/plugins/lookup.rst:156 ../../rst/plugins/netconf.rst:44 146#: ../../rst/plugins/plugins.rst:41 ../../rst/plugins/shell.rst:50 147#: ../../rst/plugins/strategy.rst:76 ../../rst/plugins/vars.rst:76 148msgid "`User Mailing List <https://groups.google.com/group/ansible-devel>`_" 149msgstr "`User Mailing List <https://groups.google.com/group/ansible-devel>`_" 150 151#: ../../rst/plugins/action.rst:54 ../../rst/plugins/become.rst:65 152#: ../../rst/plugins/cache.rst:138 ../../rst/plugins/callback.rst:99 153#: ../../rst/plugins/cliconf.rst:45 ../../rst/plugins/connection.rst:76 154#: ../../rst/plugins/httpapi.rst:70 ../../rst/plugins/inventory.rst:160 155#: ../../rst/plugins/lookup.rst:157 ../../rst/plugins/netconf.rst:45 156#: ../../rst/plugins/plugins.rst:42 ../../rst/plugins/shell.rst:51 157#: ../../rst/plugins/strategy.rst:77 ../../rst/plugins/vars.rst:77 158msgid "Have a question? Stop by the google group!" 159msgstr "ご質問はございますか。Google Group をご覧ください。" 160 161#: ../../rst/plugins/action.rst:55 ../../rst/plugins/become.rst:66 162#: ../../rst/plugins/cache.rst:139 ../../rst/plugins/callback.rst:100 163#: ../../rst/plugins/cliconf.rst:46 ../../rst/plugins/connection.rst:77 164#: ../../rst/plugins/httpapi.rst:71 ../../rst/plugins/inventory.rst:161 165#: ../../rst/plugins/lookup.rst:158 ../../rst/plugins/netconf.rst:46 166#: ../../rst/plugins/plugins.rst:43 ../../rst/plugins/shell.rst:52 167#: ../../rst/plugins/strategy.rst:78 ../../rst/plugins/vars.rst:78 168msgid "`irc.libera.chat <https://libera.chat/>`_" 169msgstr "`irc.libera.chat <https://libera.chat/>`_" 170 171#: ../../rst/plugins/action.rst:56 ../../rst/plugins/become.rst:67 172#: ../../rst/plugins/cache.rst:140 ../../rst/plugins/callback.rst:101 173#: ../../rst/plugins/connection.rst:78 ../../rst/plugins/inventory.rst:162 174#: ../../rst/plugins/lookup.rst:159 ../../rst/plugins/plugins.rst:44 175#: ../../rst/plugins/shell.rst:53 ../../rst/plugins/strategy.rst:79 176#: ../../rst/plugins/vars.rst:79 177msgid "#ansible IRC chat channel" 178msgstr "IRC チャットチャンネル (#ansible)" 179 180#: ../../rst/plugins/become.rst:4 181msgid "Become Plugins" 182msgstr "become プラグイン" 183 184#: ../../rst/plugins/become.rst:12 185msgid "Become plugins work to ensure that Ansible can use certain privilege escalation systems when running the basic commands to work with the target machine as well as the modules required to execute the tasks specified in the play." 186msgstr "bocome プラグインは、基本的なコマンドの実行時に、Ansible が特定の特権昇格システムを使用して、プレイで指定されたタスクを実行するのに必要なモジュールやターゲットマシンと連携できるようにします。" 187 188#: ../../rst/plugins/become.rst:16 189msgid "These utilities (``sudo``, ``su``, ``doas``, and so on) generally let you 'become' another user to execute a command with the permissions of that user." 190msgstr "通常、``sudo``、``su``、``doas`` などのユーティリティーを使用すると、別のユーザーになって (become)、そのユーザーのパーミッションでコマンドを実行できるようになります。" 191 192#: ../../rst/plugins/become.rst:23 193msgid "Enabling Become Plugins" 194msgstr "become プラグインの有効化" 195 196#: ../../rst/plugins/become.rst:25 197msgid "The become plugins shipped with Ansible are already enabled. Custom plugins can be added by placing them into a ``become_plugins`` directory adjacent to your play, inside a role, or by placing them in one of the become plugin directory sources configured in :ref:`ansible.cfg <ansible_configuration_settings>`." 198msgstr "Ansible に同梱されている become プラグインはすでに有効になっています。カスタムのプラグインを追加するには、ロール内のプレイの隣りにある ``become_plugins`` ディレクトリーに置くか、:ref:`ansible.cfg <ansible_configuration_settings>` で設定した become プラグインのディレクトリーソースの 1 つに配置します。" 199 200#: ../../rst/plugins/become.rst:33 201msgid "Using Become Plugins" 202msgstr "become プラグインの使用" 203 204#: ../../rst/plugins/become.rst:35 205msgid "In addition to the default configuration settings in :ref:`ansible_configuration_settings` or the ``--become-method`` command line option, you can use the ``become_method`` keyword in a play or, if you need to be 'host specific', the connection variable ``ansible_become_method`` to select the plugin to use." 206msgstr ":ref:`ansible_configuration_settings` や ``--become-method`` コマンドラインオプションでのデフォルト設定に加え、プレイで ``become_method`` キーワードを使用できます。「ホスト固有」にする必要がある場合は、接続変数 ``ansible_become_method`` で、使用するプラグインを選択します。" 207 208#: ../../rst/plugins/become.rst:39 ../../rst/plugins/shell.rst:33 209msgid "You can further control the settings for each plugin via other configuration options detailed in the plugin themselves (linked below)." 210msgstr "プラグイン自体 (以下にリンク) に詳述されているその他の設定オプションを使用して、各プラグインの設定をさらに制御できます。" 211 212#: ../../rst/plugins/become.rst:45 ../../rst/plugins/cache.rst:116 213#: ../../rst/plugins/connection.rst:55 ../../rst/plugins/inventory.rst:138 214msgid "Plugin List" 215msgstr "プラグイン一覧" 216 217#: ../../rst/plugins/become.rst:47 218msgid "You can use ``ansible-doc -t become -l`` to see the list of available plugins. Use ``ansible-doc -t become <plugin name>`` to see specific documentation and examples." 219msgstr "``ansible-doc -t become -l`` を使用して、利用可能なプラグインの一覧を表示します。``ansible-doc -t become <plugin name>`` を使用して、特定のドキュメントと例を参照してください。" 220 221#: ../../rst/plugins/become.rst:52 ../../rst/plugins/inventory.rst:145 222#: ../../rst/plugins/lookup.rst:144 ../../rst/plugins/plugins.rst:35 223#: ../../rst/plugins/shell.rst:38 ../../rst/plugins/strategy.rst:64 224msgid ":ref:`about_playbooks`" 225msgstr ":ref:`about_playbooks`" 226 227#: ../../rst/plugins/become.rst:53 ../../rst/plugins/connection.rst:64 228#: ../../rst/plugins/inventory.rst:146 ../../rst/plugins/lookup.rst:145 229#: ../../rst/plugins/plugins.rst:36 ../../rst/plugins/shell.rst:39 230#: ../../rst/plugins/strategy.rst:65 231msgid "An introduction to playbooks" 232msgstr "Playbook の概要" 233 234#: ../../rst/plugins/become.rst:58 ../../rst/plugins/inventory.rst:151 235#: ../../rst/plugins/lookup.rst:150 ../../rst/plugins/shell.rst:44 236#: ../../rst/plugins/strategy.rst:70 237msgid ":ref:`playbooks_filters`" 238msgstr ":ref:`playbooks_filters`" 239 240#: ../../rst/plugins/become.rst:59 ../../rst/plugins/connection.rst:68 241#: ../../rst/plugins/inventory.rst:152 ../../rst/plugins/lookup.rst:151 242#: ../../rst/plugins/shell.rst:45 ../../rst/plugins/strategy.rst:71 243msgid "Jinja2 filter plugins" 244msgstr "Jinja2 filter プラグイン" 245 246#: ../../rst/plugins/become.rst:60 ../../rst/plugins/inventory.rst:153 247#: ../../rst/plugins/lookup.rst:152 ../../rst/plugins/shell.rst:46 248#: ../../rst/plugins/strategy.rst:72 249msgid ":ref:`playbooks_tests`" 250msgstr ":ref:`playbooks_tests`" 251 252#: ../../rst/plugins/become.rst:61 ../../rst/plugins/connection.rst:70 253#: ../../rst/plugins/inventory.rst:154 ../../rst/plugins/lookup.rst:153 254#: ../../rst/plugins/shell.rst:47 ../../rst/plugins/strategy.rst:73 255msgid "Jinja2 test plugins" 256msgstr "Jinja2 test プラグイン" 257 258#: ../../rst/plugins/become.rst:62 ../../rst/plugins/inventory.rst:155 259#: ../../rst/plugins/lookup.rst:154 ../../rst/plugins/shell.rst:48 260#: ../../rst/plugins/strategy.rst:74 261msgid ":ref:`playbooks_lookups`" 262msgstr ":ref:`playbooks_lookups`" 263 264#: ../../rst/plugins/become.rst:63 ../../rst/plugins/connection.rst:72 265#: ../../rst/plugins/inventory.rst:156 ../../rst/plugins/lookup.rst:155 266#: ../../rst/plugins/shell.rst:49 ../../rst/plugins/strategy.rst:75 267msgid "Jinja2 lookup plugins" 268msgstr "Jinja2 lookup プラグイン" 269 270#: ../../rst/plugins/cache.rst:4 271msgid "Cache Plugins" 272msgstr "cache プラグイン" 273 274#: ../../rst/plugins/cache.rst:10 275msgid "Cache plugins allow Ansible to store gathered facts or inventory source data without the performance hit of retrieving them from source." 276msgstr "cache プラグインを使用すると、Ansible は、ソースから取得するパフォーマンスに影響を与えずに、収集したファクトまたはインベントリーソースデータを保存できるようになります。" 277 278#: ../../rst/plugins/cache.rst:12 279msgid "The default cache plugin is the :ref:`memory <memory_cache>` plugin, which only caches the data for the current execution of Ansible. Other plugins with persistent storage are available to allow caching the data across runs. Some of these cache plugins write to files, others write to databases." 280msgstr "デフォルトのキャッシュプラグインは :ref:`memory <memory_cache>` プラグインです。Ansible の現在の実行のデータのみをキャッシュします。永続ストレージを備えた他のプラグインを使用して、実行間でデータをキャッシュできます。これらのキャッシュプラグインの中にはファイルに書き込むものもあれば、データベースに書き込むものもあります。" 281 282#: ../../rst/plugins/cache.rst:14 283msgid "You can use different cache plugins for inventory and facts. If you enable inventory caching without setting an inventory-specific cache plugin, Ansible uses the fact cache plugin for both facts and inventory." 284msgstr "インベントリーとファクトにさまざまな cache プラグインを使用できます。インベントリー固有の cache プラグインを設定せずにインベントリー固有のキャッシュを有効にした場合、Ansible は、ファクトとインベントリー両方に cache プラグインを使用します。" 285 286#: ../../rst/plugins/cache.rst:19 287msgid "Enabling Fact Cache Plugins" 288msgstr "ファクトの cache プラグインの有効化" 289 290#: ../../rst/plugins/cache.rst:21 291msgid "Fact caching is always enabled. However, only one fact cache plugin can be active at a time. You can select the cache plugin to use for fact caching in the Ansible configuration, either with an environment variable:" 292msgstr "ファクトキャッシングは常に有効になっています。ただし、一度にアクティブにできるファクトの cache プラグインは 1 つだけです。環境変数を使用して、Ansible 設定でファクトキャッシュに使用するキャッシュプラグインを選択できます。" 293 294#: ../../rst/plugins/cache.rst:27 ../../rst/plugins/cache.rst:55 295msgid "or in the ``ansible.cfg`` file:" 296msgstr "または ``ansible.cfg`` ファイルで、以下を行います。" 297 298#: ../../rst/plugins/cache.rst:34 299msgid "If the cache plugin is in a collection use the fully qualified name:" 300msgstr "cache プラグインをコレクションで使用する場合は、完全修飾名を使用してください。" 301 302#: ../../rst/plugins/cache.rst:41 303msgid "To enable a custom cache plugin, save it in a ``cache_plugins`` directory adjacent to your play, inside a role, or in one of the directory sources configured in :ref:`ansible.cfg <ansible_configuration_settings>`." 304msgstr "カスタムの cache プラグインを有効にするには、ロール内のプレイの隣りにある ``cache_plugins`` ディレクトリーに保存するか、:ref:`ansible.cfg <ansible_configuration_settings>` で設定したディレクトリーソースの 1 つに保存します。" 305 306#: ../../rst/plugins/cache.rst:43 307msgid "You also need to configure other settings specific to each plugin. Consult the individual plugin documentation or the Ansible :ref:`configuration <ansible_configuration_settings>` for more details." 308msgstr "また、各プラグインに固有の他の設定を構成する必要があります。個々のプラグインのドキュメントまたは Ansible の「:ref:`設定 <ansible_configuration_settings>`」を参照してください。" 309 310#: ../../rst/plugins/cache.rst:47 311msgid "Enabling Inventory Cache Plugins" 312msgstr "インベントリーの cache プラグインの有効化" 313 314#: ../../rst/plugins/cache.rst:49 315msgid "Inventory caching is disabled by default. To cache inventory data, you must enable inventory caching and then select the specific cache plugin you want to use. Not all inventory plugins support caching, so check the documentation for the inventory plugin(s) you want to use. You can enable inventory caching with an environment variable:" 316msgstr "インベントリーキャッシュはデフォルトで無効になっています。インベントリーデータをキャッシュするには、インベントリーキャッシュを有効にしてから、使用する特定の cache プラグインを選択する必要があります。すべての intentory プラグインがキャッシュをサポートしているわけではないため、使用する inventory プラグインのドキュメントを確認してください。環境変数を使用してインベントリーキャッシュを有効にできます。" 317 318#: ../../rst/plugins/cache.rst:62 ../../rst/plugins/cache.rst:83 319msgid "or if the inventory plugin accepts a YAML configuration source, in the configuration file:" 320msgstr "または、inventory プラグインが YAML 設定ソースに対応している場合は、設定ファイルで以下を指定します。" 321 322#: ../../rst/plugins/cache.rst:70 323msgid "Only one inventory cache plugin can be active at a time. You can set it with an environment variable:" 324msgstr "一度にアクティブにできるインベントリーの cache プラグインは 1 つだけです。環境変数を使用して設定できます。" 325 326#: ../../rst/plugins/cache.rst:76 327msgid "or in the ansible.cfg file:" 328msgstr "または、ansible.cfg ファイルで以下を設定します。" 329 330#: ../../rst/plugins/cache.rst:91 331msgid "To cache inventory with a custom plugin in your plugin path, follow the :ref:`developer guide on cache plugins<developing_cache_plugins>`." 332msgstr "プラグインパスにカスタムプラグインを使用してインベントリーをキャッシュするには、「:ref:`cache プラグインの開発者ガイド<developing_cache_plugins>`」の手順に従ってください。" 333 334#: ../../rst/plugins/cache.rst:93 335msgid "To cache inventory with a cache plugin in a collection, use the FQCN:" 336msgstr "コレクション内の cache プラグインを使用してインベントリーをキャッシュするには、FQCN を使用します。" 337 338#: ../../rst/plugins/cache.rst:100 339msgid "If you enable caching for inventory plugins without selecting an inventory-specific cache plugin, Ansible falls back to caching inventory with the fact cache plugin you configured. Consult the individual inventory plugin documentation or the Ansible :ref:`configuration <ansible_configuration_settings>` for more details." 340msgstr "インベントリー固有の cache プラグインを選択せずに inventory プラグインのキャッシュを有効にした場合、Ansible は、設定済みのファクトの cache プラグインでインベントリーのキャッシュが行われるようにフォールバックします。詳細は、inventory プラグインのドキュメント、または Ansible の「:ref:`設定 <ansible_configuration_settings>`」を参照してください。" 341 342#: ../../rst/plugins/cache.rst:108 343msgid "Using Cache Plugins" 344msgstr "cache プラグインの使用" 345 346#: ../../rst/plugins/cache.rst:110 347msgid "Cache plugins are used automatically once they are enabled." 348msgstr "cache プラグインは、有効になると自動的に使用されます。" 349 350#: ../../rst/plugins/cache.rst:118 351msgid "You can use ``ansible-doc -t cache -l`` to see the list of available plugins. Use ``ansible-doc -t cache <plugin name>`` to see specific documentation and examples." 352msgstr "``ansible-doc -t cache -l`` を使用して、利用可能なプラグインの一覧を表示します。``ansible-doc -t cache <plugin name>`` を使用して、特定のドキュメントと例を参照してください。" 353 354#: ../../rst/plugins/cache.rst:123 ../../rst/plugins/callback.rst:84 355#: ../../rst/plugins/vars.rst:62 356msgid ":ref:`action_plugins`" 357msgstr ":ref:`action_plugins`" 358 359#: ../../rst/plugins/cache.rst:124 ../../rst/plugins/callback.rst:85 360#: ../../rst/plugins/vars.rst:63 361msgid "Ansible Action plugins" 362msgstr "Ansible action プラグイン" 363 364#: ../../rst/plugins/cache.rst:137 ../../rst/plugins/callback.rst:98 365msgid "`User Mailing List <https://groups.google.com/forum/#!forum/ansible-devel>`_" 366msgstr "`User Mailing List <https://groups.google.com/forum/#!forum/ansible-devel>`_" 367 368#: ../../rst/plugins/callback.rst:4 369msgid "Callback Plugins" 370msgstr "callback プラグイン" 371 372#: ../../rst/plugins/callback.rst:10 373msgid "Callback plugins enable adding new behaviors to Ansible when responding to events. By default, callback plugins control most of the output you see when running the command line programs, but can also be used to add additional output, integrate with other tools and marshall the events to a storage backend." 374msgstr "callback プラグインを使用すると、イベントに応答するときに Ansible に新しい動作を追加できます。デフォルトでは、callback プラグインは、コマンドラインプログラムを実行時に表示される出力の大半を制御しますが、他の出力を追加し、他のツールと統合し、ストレージバックエンドにイベントをマーシャリングすることにも使用できます。" 375 376#: ../../rst/plugins/callback.rst:17 377msgid "Example callback plugins" 378msgstr "callback プラグインの例" 379 380#: ../../rst/plugins/callback.rst:19 381msgid "The :ref:`log_plays <log_plays_callback>` callback is an example of how to record playbook events to a log file, and the :ref:`mail <mail_callback>` callback sends email on playbook failures." 382msgstr ":ref:`log_plays <log_plays_callback>` のコールバックは、Playbook のイベントをログファイルに記録する一例で、:ref:`mail <mail_callback>` コールバックは Playbook の失敗時にメールを送信します。" 383 384#: ../../rst/plugins/callback.rst:22 385msgid "The :ref:`say <say_callback>` callback responds with computer synthesized speech in relation to playbook events." 386msgstr "また、:ref:`say <say_callback>` コールバックは、Playbook のイベントに関連して、コンピューターで合成された音声で応答します。" 387 388#: ../../rst/plugins/callback.rst:27 389msgid "Enabling callback plugins" 390msgstr "callback プラグインの有効化" 391 392#: ../../rst/plugins/callback.rst:29 393msgid "You can activate a custom callback by either dropping it into a ``callback_plugins`` directory adjacent to your play, inside a role, or by putting it in one of the callback directory sources configured in :ref:`ansible.cfg <ansible_configuration_settings>`." 394msgstr "カスタムの callback を有効にするには、その callback を、ロール内のプレイの隣りにある ``callback_plugins`` ディレクトリーに置くか、:ref:`ansible.cfg <ansible_configuration_settings>` で設定した callback ディレクトリーソースの 1 つに置きます。" 395 396#: ../../rst/plugins/callback.rst:31 397msgid "Plugins are loaded in alphanumeric order. For example, a plugin implemented in a file named `1_first.py` would run before a plugin file named `2_second.py`." 398msgstr "プラグインは英数字順に読み込まれます。たとえば、`1_first.py` という名前で実装されているプラグインは、`2_second.py` という名前のプラグインファイルより先に実行されます。" 399 400#: ../../rst/plugins/callback.rst:33 401msgid "Most callbacks shipped with Ansible are disabled by default and need to be enabled in your :ref:`ansible.cfg <ansible_configuration_settings>` file in order to function. For example:" 402msgstr "Ansible に同梱されるほとんどの callback プラグインはデフォルトで無効になっており、このプラグインを機能させるには、:ref:`ansible.cfg <ansible_configuration_settings>` ファイルで有効にする必要があります。以下に例を示します。" 403 404#: ../../rst/plugins/callback.rst:40 405msgid "Setting a callback plugin for ``ansible-playbook``" 406msgstr "``ansible-playbook``の callback プラグインの設定" 407 408#: ../../rst/plugins/callback.rst:42 409msgid "You can only have one plugin be the main manager of your console output. If you want to replace the default, you should define CALLBACK_TYPE = stdout in the subclass and then configure the stdout plugin in :ref:`ansible.cfg <ansible_configuration_settings>`. For example:" 410msgstr "コンソール出力のメインマネージャーは、1 つのプラグインのみにすることができます。デフォルトを置き換える場合は、サブクラスに CALLBACK_TYPE = stdout を定義して、:ref:`ansible.cfg <ansible_configuration_settings>` に stdout プラグインを設定する必要があります。以下に例を示します。" 411 412#: ../../rst/plugins/callback.rst:48 413msgid "or for my custom callback:" 414msgstr "または、カスタムのコールバックの場合は以下を実行します。" 415 416#: ../../rst/plugins/callback.rst:54 417msgid "This only affects :ref:`ansible-playbook` by default." 418msgstr "これは、デフォルトでは、:ref:`ansible-playbook` にのみ影響を及ぼします。" 419 420#: ../../rst/plugins/callback.rst:57 421msgid "Setting a callback plugin for ad hoc commands" 422msgstr "アドホックコマンドへの callback プラグインの設定" 423 424#: ../../rst/plugins/callback.rst:59 425msgid "The :ref:`ansible` ad hoc command specifically uses a different callback plugin for stdout, so there is an extra setting in :ref:`ansible_configuration_settings` you need to add to use the stdout callback defined above:" 426msgstr ":ref:`ansible` アドホックコマンドは、特に stdout には別の callback プラグインを使用するため、上記に定義した stdout callback を使用するには、追加する必要がある :ref:`ansible_configuration_settings` にさらに設定を追加する必要があります。" 427 428#: ../../rst/plugins/callback.rst:67 429msgid "You can also set this as an environment variable:" 430msgstr "これを環境変数として設定することもできます。" 431 432#: ../../rst/plugins/callback.rst:79 433msgid "You can use ``ansible-doc -t callback -l`` to see the list of available plugins. Use ``ansible-doc -t callback <plugin name>`` to see specific documents and examples." 434msgstr "``ansible-doc -t callback -l`` を使用して、利用可能なプラグインの一覧を表示します。``ansible-doc -t callback <plugin name>`` を使用して、特定のドキュメントと例を参照してください。" 435 436#: ../../rst/plugins/callback.rst:87 437msgid "Ansible cache plugins" 438msgstr "Ansible cache プラグイン" 439 440#: ../../rst/plugins/cliconf.rst:4 441msgid "Cliconf Plugins" 442msgstr "cliconf プラグイン" 443 444#: ../../rst/plugins/cliconf.rst:10 445msgid "Cliconf plugins are abstractions over the CLI interface to network devices. They provide a standard interface for Ansible to execute tasks on those network devices." 446msgstr "cliconf プラグインは、ネットワークデバイスへの CLI インターフェースを介した抽象化です。これらは、Ansible がこれらのネットワークデバイスでタスクを実行するための標準インターフェースを提供します。" 447 448#: ../../rst/plugins/cliconf.rst:12 449msgid "These plugins generally correspond one-to-one to network device platforms. Ansible loads the appropriate cliconf plugin automatically based on the ``ansible_network_os`` variable." 450msgstr "通常、これらのプラグインはネットワークデバイスのプラットフォームに 1 対 1 で対応します。Ansible は ``ansible_network_os`` 変数に基づいて適切な cliconf プラグインを自動的に読み込みます。" 451 452#: ../../rst/plugins/cliconf.rst:17 453msgid "Adding cliconf plugins" 454msgstr "cliconf プラグインの追加" 455 456#: ../../rst/plugins/cliconf.rst:19 457msgid "You can extend Ansible to support other network devices by dropping a custom plugin into the ``cliconf_plugins`` directory." 458msgstr "``cliconf_plugins`` ディレクトリーにカスタムのプラグインを置いて、Ansible が他のネットワークデバイスをサポートするように拡張できます。" 459 460#: ../../rst/plugins/cliconf.rst:24 461msgid "Using cliconf plugins" 462msgstr "cliconf プラグインの使用" 463 464#: ../../rst/plugins/cliconf.rst:26 465msgid "The cliconf plugin to use is determined automatically from the ``ansible_network_os`` variable. There should be no reason to override this functionality." 466msgstr "使用する cliconf プラグインは ``ansible_network_os`` 変数から自動的に決定されます。この機能を上書きする理由はありません。" 467 468#: ../../rst/plugins/cliconf.rst:28 469msgid "Most cliconf plugins can operate without configuration. A few have additional options that can be set to affect how tasks are translated into CLI commands." 470msgstr "ほとんどの cliconf プラグインは設定なしで動作します。タスクが CLI コマンドにどのように変換されるかに影響する追加オプションがいくつかあります。" 471 472#: ../../rst/plugins/cliconf.rst:30 ../../rst/plugins/httpapi.rst:32 473#: ../../rst/plugins/netconf.rst:30 474msgid "Plugins are self-documenting. Each plugin should document its configuration options." 475msgstr "プラグインは自己文書化されています。プラグインごとに、設定オプションについて文書化する必要があります。" 476 477#: ../../rst/plugins/cliconf.rst:35 478msgid "Viewing cliconf plugins" 479msgstr "cliconf プラグインの表示" 480 481#: ../../rst/plugins/cliconf.rst:37 482msgid "These plugins have migrated to collections on `Ansible Galaxy <https://galaxy.ansible.com>`_. If you installed Ansible version 2.10 or later using ``pip``, you have access to several cliconf plugins. To list all available cliconf plugins on your control node, type ``ansible-doc -t cliconf -l``. To view plugin-specific documentation and examples, use ``ansible-doc -t cliconf``." 483msgstr "これらのプラグインは `Ansible Galaxy <https://galaxy.ansible.com>`_ のコレクションに移行しました。``pip`` を使用して Ansible バージョン 2.10 以降をインストールしている場合は、複数の cliconf プラグインにアクセスできます。コントロールノードで利用可能な cliconf プラグインの一覧を表示するには、``ansible-doc -t cliconf -l`` と入力します。プラグイン固有のドキュメントと例を確認するには、``ansible-doc -t cliconf`` を使用します。" 484 485#: ../../rst/plugins/cliconf.rst:42 ../../rst/plugins/httpapi.rst:65 486#: ../../rst/plugins/netconf.rst:42 487msgid ":ref:`Ansible for Network Automation<network_guide>`" 488msgstr ":ref:`Ansible for Network Automation<network_guide>`" 489 490#: ../../rst/plugins/cliconf.rst:43 ../../rst/plugins/httpapi.rst:66 491#: ../../rst/plugins/netconf.rst:43 492msgid "An overview of using Ansible to automate networking devices." 493msgstr "Ansible を使用したネットワークデバイスの自動化の概要" 494 495#: ../../rst/plugins/cliconf.rst:47 ../../rst/plugins/httpapi.rst:72 496#: ../../rst/plugins/netconf.rst:47 497msgid "#ansible-network IRC chat channel" 498msgstr "IRC チャットチャンネル (#ansible-network)" 499 500#: ../../rst/plugins/connection.rst:4 501msgid "Connection Plugins" 502msgstr "connection プラグイン" 503 504#: ../../rst/plugins/connection.rst:10 505msgid "Connection plugins allow Ansible to connect to the target hosts so it can execute tasks on them. Ansible ships with many connection plugins, but only one can be used per host at a time." 506msgstr "接続プラグインにより、Ansible はターゲットホストに接続してそのホストにあるタスクを実行できるようにします。Ansible には多くの接続プラグインが同梱されていますが、一度に使用できるのは 1 つのみとなります。" 507 508#: ../../rst/plugins/connection.rst:12 509msgid "By default, Ansible ships with several plugins. The most commonly used are the :ref:`paramiko SSH<paramiko_ssh_connection>`, native ssh (just called :ref:`ssh<ssh_connection>`), and :ref:`local<local_connection>` connection types. All of these can be used in playbooks and with :command:`/usr/bin/ansible` to decide how you want to talk to remote machines." 510msgstr "デフォルトでは、Ansible には複数のプラグインが同梱されています。最も一般的に使用されるものは、:ref:`paramiko SSH<paramiko_ssh_connection>` ネイティブ ssh (ただ :ref:`ssh<ssh_connection>` と呼ばれます)、および :ref:`local<local_connection>` 接続タイプです。これらはすべて、リモートマシンとの通信方法を決定するために Playbook と :command:`/usr/bin/ansible` で使用できます。" 511 512#: ../../rst/plugins/connection.rst:14 513msgid "The basics of these connection types are covered in the :ref:`getting started<intro_getting_started>` section." 514msgstr "このような接続タイプの基本情報は、:ref:`getting started<intro_getting_started>` のセクションで説明しています。" 515 516#: ../../rst/plugins/connection.rst:19 517msgid "``ssh`` plugins" 518msgstr "``ssh`` プラグイン" 519 520#: ../../rst/plugins/connection.rst:21 521msgid "Because ssh is the default protocol used in system administration and the protocol most used in Ansible, ssh options are included in the command line tools. See :ref:`ansible-playbook` for more details." 522msgstr "ssh は、システム管理で使用されるデフォルトのプロトコルであり、Ansible で最も使用されるプロトコルでもあるため、コマンドラインツールに ssh オプションが含まれています。詳細は、「:ref:`ansible-playbook`」を参照してください。" 523 524#: ../../rst/plugins/connection.rst:26 525msgid "Adding connection plugins" 526msgstr "connection プラグインの追加" 527 528#: ../../rst/plugins/connection.rst:28 529msgid "You can extend Ansible to support other transports (such as SNMP or message bus) by dropping a custom plugin into the ``connection_plugins`` directory." 530msgstr "カスタムのプラグインを ``connection_plugins`` ディレクトリーに置いて、他のトランスポート (SNMP やメッセージバスなど) をサポートするように Ansible を拡張できます。" 531 532#: ../../rst/plugins/connection.rst:34 533msgid "Using connection plugins" 534msgstr "connection プラグインの使用" 535 536#: ../../rst/plugins/connection.rst:36 537msgid "You can set the connection plugin globally via :ref:`configuration<ansible_configuration_settings>`, at the command line (``-c``, ``--connection``), as a :ref:`keyword <playbook_keywords>` in your play, or by setting a :ref:`variable<behavioral_parameters>`, most often in your inventory. For example, for Windows machines you might want to set the :ref:`winrm <winrm_connection>` plugin as an inventory variable." 538msgstr "接続プラグインは、:ref:`configuration<ansible_configuration_settings>`、コマンドライン (``-c``、``--connection``)を経由するか、プレイの :ref:`keyword <playbook_keywords>` として使用するか、インベントリーにある :ref:`variable<behavioral_parameters>` を設定すること (もっとも多い例) で設定できます。たとえば、Windows マシンでは :ref:`winrm <winrm_connection>` プラグインをインベントリー変数として設定できます。" 539 540#: ../../rst/plugins/connection.rst:39 541msgid "Most connection plugins can operate with minimal configuration. By default they use the :ref:`inventory hostname<inventory_hostnames_lookup>` and defaults to find the target host." 542msgstr "ほとんどの接続プラグインは最小設定で動作します。デフォルトでは :ref:`inventory hostname<inventory_hostnames_lookup>` を使用し、デフォルトではターゲットホストを検索します。" 543 544#: ../../rst/plugins/connection.rst:41 545msgid "Plugins are self-documenting. Each plugin should document its configuration options. The following are connection variables common to most connection plugins:" 546msgstr "プラグインは自己文書化されています。各プラグインは、その設定オプションを文書化する必要があります。以下は、ほとんどの接続プラグインに共通する接続変数です。" 547 548#: ../../rst/plugins/connection.rst:43 549msgid ":ref:`ansible_host<magic_variables_and_hostvars>`" 550msgstr ":ref:`ansible_host<magic_variables_and_hostvars>`" 551 552#: ../../rst/plugins/connection.rst:44 553msgid "The name of the host to connect to, if different from the :ref:`inventory <intro_inventory>` hostname." 554msgstr "接続するホストの名前 (:ref:`inventory <intro_inventory>` のホスト名と異なる場合)。" 555 556#: ../../rst/plugins/connection.rst:45 557msgid ":ref:`ansible_port<faq_setting_users_and_ports>`" 558msgstr ":ref:`ansible_port<faq_setting_users_and_ports>`" 559 560#: ../../rst/plugins/connection.rst:46 561msgid "The ssh port number, for :ref:`ssh <ssh_connection>` and :ref:`paramiko_ssh <paramiko_ssh_connection>` it defaults to 22." 562msgstr ":ref:`ssh <ssh_connection>` および :ref:`paramiko_ssh <paramiko_ssh_connection>` の場合は ssh ポート番号。デフォルトは 22 です。" 563 564#: ../../rst/plugins/connection.rst:48 565msgid ":ref:`ansible_user<faq_setting_users_and_ports>`" 566msgstr ":ref:`ansible_user<faq_setting_users_and_ports>`" 567 568#: ../../rst/plugins/connection.rst:48 569msgid "The default user name to use for log in. Most plugins default to the 'current user running Ansible'." 570msgstr "ログインに使用するデフォルトのユーザー名。ほとんどのプラグインはデフォルトで Ansible を実行している現在のユーザーです。" 571 572#: ../../rst/plugins/connection.rst:50 573msgid "Each plugin might also have a specific version of a variable that overrides the general version. For example, ``ansible_ssh_host`` for the :ref:`ssh <ssh_connection>` plugin." 574msgstr "プラグインごとに、一般的なバージョンを上書きする特定の変数バージョンが存在する場合もあります。たとえば、:ref:`ssh <ssh_connection>` プラグインの場合は ``ansible_ssh_host`` です。" 575 576#: ../../rst/plugins/connection.rst:57 577msgid "You can use ``ansible-doc -t connection -l`` to see the list of available plugins. Use ``ansible-doc -t connection <plugin name>`` to see detailed documentation and examples." 578msgstr "``ansible-doc -t connection -l`` を使用して、利用可能なプラグインの一覧を表示します。``ansible-doc -t connection <plugin name>`` を使用して、詳細なドキュメントと例を参照してください。" 579 580#: ../../rst/plugins/connection.rst:63 581msgid ":ref:`Working with Playbooks<working_with_playbooks>`" 582msgstr ":ref:`Working with Playbooks<working_with_playbooks>`" 583 584#: ../../rst/plugins/connection.rst:67 585msgid ":ref:`Filters<playbooks_filters>`" 586msgstr ":ref:`Filters<playbooks_filters>`" 587 588#: ../../rst/plugins/connection.rst:69 589msgid ":ref:`Tests<playbooks_tests>`" 590msgstr ":ref:`Tests<playbooks_tests>`" 591 592#: ../../rst/plugins/connection.rst:71 593msgid ":ref:`Lookups<playbooks_lookups>`" 594msgstr ":ref:`Lookups<playbooks_lookups>`" 595 596#: ../../rst/plugins/connection.rst:74 ../../rst/plugins/inventory.rst:158 597msgid "Ansible vars plugins" 598msgstr "Ansible vars プラグイン" 599 600#: ../../rst/plugins/httpapi.rst:4 601msgid "Httpapi Plugins" 602msgstr "httpapi プラグイン" 603 604#: ../../rst/plugins/httpapi.rst:10 605msgid "Httpapi plugins tell Ansible how to interact with a remote device's HTTP-based API and execute tasks on the device." 606msgstr "httpapi プラグインは、Ansible に対して、リモートデバイスの HTTP ベースの API と対話して、そのデバイスでタスクを実行する方法を指示します。" 607 608#: ../../rst/plugins/httpapi.rst:13 609msgid "Each plugin represents a particular dialect of API. Some are platform-specific (Arista eAPI, Cisco NXAPI), while others might be usable on a variety of platforms (RESTCONF). Ansible loads the appropriate httpapi plugin automatically based on the ``ansible_network_os`` variable." 610msgstr "各プラグインは、特定の API 方言を表します。プラットフォーム固有のもの (Arista eAPI、Cisco NXAPI) があり、さまざまなプラットフォーム (RESTCONF) を使用できる場合があります。Ansible は ``ansible_network_os`` 変数に基づいて適切な httpapi プラグインを自動的に読み込みます。" 611 612#: ../../rst/plugins/httpapi.rst:19 613msgid "Adding httpapi plugins" 614msgstr "httpapi プラグインの追加" 615 616#: ../../rst/plugins/httpapi.rst:21 617msgid "You can extend Ansible to support other APIs by dropping a custom plugin into the ``httpapi_plugins`` directory. See :ref:`developing_plugins_httpapi` for details." 618msgstr "``httpapi_plugins`` ディレクトリーにカスタムのプラグインを置いて、Ansible が他の API をサポートするように拡張できます。詳細は、「:ref:`developing_plugins_httpapi`」を参照してください。" 619 620#: ../../rst/plugins/httpapi.rst:26 621msgid "Using httpapi plugins" 622msgstr "httpapi プラグインの使用" 623 624#: ../../rst/plugins/httpapi.rst:28 625msgid "The httpapi plugin to use is determined automatically from the ``ansible_network_os`` variable." 626msgstr "使用する httpapi プラグインは、``ansible_network_os`` 変数から自動的に判断されます。" 627 628#: ../../rst/plugins/httpapi.rst:30 629msgid "Most httpapi plugins can operate without configuration. Additional options may be defined by each plugin." 630msgstr "ほとんどの httpapi プラグインは設定なしで動作します。追加オプションは各プラグインで定義できます。" 631 632#: ../../rst/plugins/httpapi.rst:35 633msgid "The following sample playbook shows the httpapi plugin for an Arista network device, assuming an inventory variable set as ``ansible_network_os=eos`` for the httpapi plugin to trigger off:" 634msgstr "以下の Playbook サンプルでは、Arista ネットワークデバイスの httpapi プラグインについて示します。この例では、インベントリー変数を ``ansible_network_os=eos`` に設定して httpapi プラグインがオフになるようにトリガーすることを想定しています。" 635 636#: ../../rst/plugins/httpapi.rst:54 637msgid "See the full working example `on GitHub <https://github.com/network-automation/httpapi>`_." 638msgstr "`GitHub <https://github.com/network-automation/httpapi>`_ にある完全な作業例を参照してください。" 639 640#: ../../rst/plugins/httpapi.rst:59 641msgid "Viewing httpapi plugins" 642msgstr "httpapi プラグインの表示" 643 644#: ../../rst/plugins/httpapi.rst:61 645msgid "These plugins have migrated to collections on `Ansible Galaxy <https://galaxy.ansible.com>`_. If you installed Ansible version 2.10 or later using ``pip``, you have access to several httpapi plugins. To list all available httpapi plugins on your control node, type ``ansible-doc -t httpapi -l``. To view plugin-specific documentation and examples, use ``ansible-doc -t httpapi``." 646msgstr "これらのプラグインは `Ansible Galaxy <https://galaxy.ansible.com>`_ のコレクションに移行しました。``pip`` を使用して Ansible バージョン 2.10 以降をインストールしている場合は、複数の httpapi プラグインにアクセスできます。コントロールノードで利用可能な httpapi プラグインの一覧を表示するには、``ansible-doc -t httpapi -l`` と入力します。プラグイン固有のドキュメントと例を確認するには、``ansible-doc -t httpapi`` を使用します。" 647 648#: ../../rst/plugins/httpapi.rst:67 649msgid ":ref:`Developing network modules<developing_modules_network>`" 650msgstr ":ref:`Developing network modules<developing_modules_network>`" 651 652#: ../../rst/plugins/httpapi.rst:68 653msgid "How to develop network modules." 654msgstr "ネットワークモジュールの開発方法" 655 656#: ../../rst/plugins/inventory.rst:4 657msgid "Inventory Plugins" 658msgstr "inventory プラグイン" 659 660#: ../../rst/plugins/inventory.rst:10 661msgid "Inventory plugins allow users to point at data sources to compile the inventory of hosts that Ansible uses to target tasks, either using the ``-i /path/to/file`` and/or ``-i 'host1, host2'`` command line parameters or from other configuration sources." 662msgstr "inventory プラグインでは、``-i /path/to/file`` や ``-i 'host1, host2'`` コマンドラインパラメーターを使用したり、他の設定ソースを使用したりして、Ansible がタスクの対象として使用するホストのインベントリーをコンパイルするためのデータソースを指定できます。" 663 664#: ../../rst/plugins/inventory.rst:16 665msgid "Enabling inventory plugins" 666msgstr "inventory プラグインの有効化" 667 668#: ../../rst/plugins/inventory.rst:18 669msgid "Most inventory plugins shipped with Ansible are enabled by default or can be used by with the ``auto`` plugin." 670msgstr "Ansible に同梱されるほとんどの inventory プラグインはデフォルトで有効になっているか、``auto`` プラグインで使用することができます。" 671 672#: ../../rst/plugins/inventory.rst:20 673msgid "In some circumstances, for example, if the inventory plugin does not use a YAML configuration file, you may need to enable the specific plugin. You can do this by setting ``enable_plugins`` in your :ref:`ansible.cfg <ansible_configuration_settings>` file in the ``[inventory]`` section. Modifying this will override the default list of enabled plugins. Here is the default list of enabled plugins that ships with Ansible:" 674msgstr "たとえば、インベントリープラグインが YAML 設定ファイルを使用しない場合は、特定のプラグインを有効にする必要があります。これを行うには、``[inventory]`` セクションの :ref:`ansible.cfg <ansible_configuration_settings>`ファイルで ``enable_plugins``を設定します。これを変更すると、有効化されたプラグインのデフォルト一覧が上書きされます。以下は、Ansible に同梱される有効なプラグインのデフォルト一覧です。" 675 676#: ../../rst/plugins/inventory.rst:27 677msgid "If the plugin is in a collection, use the fully qualified name:" 678msgstr "プラグインをコレクションで使用する場合は、完全修飾名を使用してください。" 679 680#: ../../rst/plugins/inventory.rst:38 681msgid "Using inventory plugins" 682msgstr "inventory プラグインの使用" 683 684#: ../../rst/plugins/inventory.rst:40 685msgid "To use an inventory plugin, you must provide an inventory source. Most of the time this is a file containing host information or a YAML configuration file with options for the plugin. You can use the ``-i`` flag to provide inventory sources or configure a default inventory path." 686msgstr "inventory プラグインを使用するには、インベントリーソースを指定する必要があります。そのほとんどは、プラグインのオプションを持つホスト情報または YAML 設定ファイルを含むファイルです。``-i`` フラグを使用してインベントリーソースを提供するか、デフォルトのインベントリーパスを設定することができます。" 687 688#: ../../rst/plugins/inventory.rst:46 689msgid "To start using an inventory plugin with a YAML configuration source, create a file with the accepted filename schema documented for the plugin in question, then add ``plugin: plugin_name``. Use the fully qualified name if the plugin is in a collection." 690msgstr "YAML 設定ソースで inventory プラグインの使用を開始するには、該当するプラグインで文書化されている受け入れ可能なファイル名のスキーマでファイルを作成し、そのファイルに ``plugin: plugin_name`` を追加します。プラグインがコレクションにある場合は、完全修飾名を使用します。" 691 692#: ../../rst/plugins/inventory.rst:53 693msgid "Each plugin should document any naming restrictions. In addition, the YAML config file must end with the extension ``yml`` or ``yaml`` to be enabled by default with the ``auto`` plugin (otherwise, see the section above on enabling plugins)." 694msgstr "各プラグインは命名制限について記載する必要があります。また、YAML 設定ファイルは、``auto`` プラグインでデフォルトで有効にする拡張子 ``yml`` または ``yaml`` で終了する必要があります (同様に、プラグインを有効にする際の上記のセクションを参照してください)。" 695 696#: ../../rst/plugins/inventory.rst:55 697msgid "After providing any required options, you can view the populated inventory with ``ansible-inventory -i demo.aws_ec2.yml --graph``:" 698msgstr "必要なオプションを指定したら、``ansible-inventory -i demo.aws_ec2.yml --graph`` で設定され追加されたインベントリーを表示できます。" 699 700#: ../../rst/plugins/inventory.rst:65 701msgid "If you are using an inventory plugin in a playbook-adjacent collection and want to test your setup with ``ansible-inventory``, use the ``--playbook-dir`` flag." 702msgstr "Playbook に隣接するコレクションで inventory プラグインを使用して、``ansible-inventory`` で設定をテストするには、``--playbook-dir`` フラグを使用する必要があります。" 703 704#: ../../rst/plugins/inventory.rst:67 705msgid "Your inventory source might be a directory of inventory configuration files. The constructed inventory plugin only operates on those hosts already in inventory, so you may want the constructed inventory configuration parsed at a particular point (such as last). Ansible parses the directory recursively, alphabetically. You cannot configure the parsing approach, so name your files to make it work predictably. Inventory plugins that extend constructed features directly can work around that restriction by adding constructed options in addition to the inventory plugin options. Otherwise, you can use ``-i`` with multiple sources to impose a specific order, for example ``-i demo.aws_ec2.yml -i clouds.yml -i constructed.yml``." 706msgstr "インベントリーソースは、インベントリー設定ファイルのディレクトリーである場合があります。構築した inventory プラグインは、インベントリーにすでに存在するホストでのみ動作するため、特定のタイミング (「最後」など) で構築したインベントリー設定を解析してください。Ansible は、ディレクトリーを再帰的にアルファベットで解析します。解析アプローチは設定できないため、想定通りに機能するように、ファイルの名前を指定します。構築した機能を直接拡張したinventory プラグインは、inventory プラグインのオプションに構築したオプションを追加し、制約を回避して機能させることができます。それ以外の場合は、複数ソースに ``-i`` を使用して特定の順番を指定します (例: ``-i demo.aws_ec2.yml -i clouds.yml -i constructed.yml``)。" 707 708#: ../../rst/plugins/inventory.rst:69 709msgid "You can create dynamic groups using host variables with the constructed ``keyed_groups`` option. The option ``groups`` can also be used to create groups and ``compose`` creates and modifies host variables. Here is an aws_ec2 example utilizing constructed features:" 710msgstr "構築した``keyed_groups`` オプションとホスト変数を使用して、動的なグループを作成できます。``groups`` オプションを使用してグループを作成し、``compose`` でホスト変数を作成して変更できます。以下は、構築した機能を使用する aws_ec2 のサンプルです。" 711 712#: ../../rst/plugins/inventory.rst:90 713msgid "Now the output of ``ansible-inventory -i demo.aws_ec2.yml --graph``:" 714msgstr "これで、``ansible-inventory -i demo.aws_ec2.yml --graph`` の出力が表示されます。" 715 716#: ../../rst/plugins/inventory.rst:108 717msgid "If a host does not have the variables in the configuration above (in other words, ``tags.Name``, ``tags``, ``private_ip_address``), the host will not be added to groups other than those that the inventory plugin creates and the ``ansible_host`` host variable will not be modified." 718msgstr "上記の設定でホストに変数がない場合には (つまり ``tags.Name``、``tags``、``private_ip_address``)、ホストは inventory プラグインが作成したグループ以外には追加されず、また ``ansible_host`` のホスト変数も変更されません。" 719 720#: ../../rst/plugins/inventory.rst:110 721msgid "Inventory plugins that support caching can use the general settings for the fact cache defined in the ``ansible.cfg`` file's ``[defaults]`` section or define inventory-specific settings in the ``[inventory]`` section. Individual plugins can define plugin-specific cache settings in their config file:" 722msgstr "キャッシュをサポートする inventory プラグインは、``ansible.cfg`` ファイルの ``[defaults]`` セクションに定義されたファクトキャッシュの一般設定を使用するか、``[inventory]`` セクションにインベントリー固有の設定を定義することができます。個々のプラグインは、設定ファイルでプラグイン固有のキャッシュ設定を定義できます。" 723 724#: ../../rst/plugins/inventory.rst:122 725msgid "Here is an example of setting inventory caching with some fact caching defaults for the cache plugin used and the timeout in an ``ansible.cfg`` file:" 726msgstr "以下は、``ansible.cfg`` ファイルに、使用する chache プラグインにデフォルト設定されているファクトキャッシュの一部を使用したインベントリーキャッシュと、タイムアウトを設定する例です。" 727 728#: ../../rst/plugins/inventory.rst:140 729msgid "You can use ``ansible-doc -t inventory -l`` to see the list of available plugins. Use ``ansible-doc -t inventory <plugin name>`` to see plugin-specific documentation and examples." 730msgstr "``ansible-doc -t inventory -l`` を使用して、利用可能なプラグインの一覧を表示します。``ansible-doc -t inventory <plugin name>`` を使用して、プラグイン固有のドキュメントと例を参照してください。" 731 732#: ../../rst/plugins/lookup.rst:4 733msgid "Lookup Plugins" 734msgstr "lookup プラグイン" 735 736#: ../../rst/plugins/lookup.rst:10 737msgid "Lookup plugins are an Ansible-specific extension to the Jinja2 templating language. You can use lookup plugins to access data from outside sources (files, databases, key/value stores, APIs, and other services) within your playbooks. Like all :ref:`templating <playbooks_templating>`, lookups execute and are evaluated on the Ansible control machine. Ansible makes the data returned by a lookup plugin available using the standard templating system. You can use lookup plugins to load variables or templates with information from external sources." 738msgstr "lookup プラグインは、Jinja2 テンプレート言語への Ansible 固有の拡張です。lookup プラグインを使用して、Playbook 内の外部ソース (ファイル、データベース、キー/値のストア、API、その他のサービス) からデータにアクセスできます。:ref:`templating <playbooks_templating>` はすべて、Ansible 制御マシンで lookup を実行し、評価されます。Ansible は、標準の一時システムで利用可能な lookup プラグインにより返されたデータを提供します。lookup プラグインを使用すると、変数やテンプレートに外部ソースからの情報を読み込むことができます。" 739 740#: ../../rst/plugins/lookup.rst:13 741msgid "Lookups are executed with a working directory relative to the role or play, as opposed to local tasks, which are executed relative the executed script." 742msgstr "ルックアップは、ロールやプレイに相対する作業ディレクトリーで実行されます。一方、ローカルタスクは、実行されたスクリプトに相対して実行されます。" 743 744#: ../../rst/plugins/lookup.rst:15 745msgid "Pass ``wantlist=True`` to lookups to use in Jinja2 template \"for\" loops." 746msgstr "``wantlist=True`` を lookup に渡して、Jinja2 テンプレート「for」ループで使用できます。" 747 748#: ../../rst/plugins/lookup.rst:16 749msgid "By default, lookup return values are marked as unsafe for security reasons. If you trust the outside source your lookup accesses, pass ``allow_unsafe=True`` to allow Jinja2 templates to evaluate lookup values." 750msgstr "デフォルトでは、ルックアップの戻り値はセキュリティー上の理由で安全でないと識別されます。ルックアップがアクセスする外部ソースを信頼する場合は、``allow_unsafe=True`` を渡して Jinja2 テンプレートがルックアップ値を評価できるようにします。" 751 752#: ../../rst/plugins/lookup.rst:19 753msgid "Some lookups pass arguments to a shell. When using variables from a remote/untrusted source, use the `|quote` filter to ensure safe usage." 754msgstr "ルックアップの中には、シェルに引数を渡すものがあります。リモート/信頼されていないソースから変数を使用する場合には、`|quote` フィルターを使用して、安全に使用できるようにします。" 755 756#: ../../rst/plugins/lookup.rst:25 757msgid "Enabling lookup plugins" 758msgstr "lookup プラグインの有効化" 759 760#: ../../rst/plugins/lookup.rst:27 761msgid "Ansible enables all lookup plugins it can find. You can activate a custom lookup by either dropping it into a ``lookup_plugins`` directory adjacent to your play, inside the ``plugins/lookup/`` directory of a collection you have installed, inside a standalone role, or in one of the lookup directory sources configured in :ref:`ansible.cfg <ansible_configuration_settings>`." 762msgstr "Ansibleは、検出したすべての lookup プラグインを有効にします。カスタム lookup を有効にするには、プレイに隣接する ``lookup_plugins`` ディレクトリー、インストールしたコレクションの ``plugins/lookup/`` ディレクトリー、スタンドアロンロール、または :ref:`ansible.cfg <ansible_configuration_settings>` で設定したルックアップディレクトリソースのいずれかに置きます。" 763 764#: ../../rst/plugins/lookup.rst:33 765msgid "Using lookup plugins" 766msgstr "lookup プラグインの使用" 767 768#: ../../rst/plugins/lookup.rst:35 769msgid "You can use lookup plugins anywhere you can use templating in Ansible: in a play, in variables file, or in a Jinja2 template for the :ref:`template <template_module>` module." 770msgstr "lookup プラグインは、Ansible でテンプレートを使用できる場所で使用できます。これはプレイ、変数ファイル、または :ref:`template <template_module>` モジュールの Jinja2 テンプレートで使用できます。" 771 772#: ../../rst/plugins/lookup.rst:42 773msgid "Lookups are an integral part of loops. Wherever you see ``with_``, the part after the underscore is the name of a lookup. For this reason, most lookups output lists and take lists as input; for example, ``with_items`` uses the :ref:`items <items_lookup>` lookup::" 774msgstr "lookups はループには欠かせない要素です。``with_`` と表示される場合は、アンダースコアの後の部分がルックアップの名前になります。ほとんどのルックアップはリストを出力し、入力としてリストを受け取ります。たとえば、``with_items`` は :ref:`items <items_lookup>` lookup を使用します::" 775 776#: ../../rst/plugins/lookup.rst:49 777msgid "You can combine lookups with :ref:`filters <playbooks_filters>`, :ref:`tests <playbooks_tests>` and even each other to do some complex data generation and manipulation. For example::" 778msgstr "lookup と :ref:`filters <playbooks_filters>`、:ref:`tests <playbooks_tests>`、またはそれぞれを組み合わせて複雑なデータ生成やデータ操作が可能です。以下に例を示します。" 779 780#: ../../rst/plugins/lookup.rst:61 781msgid "You can control how errors behave in all lookup plugins by setting ``errors`` to ``ignore``, ``warn``, or ``strict``. The default setting is ``strict``, which causes the task to fail if the lookup returns an error. For example:" 782msgstr "``errors`` を ``ignore``、``warn``、または ``strict`` に設定して、すべての lookup プラグインでエラーの動作を制御できます。デフォルト設定は ``strict`` で、lookup がエラーを返すとタスクは失敗します。以下に例を示します。" 783 784#: ../../rst/plugins/lookup.rst:63 785msgid "To ignore lookup errors::" 786msgstr "ルックアップエラーを無視するには、以下を行います。" 787 788#: ../../rst/plugins/lookup.rst:77 789msgid "To get a warning instead of a failure::" 790msgstr "失敗させるのではなく警告を出すには、以下を使用します。" 791 792#: ../../rst/plugins/lookup.rst:93 793msgid "To get a fatal error (the default)::" 794msgstr "致命的なエラーを取得する (デフォルト) には、以下を行います::" 795 796#: ../../rst/plugins/lookup.rst:108 797msgid "Forcing lookups to return lists: ``query`` and ``wantlist=True``" 798msgstr "ルックアップが強制的にリストを返すようにする: ``query`` および ``wantlist=True``" 799 800#: ../../rst/plugins/lookup.rst:112 801msgid "In Ansible 2.5, a new Jinja2 function called ``query`` was added for invoking lookup plugins. The difference between ``lookup`` and ``query`` is largely that ``query`` will always return a list. The default behavior of ``lookup`` is to return a string of comma separated values. ``lookup`` can be explicitly configured to return a list using ``wantlist=True``." 802msgstr "Ansible 2.5 では、lookup プラグインを呼び出すために ``query`` と呼ばれる新しい Jinja2 関数が追加されました。``lookup`` と ``query`` の相違点は、``query`` が常にリストを返すことです。``lookup`` のデフォルト動作は、コンマ区切りの値の文字列を返すことです。``lookup`` は、``wantlist=True`` を使用してリストを返すように明示的に設定できます。" 803 804#: ../../rst/plugins/lookup.rst:115 805msgid "This feature provides an easier and more consistent interface for interacting with the new ``loop`` keyword, while maintaining backwards compatibility with other uses of ``lookup``." 806msgstr "この機能により、新しい ``loop`` キーワードを操作するための、より簡単で一貫性のあるインターフェースが提供され、同時に``lookup`` の他の使い方との後方互換性も維持されます。" 807 808#: ../../rst/plugins/lookup.rst:117 809msgid "The following examples are equivalent:" 810msgstr "以下の例はどちらも同等の操作ができます。" 811 812#: ../../rst/plugins/lookup.rst:125 813msgid "As demonstrated above, the behavior of ``wantlist=True`` is implicit when using ``query``." 814msgstr "上記の例のように、``query`` を使用する場合、``wantlist=True`` の動作は暗黙的になります。" 815 816#: ../../rst/plugins/lookup.rst:127 817msgid "Additionally, ``q`` was introduced as a shortform of ``query``:" 818msgstr "また、``query`` の短縮形となる ``q`` が導入されました。" 819 820#: ../../rst/plugins/lookup.rst:139 821msgid "You can use ``ansible-doc -t lookup -l`` to see the list of available plugins. Use ``ansible-doc -t lookup <plugin name>`` to see specific documents and examples." 822msgstr "``ansible-doc -t lookup -l`` を使用して、利用可能なプラグインの一覧を表示します。``ansible-doc -t lookup <plugin name>`` を使用して、特定のドキュメントと例を参照してください。" 823 824#: ../../rst/plugins/netconf.rst:4 825msgid "Netconf Plugins" 826msgstr "netconf プラグイン" 827 828#: ../../rst/plugins/netconf.rst:10 829msgid "Netconf plugins are abstractions over the Netconf interface to network devices. They provide a standard interface for Ansible to execute tasks on those network devices." 830msgstr "netconf プラグインは、ネットワークデバイスへの Netconf インターフェイスを介した抽象化です。これらは、Ansible がこれらのネットワークデバイスでタスクを実行するための標準インターフェースを提供します。" 831 832#: ../../rst/plugins/netconf.rst:12 833msgid "These plugins generally correspond one-to-one to network device platforms. Ansible loads the appropriate netconf plugin automatically based on the ``ansible_network_os`` variable. If the platform supports standard Netconf implementation as defined in the Netconf RFC specification, Ansible loads the ``default`` netconf plugin. If the platform supports propriety Netconf RPCs, Ansible loads the platform-specific netconf plugin." 834msgstr "これらのプラグインは通常、ネットワークデバイスプラットフォームに 1 対 1 に対応します。Ansible は ``ansible_network_os`` 変数に基づいて適切な netconf プラグインを自動的に読み込みます。プラットフォームが Netconf の RFC 仕様で定義されている標準の Netconf 実装をサポートする場合、Ansible は ``default`` netconf プラグインを読み込みます。プラットフォームがプロプライエタリーな Netconf RPC をサポートする場合、Ansible はプラットフォーム固有の netconf プラグインを読み込みます。" 835 836#: ../../rst/plugins/netconf.rst:17 837msgid "Adding netconf plugins" 838msgstr "netconf プラグインの追加" 839 840#: ../../rst/plugins/netconf.rst:19 841msgid "You can extend Ansible to support other network devices by dropping a custom plugin into the ``netconf_plugins`` directory." 842msgstr "``netconf_plugins`` ディレクトリーにカスタムのプラグインを置いて、Ansible が他のネットワークデバイスをサポートするように拡張できます。" 843 844#: ../../rst/plugins/netconf.rst:24 845msgid "Using netconf plugins" 846msgstr "netconf プラグインの使用" 847 848#: ../../rst/plugins/netconf.rst:26 849msgid "The netconf plugin to use is determined automatically from the ``ansible_network_os`` variable. There should be no reason to override this functionality." 850msgstr "使用する netconf プラグインは ``ansible_network_os`` 変数から自動的に決定されます。この機能を上書きする理由はありません。" 851 852#: ../../rst/plugins/netconf.rst:28 853msgid "Most netconf plugins can operate without configuration. A few have additional options that can be set to affect how tasks are translated into netconf commands. A ncclient device specific handler name can be set in the netconf plugin or else the value of ``default`` is used as per ncclient device handler." 854msgstr "ほとんどの netconf プラグインは設定せずに動作します。タスクがどのように netconf コマンドに変換されるかに影響を与えるように設定できる追加オプションがいくつかあります。ncclient デバイス固有のハンドラー名は netconf プラグインで設定するか、ncclient デバイスハンドラーごとに ``default`` の値を使用することができます。" 855 856#: ../../rst/plugins/netconf.rst:35 857msgid "Listing netconf plugins" 858msgstr "netconf プラグインの一覧表示" 859 860#: ../../rst/plugins/netconf.rst:37 861msgid "These plugins have migrated to collections on `Ansible Galaxy <https://galaxy.ansible.com>`_. If you installed Ansible version 2.10 or later using ``pip``, you have access to several netconf plugins. To list all available netconf plugins on your control node, type ``ansible-doc -t netconf -l``. To view plugin-specific documentation and examples, use ``ansible-doc -t netconf``." 862msgstr "これらのプラグインは `Ansible Galaxy <https://galaxy.ansible.com>`_ のコレクションに移行しました。``pip`` を使用して Ansible バージョン 2.10 以降をインストールしている場合は、複数の netconf プラグインにアクセスできます。コントロールノードで利用可能な netconf プラグインの一覧を表示するには、``ansible-doc -t netconf -l`` と入力します。プラグイン固有のドキュメントと例を確認するには、``ansible-doc -t netconf`` を使用します。" 863 864#: ../../rst/plugins/plugins.rst:5 865msgid "Working With Plugins" 866msgstr "プラグインの使用" 867 868#: ../../rst/plugins/plugins.rst:7 869msgid "Plugins are pieces of code that augment Ansible's core functionality. Ansible uses a plugin architecture to enable a rich, flexible and expandable feature set." 870msgstr "プラグインは、Ansible のコア機能を拡張するコードの一部です。Ansible はプラグインアーキテクチャーを使用して、豊富で柔軟な拡張性のある機能セットを実現しています。" 871 872#: ../../rst/plugins/plugins.rst:9 873msgid "Ansible ships with a number of handy plugins, and you can easily write your own." 874msgstr "Ansible には、便利なプラグインが多数同梱されています。また、簡単に独自のプラグインを作成することもできます。" 875 876#: ../../rst/plugins/plugins.rst:11 877msgid "This section covers the various types of plugins that are included with Ansible:" 878msgstr "本セクションでは、Ansible に含まれるさまざまなプラグインを説明します。" 879 880#: ../../rst/plugins/plugins.rst:37 881msgid ":ref:`ansible_configuration_settings`" 882msgstr ":ref:`ansible_configuration_settings`" 883 884#: ../../rst/plugins/plugins.rst:38 885msgid "Ansible configuration documentation and settings" 886msgstr "Ansible 設定ドキュメントおよび設定" 887 888#: ../../rst/plugins/plugins.rst:39 889msgid ":ref:`command_line_tools`" 890msgstr ":ref:`command_line_tools`" 891 892#: ../../rst/plugins/plugins.rst:40 893msgid "Ansible tools, description and options" 894msgstr "Ansible ツール、説明、およびオプション" 895 896#: ../../rst/plugins/shell.rst:4 897msgid "Shell Plugins" 898msgstr "shell プラグイン" 899 900#: ../../rst/plugins/shell.rst:10 901msgid "Shell plugins work to ensure that the basic commands Ansible runs are properly formatted to work with the target machine and allow the user to configure certain behaviors related to how Ansible executes tasks." 902msgstr "shell プラグインは、Ansible が実行する基本的なコマンドが正しくフォーマットされ、ターゲットマシンと連携し、Ansible のタスク実行方法に関連する特定の動作を設定できるように機能します。" 903 904#: ../../rst/plugins/shell.rst:16 905msgid "Enabling shell plugins" 906msgstr "shell プラグインの有効化" 907 908#: ../../rst/plugins/shell.rst:18 909msgid "You can add a custom shell plugin by dropping it into a ``shell_plugins`` directory adjacent to your play, inside a role, or by putting it in one of the shell plugin directory sources configured in :ref:`ansible.cfg <ansible_configuration_settings>`." 910msgstr "カスタムの shell プラグインを追加するには、そのプラグインを、ロール内のプレイの隣りにある ``shell_plugins`` ディレクトリーに置くか、:ref:`ansible.cfg <ansible_configuration_settings>` で設定したディレクトリーソースの 1 つに置きます。" 911 912#: ../../rst/plugins/shell.rst:21 913msgid "You should not alter which plugin is used unless you have a setup in which the default ``/bin/sh`` is not a POSIX compatible shell or is not available for execution." 914msgstr "デフォルトの ``/bin/sh`` が POSIX に準拠していないシェルで、実行に利用できない場合以外は、使用するプラグインを変更するべきではありません。" 915 916#: ../../rst/plugins/shell.rst:27 917msgid "Using shell plugins" 918msgstr "shell プラグインの使用" 919 920#: ../../rst/plugins/shell.rst:29 921msgid "In addition to the default configuration settings in :ref:`ansible_configuration_settings`, you can use the connection variable :ref:`ansible_shell_type <ansible_shell_type>` to select the plugin to use. In this case, you will also want to update the :ref:`ansible_shell_executable <ansible_shell_executable>` to match." 922msgstr ":ref:`ansible_configuration_settings` のデフォルト設定に加えて、接続プロファイル :ref:`ansible_shell_type <ansible_shell_type>` を使用して、使用するプラグインを選択できます。この場合は、一致するように :ref:`ansible_shell_executable <ansible_shell_executable>` も更新します。" 923 924#: ../../rst/plugins/strategy.rst:4 925msgid "Strategy Plugins" 926msgstr "strategy プラグイン" 927 928#: ../../rst/plugins/strategy.rst:10 929msgid "Strategy plugins control the flow of play execution by handling task and host scheduling." 930msgstr "strategy プラグインは、タスクおよびホストスケジューリングを処理し、プレイ実行のフローを制御します。" 931 932#: ../../rst/plugins/strategy.rst:15 933msgid "Enabling strategy plugins" 934msgstr "strategy プラグインの有効化" 935 936#: ../../rst/plugins/strategy.rst:17 937msgid "All strategy plugins shipped with Ansible are enabled by default. You can enable a custom strategy plugin by putting it in one of the lookup directory sources configured in :ref:`ansible.cfg <ansible_configuration_settings>`." 938msgstr "Ansible に同梱されているすべての strategy プラグインは、デフォルトで有効になっています。カスタムの strategy プラグインを有効にするには、:ref:`ansible.cfg <ansible_configuration_settings>` で設定したルックアップディレクトリーソースの 1 つにそれを置きます。" 939 940#: ../../rst/plugins/strategy.rst:23 941msgid "Using strategy plugins" 942msgstr "strategy プラグインの使用" 943 944#: ../../rst/plugins/strategy.rst:25 945msgid "Only one strategy plugin can be used in a play, but you can use different ones for each play in a playbook or ansible run. The default is the :ref:`linear <linear_strategy>` plugin. You can change this default in Ansible :ref:`configuration <ansible_configuration_settings>` using an environment variable:" 946msgstr "プレイで使用できる strategy プラグインは 1 つだけですが、Playbook または ansible の実行でプレイごとに異なるプラグインを使用できます。デフォルトは :ref:`linear <linear_strategy>` プラグインです。環境変数を使用して、Ansible :ref:`configuration <ansible_configuration_settings>` でこのデフォルトを変更できます。" 947 948#: ../../rst/plugins/strategy.rst:32 949msgid "or in the `ansible.cfg` file:" 950msgstr "または `ansible.cfg` ファイルで、以下を行います。" 951 952#: ../../rst/plugins/strategy.rst:39 953msgid "You can also specify the strategy plugin in the play via the :ref:`strategy keyword <playbook_keywords>` in a play::" 954msgstr "プレイの :ref:`strategy キーワード <playbook_keywords>` を使用して、プレイの strategy プラグインを指定できます。" 955 956#: ../../rst/plugins/strategy.rst:58 957msgid "You can use ``ansible-doc -t strategy -l`` to see the list of available plugins. Use ``ansible-doc -t strategy <plugin name>`` to see plugin-specific specific documentation and examples." 958msgstr "``ansible-doc -t strategy -l`` を使用して、利用可能なプラグインの一覧を表示します。``ansible-doc -t strategy <plugin name>`` を使用して、プラグイン固有のドキュメントと例を参照してください。" 959 960#: ../../rst/plugins/vars.rst:4 961msgid "Vars Plugins" 962msgstr "vars プラグイン" 963 964#: ../../rst/plugins/vars.rst:10 965msgid "Vars plugins inject additional variable data into Ansible runs that did not come from an inventory source, playbook, or command line. Playbook constructs like 'host_vars' and 'group_vars' work using vars plugins." 966msgstr "vars プラグインは、インベントリーソース、Playbook、またはコマンドラインに組み込まれていない Ansible の実行に、変数データを追加します。「host_vars」や「group_vars」のような Playbook の構成要素は、vars プラグインを使用します。" 967 968#: ../../rst/plugins/vars.rst:12 969msgid "Vars plugins were partially implemented in Ansible 2.0 and rewritten to be fully implemented starting with Ansible 2.4." 970msgstr "vars プラグインは Ansible 2.0 に部分的に実装され、Ansible 2.4 以降では、完全実装になるように書き直されました。" 971 972#: ../../rst/plugins/vars.rst:14 973msgid "The :ref:`host_group_vars <host_group_vars_vars>` plugin shipped with Ansible enables reading variables from :ref:`host_variables` and :ref:`group_variables`." 974msgstr "Ansible に同梱される :ref:`host_group_vars <host_group_vars_vars>` プラグインは、:ref:`host_variables` および :ref:`group_variables` から変数の読み取りを可能にします。" 975 976#: ../../rst/plugins/vars.rst:20 977msgid "Enabling vars plugins" 978msgstr "vars プラグインの有効化" 979 980#: ../../rst/plugins/vars.rst:22 981msgid "You can activate a custom vars plugin by either dropping it into a ``vars_plugins`` directory adjacent to your play, inside a role, or by putting it in one of the directory sources configured in :ref:`ansible.cfg <ansible_configuration_settings>`." 982msgstr "カスタムの vars プラグインを有効にするには、カスタムのプラグインを、ロール内のプレイの隣りにある ``vars_plugins`` ディレクトリーに置くか、:ref:`ansible.cfg <ansible_configuration_settings>` で設定したディレクトリーソースの 1 つに置きます。" 983 984#: ../../rst/plugins/vars.rst:24 985msgid "Most vars plugins are disabled by default. To enable a vars plugin, set ``vars_plugins_enabled`` in the ``defaults`` section of :ref:`ansible.cfg <ansible_configuration_settings>` or set the ``ANSIBLE_VARS_ENABLED`` environment variable to the list of vars plugins you want to execute. By default, the :ref:`host_group_vars <host_group_vars_vars>` plugin shipped with Ansible is enabled." 986msgstr "ほとんどの vars プラグインはデフォルトで無効になっています。vars プラグインを有効にするには、:ref:`ansible.cfg <ansible_configuration_settings>` の ``defaults`` セクションで ``vars_plugins_enabled`` を設定するか、実行する vars プラグインの一覧に ``ANSIBLE_VARS_ENABLED`` 環境変数を設定します。デフォルトでは、Ansible に同梱される :ref:`host_group_vars <host_group_vars_vars>` プラグインが有効になっています。" 987 988#: ../../rst/plugins/vars.rst:26 989msgid "Starting in Ansible 2.10, you can use vars plugins in collections. All vars plugins in collections must be explicitly enabled and must use the fully qualified collection name in the format ``namespace.collection_name.vars_plugin_name``." 990msgstr "Ansible 2.10 以降では、コレクションで vars プラグインを使用できます。コレクションのすべての vars プラグインは明示的に有効で、``namespace.collection_name.vars_plugin_name`` 形式で完全修飾コレクション名を使用する必要があります。" 991 992#: ../../rst/plugins/vars.rst:36 993msgid "Using vars plugins" 994msgstr "vars プラグインの使用" 995 996#: ../../rst/plugins/vars.rst:38 997msgid "By default, vars plugins are used on demand automatically after they are enabled." 998msgstr "デフォルトでは、vars プラグインは、有効になった後に自動的にオンデマンドで使用されます。" 999 1000#: ../../rst/plugins/vars.rst:40 1001msgid "Starting in Ansible 2.10, vars plugins can be made to run at specific times. `ansible-inventory` does not use these settings, and always loads vars plugins." 1002msgstr "Ansible 2.10 以降、vars プラグインは特定のタイミングで実行できます。`ansible-inventory` はこれらの設定を使用せず、常に vars プラグインを読み込みます。" 1003 1004#: ../../rst/plugins/vars.rst:42 1005msgid "The global setting ``RUN_VARS_PLUGINS`` can be set in ``ansible.cfg`` using ``run_vars_plugins`` in the ``defaults`` section or by the ``ANSIBLE_RUN_VARS_PLUGINS`` environment variable. The default option, ``demand``, runs any enabled vars plugins relative to inventory sources whenever variables are demanded by tasks. You can use the option ``start`` to run any enabled vars plugins relative to inventory sources after importing that inventory source instead." 1006msgstr "グローバル設定 ``RUN_VARS_PLUGINS`` は、``defaults`` セクションの ``run_vars_plugins`` を使用して、または ``ANSIBLE_RUN_VARS_PLUGINS`` 環境変数により、``ansible.cfg``に設定できます。デフォルトのオプションである ``demand`` は、タスクで変数が必要となった場合には必ず、インベントリーソースに対して有効なVars プラグインを実行します。代わりに、インベントリーソースをインポートした後に、``start`` オプションを使用して、インベントリーソースと相対的な位置にある、有効化された Vars プラグインを実行できます。" 1007 1008#: ../../rst/plugins/vars.rst:44 1009msgid "You can also control vars plugin execution on a per-plugin basis for vars plugins that support the ``stage`` option. To run the :ref:`host_group_vars <host_group_vars_vars>` plugin after importing inventory you can add the following to :ref:`ansible.cfg <ansible_configuration_settings>`:" 1010msgstr "また、``stage`` オプションをサポートする vars プラグインの場合は、プラグインごとに vars プラグインの実行を制御することもできます。インベントリーのインポート後に :ref:`host_group_vars <host_group_vars_vars>` プラグインを実行するには、以下を :ref:`ansible.cfg <ansible_configuration_settings>` に追加します:" 1011 1012#: ../../rst/plugins/vars.rst:54 1013msgid "Plugin Lists" 1014msgstr "プラグイン一覧" 1015 1016#: ../../rst/plugins/vars.rst:56 1017msgid "You can use ``ansible-doc -t vars -l`` to see the list of available plugins. Use ``ansible-doc -t vars <plugin name>`` to see specific plugin-specific documentation and examples." 1018msgstr "``ansible-doc -t vars -l`` を使用して、利用可能なプラグインの一覧を表示します。``ansible-doc -t vars <plugin name>`` を使用して、プラグイン固有のドキュメントと例を参照してください。" 1019 1020#~ msgid "`irc.freenode.net <http://irc.freenode.net>`_" 1021#~ msgstr "`irc.freenode.net <http://irc.freenode.net>`_" 1022 1023#~ msgid "`webchat.freenode.net <https://webchat.freenode.net>`_" 1024#~ msgstr "`webchat.freenode.net <https://webchat.freenode.net>`_" 1025 1026