-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: main
Are you sure you want to change the base?
Update apt key #12
Conversation
- name: "Install apt key" | ||
copy: | ||
content: "{{ gpg_output.stdout }}" | ||
dest: /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copy: | |
ansible.builtin.copy: |
state: present | ||
block: | ||
- name: "Download apt key" | ||
get_url: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get_url: | |
ansible.builtin.get_url: |
@vzamko try to use this approach |
Using new InfluxData key.
See: https://www.influxdata.com/blog/linux-package-signing-key-rotation/