Skip to content

Feature req: set logentries_hostname even if already setup #23

Description

@seenickcode

Useful if folks want to change the hostname config var if re-deploying, no? Right now it only sets this when: result|failed and logentries_set_key is not defined

i.e. https://github.com/ricbra/ansible-logentries/blob/6b72f788f9e60ffaed9a3867664330b999bfd30e/tasks/main.yml

- name: Register host shell: "le register --force --name={{ logentries_hostname | default(ansible_fqdn) }} --hostname={{ logentries_hostname | default(ansible_fqdn) }} --yes --account-key={{ logentries_account_key }}" when: result|failed and logentries_set_key is not defined

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions