Skip to content

public vs private ips when setting group_vars #787

@paolantoni

Description

@paolantoni

The script generate_deployment_config and the documentation on production file could be misunderstood.
To be secure by design, usually only the APP server is published to the internet but celery and postgres database should remain on a separate network behind APP.
The deployment config file asks for public ip of database and celery server when invoked.
This could suggest that the server will be directly be reached with a sort of reverse proxy and only running the ansible playbook there is evidence that in case of missing a public ip you should leave that field empty.
The public ip should be left blank if n/a while the private must allways exist.

This apply to inventory file generation.

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