mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-19 02:11:32 +00:00
Fix Ansible documentation in part of example formatting. Part 1 (#332)
* Fix Ansible documentation in part of example formatting * Fix
This commit is contained in:
parent
983d937b7b
commit
328319b926
70 changed files with 762 additions and 705 deletions
|
|
@ -123,8 +123,8 @@ ifaces:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# Set eth1 mtu configuration value to 8000
|
||||
- interfaces_file:
|
||||
- name: Set eth1 mtu configuration value to 8000
|
||||
interfaces_file:
|
||||
dest: /etc/network/interfaces.d/eth1.cfg
|
||||
iface: eth1
|
||||
option: mtu
|
||||
|
|
|
|||
|
|
@ -65,21 +65,21 @@ author:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# Modify the default user on the system to the guest_u user
|
||||
- selogin:
|
||||
- name: Modify the default user on the system to the guest_u user
|
||||
selogin:
|
||||
login: __default__
|
||||
seuser: guest_u
|
||||
state: present
|
||||
|
||||
# Assign gijoe user on an MLS machine a range and to the staff_u user
|
||||
- selogin:
|
||||
- name: Assign gijoe user on an MLS machine a range and to the staff_u user
|
||||
selogin:
|
||||
login: gijoe
|
||||
seuser: staff_u
|
||||
serange: SystemLow-Secret
|
||||
state: present
|
||||
|
||||
# Assign all users in the engineering group to the staff_u user
|
||||
- selogin:
|
||||
- name: Assign all users in the engineering group to the staff_u user
|
||||
selogin:
|
||||
login: '%engineering'
|
||||
seuser: staff_u
|
||||
state: present
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue