Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update apt key #12

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Update apt key #12

wants to merge 7 commits into from

Conversation

vzamko
Copy link
Member

@vzamko vzamko commented Feb 22, 2023

- name: "Install apt key"
copy:
content: "{{ gpg_output.stdout }}"
dest: /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need set owner, group and permission

- name: "Download apt key"
get_url:
url: https://repos.influxdata.com/influxdata-archive_compat.key
dest: /tmp/influxdata-archive_compat.key
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need set owner, group and permissions

register: gpg_output

- name: "Install apt key"
copy:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
copy:
ansible.builtin.copy:

state: present
block:
- name: "Download apt key"
get_url:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
get_url:
ansible.builtin.get_url:

@dkoltovich
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants