@@ -43,6 +43,10 @@ __licence__ = "GNU General Public License version 3 (GPL v3) or later"
 
 PATHSEP = ':'
 
+ConfigFileHeader = """\
+# Ansible configuration file generated by DebOps, all changes will be lost.
+# You can manipulate the contents of this file via `.debops.cfg`.
+"""
 
 def write_config(filename, config):
     cfgparser = ConfigParser.ConfigParser()
@@ -52,9 +56,7 @@ def write_config(filename, config):
             cfgparser.set(section, option, value)
 
     with open(filename, "w") as fh:
-        print("# Ansible configuration file generated by DebOps, "
-              "all changes will be lost", file=fh)
-        print(file=fh)
+        print(ConfigFileHeader, file=fh)
         cfgparser.write(fh)
 
 