Fixed typos

This commit is contained in:
Michele Cereda
2023-01-29 18:31:24 +01:00
parent 72bd560908
commit 9f8d1806cb
3 changed files with 5 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ ansible-playbook path/to/playbook.yml -i hosts.list
ansible-playbook path/to/playbook.yml -i host1,host2,hostn, -l hosts,list
ansible-playbook path/to/playbook.yml -i host1,host2,other, -l hosts-pattern
# Show what changes (with details) a play whould apply to the local machine.
# Show what changes (with details) a play would apply to the local machine.
ansible-playbook path/to/playbook.yml -i localhost, -c local -vvC
# Only execute tasks with specific tags.
@@ -173,7 +173,7 @@ Return a boolean result.
- variable1
- variableN
# Iterate thrugh nested loops.
# Iterate through nested loops.
- vars:
middles:
- 'middle1'
@@ -325,7 +325,7 @@ Add the `check_mode: false` pair to the task:
Add the `check_mode: true` pair to the task:
```yaml
- name: This task will always run under checkmode and not change the system
- name: This task will always run under check mode and not change the system
check_mode: true
ansible.builtin.lineinfile:
line: "important file"

View File

@@ -32,5 +32,5 @@ dd if=path/to/file.img of=/dev/drive_device status=progress
- [cheat.sh]
<!-- -->
<!-- external references -->
[cheat.sh]: https://cheat.sh/dd

View File

@@ -13,7 +13,7 @@ mktemp -d
# create an empty temporary file or directory with a random templated name
# the Xs must be put at the end of the filename
# the Xs specifies the templated parts and lenght in the file name
# the Xs specifies the templated parts and length in the file name
mktemp /tmp/filenameXXX
mktemp -d /tmp/dirname.XXX