diff --git a/ansible/action_plugins/merge_configs.py b/ansible/action_plugins/merge_configs.py
index 556f6233fa2a025d72f071d5b21b8bb22eb59587..266bc353ec53bed1204ad52949fb0652baabef52 100644
--- a/ansible/action_plugins/merge_configs.py
+++ b/ansible/action_plugins/merge_configs.py
@@ -15,9 +15,9 @@
 # limitations under the License.
 
 from ConfigParser import ConfigParser
-from cStringIO import StringIO
 import inspect
 import os
+from six import StringIO
 
 from ansible.plugins.action import ActionBase