O'Reilly logo
  • Everett Toews thinks this is interesting:

file(args_file).read()

From

Cover of Learning Ansible 2 - Second Edition

Note

This file should be closed when you're done with it.

python with file(args_file) as f: args_data = f.read()