Skip to content

Commit 1b49ded

Browse files
committed
linux: Remove a few more unnecessary Python arguments
Since fdaa511 ("Makefile: remove ansible_python_interpreter"), the explicit "-e" option when invoking ansible-playbook is no longer necessary -- the Python interpreter is specified globally via ansible.cfg. Signed-off-by: Chuck Lever <[email protected]>
1 parent 37e79d0 commit 1b49ded

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

workflows/fstests/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ fstests-config-debug: $(KDEVOPS_EXTRA_VARS)
191191
$(Q)ansible-playbook $(ANSIBLE_VERBOSE) --connection=local \
192192
--inventory localhost, \
193193
playbooks/fstests.yml \
194-
-e 'ansible_python_interpreter=/usr/bin/python3' \
195194
-e 'fstests_debug_localhost=True' \
196195
--tags vars,generate-fstests-config \
197196
--extra-vars=@./extra_vars.yaml

workflows/linux/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ PHONY += linux
9292
linux: $(KDEVOPS_NODES)
9393
$(Q)ansible-playbook $(ANSIBLE_VERBOSE) -i \
9494
'127.0.0.1,' $(KDEVOPS_PLAYBOOKS_DIR)/bootlinux-local.yml \
95-
-e 'ansible_python_interpreter=/usr/bin/python3' \
9695
--extra-vars="$(BOOTLINUX_ARGS)"
9796
$(Q)ansible-playbook $(ANSIBLE_VERBOSE) -i \
9897
$(KDEVOPS_HOSTFILE) $(KDEVOPS_PLAYBOOKS_DIR)/bootlinux.yml \
@@ -138,7 +137,6 @@ linux-clone-9p: $(KDEVOPS_NODES)
138137
$(Q)ansible-playbook $(ANSIBLE_VERBOSE) --connection=local \
139138
--inventory localhost, \
140139
$(KDEVOPS_PLAYBOOKS_DIR)/bootlinux.yml \
141-
-e 'ansible_python_interpreter=/usr/bin/python3' \
142140
--extra-vars="$(BOOTLINUX_ARGS)" \
143141
--tags vars,deps,clone
144142

0 commit comments

Comments
 (0)