Skip to content
This repository was archived by the owner on Mar 18, 2021. It is now read-only.
This repository was archived by the owner on Mar 18, 2021. It is now read-only.

Something with PostgreSQL when try to use this playbook #35

@polinom

Description

@polinom

Here is my first run and first issue. Not exactly sure what is going on.

$ ansible-playbook -i production sites.yml

PLAY [Provision db server] *****************************************************

TASK [setup] *******************************************************************
ok: [138.197.146.6]

TASK [ANXS.postgresql : include_vars] ******************************************
ok: [138.197.146.6] => (item=/usr/local/etc/ansible/roles/ANXS.postgresql/vars/../vars/Debian.yml)

TASK [ANXS.postgresql : PostgreSQL | Make sure the CA certificates are available] ***
ok: [138.197.146.6]

TASK [ANXS.postgresql : PostgreSQL | Add PostgreSQL repository apt-key] ********
changed: [138.197.146.6]

TASK [ANXS.postgresql : PostgreSQL | Add PostgreSQL repository] ****************
fatal: [138.197.146.6]: FAILED! => {"failed": true, "msg": "The conditional check 'postgresql_apt_repository' failed. The error was: expected token 'end of statement block', got 'http'\n  line 1\n\nThe error appears to have been in '/usr/local/etc/ansible/roles/ANXS.postgresql/tasks/install.yml': line 17, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: PostgreSQL | Add PostgreSQL repository\n  ^ here\n"}
	to retry, use: --limit @/Users/ipolynets/workspace/fundproj/sites.retry

PLAY RECAP *********************************************************************
138.197.146.6              : ok=4    changed=1    unreachable=0    failed=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions