mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 21:30:22 -07:00
Fix code-blocks to use correct syntax highlighting
This commit is contained in:
parent
01849004e9
commit
08d6990e67
20 changed files with 244 additions and 223 deletions
|
@ -160,15 +160,16 @@ EXAMPLES = r"""
|
|||
line: '192.168.1.99 foo.lab.net foo'
|
||||
|
||||
# Fully quoted because of the ': ' on the line. See the Gotchas in the YAML docs.
|
||||
- lineinfile: "
|
||||
- lineinfile:
|
||||
dest: /etc/sudoers
|
||||
state: present
|
||||
regexp: '^%wheel'
|
||||
regexp: '^%wheel\s'
|
||||
line: '%wheel ALL=(ALL) NOPASSWD: ALL'
|
||||
|
||||
# Yaml requires escaping backslashes in double quotes but not in single quotes
|
||||
- lineinfile:
|
||||
dest: /opt/jboss-as/bin/standalone.conf
|
||||
regexp: '^(.*)Xms(\d+)m(.*)$'
|
||||
regexp: "^(.*)Xms(\\d+)m(.*)$"
|
||||
line: '\1Xms${xms}m\3'
|
||||
backrefs: yes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue