Fix formatting
Fix indentation error in rST layout. Change-Id: Ibe063118b59428ad015c9f82e08355ffc4a1992d Signed-off-by: Ron Stone <ronald.stone@windriver.com>
This commit is contained in:
parent
b8d3ae4f68
commit
2a51b58951
@ -128,28 +128,28 @@ up-to-date.
|
|||||||
following to create an Ansible Playbook to get the exact images you
|
following to create an Ansible Playbook to get the exact images you
|
||||||
will need instead:
|
will need instead:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
cat > list-images.yml << EOF
|
cat > list-images.yml << EOF
|
||||||
---
|
---
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: Load image info
|
- name: Load image info
|
||||||
include_role:
|
include_role:
|
||||||
name: /usr/share/ansible/stx-ansible/playbooks/roles/common/load-images-information
|
name: /usr/share/ansible/stx-ansible/playbooks/roles/common/load-images-information
|
||||||
|
|
||||||
- name: Print image list
|
- name: Print image list
|
||||||
debug:
|
debug:
|
||||||
msg: "{{ (kubernetes_images + networking_images + static_images + storage_images + security_images) }}"
|
msg: "{{ (kubernetes_images + networking_images + static_images + storage_images + security_images) }}"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
Then, run the following to execute the Ansible Playbook:
|
Then, run the following to execute the Ansible Playbook:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
K8S_VERSION=<version>
|
K8S_VERSION=<version>
|
||||||
ansible-playbook list-images.yml -e "kubernetes_version=${K8S_VERSION}"
|
ansible-playbook list-images.yml -e "kubernetes_version=${K8S_VERSION}"
|
||||||
|
|
||||||
You will find the Kubernetes version to assign to the `K8S_VERSION`
|
You will find the Kubernetes version to assign to the `K8S_VERSION`
|
||||||
variable on the aforementioned `Kubernetes versions`_ file.
|
variable on the aforementioned `Kubernetes versions`_ file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user