From 2cb237acef14b6fa1f9e6b81687c82beb3fc61f3 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 27 Aug 2018 16:29:54 -0700 Subject: [PATCH] write-inventory: add ansible_python_interpreter variable This is also a variable which may be important to copy over to a new inventory in order for ansible to function correctly. Change-Id: I7f4f1b2c631a4a02c258c9f518cd19511fa118da --- roles/write-inventory/library/write_inventory.py | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/write-inventory/library/write_inventory.py b/roles/write-inventory/library/write_inventory.py index 0cb966271..0707a6496 100755 --- a/roles/write-inventory/library/write_inventory.py +++ b/roles/write-inventory/library/write_inventory.py @@ -20,6 +20,7 @@ from ansible.module_utils.basic import AnsibleModule # The list of variables we might include VARS = [ + 'ansible_python_interpreter', 'ansible_connection', 'ansible_host', 'ansible_port',