diff --git a/library/mysql_status_facts b/library/mysql_status_facts index facd1733..f6458fa7 100644 --- a/library/mysql_status_facts +++ b/library/mysql_status_facts @@ -13,6 +13,13 @@ # See the License for the specific language governing permissions and # limitations under the License. + +import subprocess + +# import module snippets +from ansible.module_utils.basic import * + + DOCUMENTATION = """ --- module: mysql_status_facts @@ -28,8 +35,6 @@ EXAMPLES = """ mysql_status_facts: """ -import subprocess - class MysqlStatusFacts(object): def __init__(self, module): @@ -61,6 +66,5 @@ def main(): mysql_facts = MysqlStatusFacts(module) mysql_facts.gather_facts() -from ansible.module_utils.basic import * if __name__ == '__main__': main()