Skip to content

Commit

Permalink
Fixed path names in introduction section
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
  • Loading branch information
andy-maier authored and sabyadi committed Nov 13, 2020
1 parent 24b361b commit a05b164
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions docs/intro.html
Expand Up @@ -268,8 +268,8 @@ <h3>Standard installation with system Python<a class="headerlink" href="#standar
</pre></div>
</div>
<p>This will install the collection to your local Ansible collections tree,
which is by default <code class="docutils literal notranslate"><span class="pre">$HOME/.ansible/collections</span></code>. It does not install
any dependent Python packages.</p>
which is by default <code class="docutils literal notranslate"><span class="pre">$HOME/.ansible/collections/ansible_collections</span></code>.
It does not install any dependent Python packages.</p>
</li>
<li><p>Install the dependent Python packages into your system Python:</p>
<p>Double check where the ibm.zhmc Ansible Galaxy collection got installed:</p>
Expand Down Expand Up @@ -347,8 +347,8 @@ <h3>Alternative installation with virtual Python environment<a class="headerlink
</pre></div>
</div>
<p>This will install the collection to your local Ansible collections tree,
which is by default <code class="docutils literal notranslate"><span class="pre">$HOME/.ansible/collections</span></code>. It does not install
any dependent Python packages.</p>
which is by default <code class="docutils literal notranslate"><span class="pre">$HOME/.ansible/collections/ansible_collections</span></code>.
It does not install any dependent Python packages.</p>
</li>
<li><p>Install the dependent Python packages into the active Python:</p>
<p>Double check where the ibm.zhmc Ansible Galaxy collection got installed:</p>
Expand All @@ -375,7 +375,7 @@ <h3>Verification of the installation<a class="headerlink" href="#verification-of
<p>You can verify that the ibm.zhmc Ansible Galaxy collection and its dependent
Python packages are installed correctly by running an example playbook in
check mode:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ ansible-playbook playbooks/create_partition.yml --check
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ ansible-playbook <span class="nv">$anco_dir</span>/ibm/zhmc/playbooks/create_partition.yml --check

PLAY <span class="o">[</span>localhost<span class="o">]</span> ***********************************************************

Expand Down Expand Up @@ -425,7 +425,7 @@ <h3>Verification of the installation<a class="headerlink" href="#verification-of
<code class="docutils literal notranslate"><span class="pre">vault_example.yml</span></code>, changing the variables to your needs.</p></li>
</ul>
<p>Then, run the playbooks:</p>
<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>$ ansible-playbook create_partition.yml
<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>$ ansible-playbook $anco_dir/ibm/zhmc/playbooks/create_partition.yml

PLAY [localhost] **********************************************************

Expand All @@ -450,7 +450,7 @@ <h3>Verification of the installation<a class="headerlink" href="#verification-of
PLAY RECAP ****************************************************************
127.0.0.1 : ok=6 changed=5 unreachable=0 failed=0

$ ansible-playbook delete_partition.yml
$ ansible-playbook $anco_dir/ibm/zhmc/playbooks/delete_partition.yml

PLAY [localhost] **********************************************************

Expand Down
14 changes: 7 additions & 7 deletions docs_source/intro.rst
Expand Up @@ -156,8 +156,8 @@ control system. The instructions are written for a bash shell.
$ ansible-galaxy collection install ibm.zhmc
This will install the collection to your local Ansible collections tree,
which is by default ``$HOME/.ansible/collections``. It does not install
any dependent Python packages.
which is by default ``$HOME/.ansible/collections/ansible_collections``.
It does not install any dependent Python packages.

3. Install the dependent Python packages into your system Python:

Expand Down Expand Up @@ -253,8 +253,8 @@ control system. The instructions are written for a bash shell.
$ ansible-galaxy collection install ibm.zhmc
This will install the collection to your local Ansible collections tree,
which is by default ``$HOME/.ansible/collections``. It does not install
any dependent Python packages.
which is by default ``$HOME/.ansible/collections/ansible_collections``.
It does not install any dependent Python packages.
6. Install the dependent Python packages into the active Python:
Expand Down Expand Up @@ -288,7 +288,7 @@ check mode:
.. code-block:: bash
$ ansible-playbook playbooks/create_partition.yml --check
$ ansible-playbook $anco_dir/ibm/zhmc/playbooks/create_partition.yml --check
PLAY [localhost] ***********************************************************
Expand Down Expand Up @@ -344,7 +344,7 @@ Then, run the playbooks:
.. code-block:: text
$ ansible-playbook create_partition.yml
$ ansible-playbook $anco_dir/ibm/zhmc/playbooks/create_partition.yml
PLAY [localhost] **********************************************************
Expand All @@ -369,7 +369,7 @@ Then, run the playbooks:
PLAY RECAP ****************************************************************
127.0.0.1 : ok=6 changed=5 unreachable=0 failed=0
$ ansible-playbook delete_partition.yml
$ ansible-playbook $anco_dir/ibm/zhmc/playbooks/delete_partition.yml
PLAY [localhost] **********************************************************
Expand Down

0 comments on commit a05b164

Please sign in to comment.