Skip to content

Update apt key#12

Open
vzamko wants to merge 7 commits intomainfrom
update_apt_key
Open

Update apt key#12
vzamko wants to merge 7 commits intomainfrom
update_apt_key

Conversation

@vzamko
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

3 participants