Skip to content

regexp error blocking make local #4

Description

@alecbw

Getting a linting? error that blocks the make local

in /postgres/tasks/enable-remote-access.yaml

Stack trace


[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the
implicit localhost does not match 'all'
ERROR! Syntax Error while loading YAML.
  found unknown escape character

The error appears to be in '/Users/Alec/Documents/Coding/Actual_Programs/de-devtools/playbooks/roles/postgres/tasks/enable-remote-access.yaml': line 5, column 35, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

    path: /etc/postgresql/10/main/postgresql.conf
    regexp: "^#listen_addresses = \'localhost\'.*$"
                                  ^ here

The above was not in a container, but it was in a pipenv.
MBP Mid 2014
ansible 2.9.6
Python 3.7.7

the previous build/run workflow (below) still works just fine.

docker build -t de-devtools .
docker run --rm -it de-devtools /bin/bash

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions