<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.squi.fr/index.php?action=history&amp;feed=atom&amp;title=Ansible_%3A_sous-commandes</id>
	<title>Ansible : sous-commandes - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.squi.fr/index.php?action=history&amp;feed=atom&amp;title=Ansible_%3A_sous-commandes"/>
	<link rel="alternate" type="text/html" href="https://wiki.squi.fr/index.php?title=Ansible_:_sous-commandes&amp;action=history"/>
	<updated>2026-04-28T17:06:36Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.squi.fr/index.php?title=Ansible_:_sous-commandes&amp;diff=2068&amp;oldid=prev</id>
		<title>Justine le 22 juin 2022 à 10:05</title>
		<link rel="alternate" type="text/html" href="https://wiki.squi.fr/index.php?title=Ansible_:_sous-commandes&amp;diff=2068&amp;oldid=prev"/>
		<updated>2022-06-22T10:05:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 22 juin 2022 à 10:05&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Ansible]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Ansible-doc =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Ansible-doc =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ansible-doc permet d&amp;#039;avoir de la documentation sur un module directement en ligne de commande :  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ansible-doc permet d&amp;#039;avoir de la documentation sur un module directement en ligne de commande :  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki-mediawiki:diff:1.41:old-1571:rev-2068:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Justine</name></author>
	</entry>
	<entry>
		<id>https://wiki.squi.fr/index.php?title=Ansible_:_sous-commandes&amp;diff=1571&amp;oldid=prev</id>
		<title>Justine : Page créée avec « = Ansible-doc = Ansible-doc permet d&#039;avoir de la documentation sur un module directement en ligne de commande :   &lt;source lang=&quot;zsh&quot;&gt; ~/Sandbox ansible-doc template  #Donn... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.squi.fr/index.php?title=Ansible_:_sous-commandes&amp;diff=1571&amp;oldid=prev"/>
		<updated>2020-10-02T12:16:28Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « = Ansible-doc = Ansible-doc permet d&amp;#039;avoir de la documentation sur un module directement en ligne de commande :   &amp;lt;source lang=&amp;quot;zsh&amp;quot;&amp;gt; ~/Sandbox ansible-doc template  #Donn... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Ansible-doc =&lt;br /&gt;
Ansible-doc permet d&amp;#039;avoir de la documentation sur un module directement en ligne de commande : &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;zsh&amp;quot;&amp;gt;&lt;br /&gt;
~/Sandbox ansible-doc template &lt;br /&gt;
#Donne&lt;br /&gt;
&amp;gt; TEMPLATE    (/usr/lib/python2.7/dist-packages/ansible/modules/files/template.py)&lt;br /&gt;
&lt;br /&gt;
        Templates are processed by the L(Jinja2 templating&lt;br /&gt;
        language,http://jinja.pocoo.org/docs/). Documentation on the template&lt;br /&gt;
        formatting can be found in the L(Template Designer&lt;br /&gt;
        Documentation,http://jinja.pocoo.org/docs/templates/). Additional variables&lt;br /&gt;
[...]&lt;br /&gt;
- attributes&lt;br /&gt;
        The attributes the resulting file or directory should have.&lt;br /&gt;
        To get supported flags look ...&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Ansible-config =&lt;br /&gt;
La commande ansible-config sert à voir la config d&amp;#039;Ansible, tout simplement&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;zsh&amp;quot;&amp;gt;&lt;br /&gt;
~/Sandbox ansible-config -h&lt;br /&gt;
usage: ansible-config [-h] [--version] [-v] {list,dump,view} ...&lt;br /&gt;
&lt;br /&gt;
View ansible configuration.&lt;br /&gt;
&lt;br /&gt;
positional arguments:&lt;br /&gt;
  {list,dump,view}&lt;br /&gt;
    list            Print all config options&lt;br /&gt;
    dump            Dump configuration&lt;br /&gt;
    view            View configuration file&lt;br /&gt;
&lt;br /&gt;
optional arguments:&lt;br /&gt;
  --version         show program&amp;#039;s version number, config file location,&lt;br /&gt;
                    configured module search path, module location, executable&lt;br /&gt;
                    location and exit&lt;br /&gt;
  -h, --help        show this help message and exit&lt;br /&gt;
  -v, --verbose     verbose mode (-vvv for more, -vvvv to enable connection&lt;br /&gt;
                    debugging)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Ansible-inventory =&lt;br /&gt;
&lt;br /&gt;
Utilisé pour voir / dumper l&amp;#039;inventaire au niveau &amp;quot;système&amp;quot; qu&amp;#039;Ansible voit&lt;br /&gt;
&amp;lt;source lang=&amp;quot;zsh&amp;quot;&amp;gt;&lt;br /&gt;
~/Sandbox ansible-inventory &lt;br /&gt;
usage: ansible-inventory [-h] [--version] [-v] [-i INVENTORY]&lt;br /&gt;
                         [--vault-id VAULT_IDS]&lt;br /&gt;
                         [--ask-vault-pass | --vault-password-file VAULT_PASSWORD_FILES]&lt;br /&gt;
                         [--playbook-dir BASEDIR] [--list] [--host HOST]&lt;br /&gt;
                         [--graph] [-y] [--toml] [--vars] [--export]&lt;br /&gt;
                         [--output OUTPUT_FILE]&lt;br /&gt;
                         [host|group]&lt;br /&gt;
&lt;br /&gt;
positional arguments:&lt;br /&gt;
  host|group&lt;br /&gt;
&lt;br /&gt;
optional arguments:&lt;br /&gt;
  --ask-vault-pass      ask for vault password&lt;br /&gt;
  --export              When doing an --list, represent in a way that is&lt;br /&gt;
                        optimized for export,not as an accurate representation&lt;br /&gt;
                        of how Ansible has processed it&lt;br /&gt;
  --output OUTPUT_FILE  When doing --list, send the inventory to a file&lt;br /&gt;
                        instead of to the screen&lt;br /&gt;
  --playbook-dir BASEDIR&lt;br /&gt;
                        Since this tool does not use playbooks, use this as a&lt;br /&gt;
                        substitute playbook directory.This sets the relative&lt;br /&gt;
                        path for many features including roles/ group_vars/&lt;br /&gt;
                        etc.&lt;br /&gt;
  --toml                Use TOML format instead of default JSON, ignored for&lt;br /&gt;
                        --graph&lt;br /&gt;
  --vars                Add vars to graph display, ignored unless used with&lt;br /&gt;
                        --graph&lt;br /&gt;
  --vault-id VAULT_IDS  the vault identity to use&lt;br /&gt;
  --vault-password-file VAULT_PASSWORD_FILES&lt;br /&gt;
                        vault password file&lt;br /&gt;
  --version             show program&amp;#039;s version number, config file location,&lt;br /&gt;
                        configured module search path, module location,&lt;br /&gt;
                        executable location and exit&lt;br /&gt;
  -h, --help            show this help message and exit&lt;br /&gt;
  -i INVENTORY, --inventory INVENTORY, --inventory-file INVENTORY&lt;br /&gt;
                        specify inventory host path or comma separated host&lt;br /&gt;
                        list. --inventory-file is deprecated&lt;br /&gt;
  -v, --verbose         verbose mode (-vvv for more, -vvvv to enable&lt;br /&gt;
                        connection debugging)&lt;br /&gt;
  -y, --yaml            Use YAML format instead of default JSON, ignored for&lt;br /&gt;
                        --graph&lt;br /&gt;
&lt;br /&gt;
Actions:&lt;br /&gt;
  One of following must be used on invocation, ONLY ONE!&lt;br /&gt;
&lt;br /&gt;
  --graph               create inventory graph, if supplying pattern it must&lt;br /&gt;
                        be a valid group name&lt;br /&gt;
  --host HOST           Output specific host info, works as inventory script&lt;br /&gt;
  --list                Output all hosts info, works as inventory script&lt;br /&gt;
&lt;br /&gt;
Show Ansible inventory information, by default it uses the inventory script&lt;br /&gt;
JSON format&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Ansible-console =&lt;br /&gt;
&lt;br /&gt;
Une ligne de commande pour exécuter des tâches Ad-Hoc.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;zsh&amp;quot;&amp;gt;&lt;br /&gt;
usage: ansible-console [-h] [--version] [-v] [-b]&lt;br /&gt;
                    [--become-method BECOME_METHOD]&lt;br /&gt;
                    [--become-user BECOME_USER] [-K] [-i INVENTORY]&lt;br /&gt;
                    [--list-hosts] [-l SUBSET] [-k]&lt;br /&gt;
                    [--private-key PRIVATE_KEY_FILE] [-u REMOTE_USER]&lt;br /&gt;
                    [-c CONNECTION] [-T TIMEOUT]&lt;br /&gt;
                    [--ssh-common-args SSH_COMMON_ARGS]&lt;br /&gt;
                    [--sftp-extra-args SFTP_EXTRA_ARGS]&lt;br /&gt;
                    [--scp-extra-args SCP_EXTRA_ARGS]&lt;br /&gt;
                    [--ssh-extra-args SSH_EXTRA_ARGS] [-C] [--syntax-check]&lt;br /&gt;
                    [-D] [--vault-id VAULT_IDS]&lt;br /&gt;
                    [--ask-vault-password | --vault-password-file VAULT_PASSWORD_FILES]&lt;br /&gt;
                    [-f FORKS] [-M MODULE_PATH] [--playbook-dir BASEDIR]&lt;br /&gt;
                    [--step]&lt;br /&gt;
                    [pattern]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Justine</name></author>
	</entry>
</feed>