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
|
||||
will need instead:
|
||||
|
||||
.. code-block:: shell
|
||||
.. code-block:: shell
|
||||
|
||||
cat > list-images.yml << EOF
|
||||
---
|
||||
- hosts: localhost
|
||||
gather_facts: true
|
||||
tasks:
|
||||
- name: Load image info
|
||||
include_role:
|
||||
name: /usr/share/ansible/stx-ansible/playbooks/roles/common/load-images-information
|
||||
cat > list-images.yml << EOF
|
||||
---
|
||||
- hosts: localhost
|
||||
gather_facts: true
|
||||
tasks:
|
||||
- name: Load image info
|
||||
include_role:
|
||||
name: /usr/share/ansible/stx-ansible/playbooks/roles/common/load-images-information
|
||||
|
||||
- name: Print image list
|
||||
debug:
|
||||
msg: "{{ (kubernetes_images + networking_images + static_images + storage_images + security_images) }}"
|
||||
EOF
|
||||
- name: Print image list
|
||||
debug:
|
||||
msg: "{{ (kubernetes_images + networking_images + static_images + storage_images + security_images) }}"
|
||||
EOF
|
||||
|
||||
Then, run the following to execute the Ansible Playbook:
|
||||
|
||||
.. code-block:: shell
|
||||
.. code-block:: shell
|
||||
|
||||
K8S_VERSION=<version>
|
||||
ansible-playbook list-images.yml -e "kubernetes_version=${K8S_VERSION}"
|
||||
K8S_VERSION=<version>
|
||||
ansible-playbook list-images.yml -e "kubernetes_version=${K8S_VERSION}"
|
||||
|
||||
You will find the Kubernetes version to assign to the `K8S_VERSION`
|
||||
variable on the aforementioned `Kubernetes versions`_ file.
|
||||
|
Loading…
x
Reference in New Issue
Block a user