Update chroot.py - better documentation (#7010)
* Update chroot.py Better informations about sudo and env. * Update plugins/connection/chroot.py --------- Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>pull/7103/head
parent
a0c67a8894
commit
7496466f9d
|
@ -49,8 +49,10 @@ DOCUMENTATION = '''
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = r"""
|
EXAMPLES = r"""
|
||||||
# Static inventory file
|
# Plugin requires root privileges for chroot, -E preserves your env (and location of ~/.ansible):
|
||||||
|
# sudo -E ansible-playbook ...
|
||||||
#
|
#
|
||||||
|
# Static inventory file
|
||||||
# [chroots]
|
# [chroots]
|
||||||
# /path/to/debootstrap
|
# /path/to/debootstrap
|
||||||
# /path/to/feboostrap
|
# /path/to/feboostrap
|
||||||
|
|
Loading…
Reference in New Issue