def read_cycle_server_property()

in playbooks/roles/cyclecloud/files/configure.py [0:0]


def read_cycle_server_property(property):
    file_path = cycle_root + "/config/cycle_server.properties"
    with open(file_path, 'r') as file:
        for line in file:
            if line.startswith(property):
                return line.split('=')[1].strip()