Skip to content

Commit

Permalink
README.adoc: fix typos in update a machine section
Browse files Browse the repository at this point in the history
Fix typos in the section "Update a machine section", a dash was
missing for the extra vars option and it's not possible to give
extra vars two options at once, so we have to use it twice.

Signed-off-by: Benjamin Chedotel <[email protected]>
  • Loading branch information
bchedotel committed Mar 4, 2024
1 parent 6781101 commit 23adf25
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -329,16 +329,16 @@ Note: The swu image must be placed in the `swu_images` directory.

For the update of a machine in the cluster, call the playbook `playbooks/update_machine_cluster.yaml`

$ ansible-playbook -i inventories/cluster_inventory.yaml -e "machine_to_update=node1 swu_image=update.swu" playbooks/update_machine_cluster.yaml
$ ansible-playbook -i inventories/cluster_inventory.yaml -e "machine_to_update=node1" -e "swu_image=update.swu" playbooks/update_machine_cluster.yaml

Or if you use `cqfd`:

$ cqfd run ansible-playbook -i inventories/cluster_inventory.yaml -e "machine_to_update=node swu_image=update.swu" playbooks/update_machine_cluster.yaml
$ cqfd run ansible-playbook -i inventories/cluster_inventory.yaml -e "machine_to_update=node" -e "swu_image=update.swu" playbooks/update_machine_cluster.yaml

Otherwise, for the standalone, call the playbook `playbooks/update_machine_standalone.yaml`

$ ansible-playbook -i inventories/standalone_inventory.yaml e "machine_to_update=node1 swu_image=update.swu" playbooks/update_machine_standalone.yaml
$ ansible-playbook -i inventories/standalone_inventory.yaml -e "machine_to_update=node1" -e "swu_image=update.swu" playbooks/update_machine_standalone.yaml

Or if you use `cqfd`:

$ cqfd run ansible-playbook -i inventories/standalone_inventory.yaml e "machine_to_update=node swu_image=update.swu" playbooks/update_machine_standalone.yaml
$ cqfd run ansible-playbook -i inventories/standalone_inventory.yaml -e "machine_to_update=node" -e "swu_image=update.swu" playbooks/update_machine_standalone.yaml

0 comments on commit 23adf25

Please sign in to comment.