mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Fixed typos
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user