Skip to content

Instantly share code, notes, and snippets.



Created Apr 4, 2017
What would you like to do?
- name: "unifi | configure service db.mongo.local"
dest: "/usr/lib/unifi/data/"
regexp: '^db\.mongo\.local='
line: "db.mongo.local={{ unifi_db_mongo_local }}"
insertbefore: BOF

This comment has been minimized.

Copy link
Owner Author

@tvon tvon commented Apr 4, 2017

% ansible-playbook -i hosts playbook.yaml
ERROR! Syntax Error while loading YAML.

The error appears to have been in '/home/tvon/src/ansible/ansible-unifi/tasks/main.yaml': line 6, column 17, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

    dest: "/usr/lib/unifi/data/"
    regexp: "^db\.mongo\.local="
                ^ here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment