summaryrefslogtreecommitdiff
path: root/lib/ansible/cli
diff options
context:
space:
mode:
authorThomas Szymanski <develop@tszymanski.com>2017-01-11 19:24:37 +0100
committerBrian Coca <bcoca@users.noreply.github.com>2017-02-17 12:39:48 -0500
commitb8125ac1a61f2c7d1de821c78c884560071895f1 (patch)
tree81c9a89c0e7612f097508da9d400e5a85d7496cb /lib/ansible/cli
parent1fc721118181be2ba5fd93ad61e10db9fa5eb166 (diff)
downloadansible-b8125ac1a61f2c7d1de821c78c884560071895f1.tar.gz
Remove the --nspawn-extra-args cli option
Providing extra arguments to pass to systemd-nspawn is still possible through the `nspawn_connection` of the `ansible.cfg` file.
Diffstat (limited to 'lib/ansible/cli')
-rw-r--r--lib/ansible/cli/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ansible/cli/__init__.py b/lib/ansible/cli/__init__.py
index e5f1fc3d03..932093e2c8 100644
--- a/lib/ansible/cli/__init__.py
+++ b/lib/ansible/cli/__init__.py
@@ -355,8 +355,6 @@ class CLI(with_metaclass(ABCMeta, object)):
help="specify extra arguments to pass to scp only (e.g. -l)")
connect_group.add_option('--ssh-extra-args', default='', dest='ssh_extra_args',
help="specify extra arguments to pass to ssh only (e.g. -R)")
- connect_group.add_option('--nspawn-extra-args', default='', dest='nspawn_extra_args',
- help="specify extra arguments to pass to systemd-nspawn only (e.g. --bind)")
parser.add_option_group(connect_group)