naming
This commit is contained in:
@@ -19,13 +19,13 @@
|
|||||||
- name: server | telegraf | download key
|
- name: server | telegraf | download key
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: "https://repos.influxdata.com/influxdata-archive.key"
|
url: "https://repos.influxdata.com/influxdata-archive.key"
|
||||||
dest: "/tmp/influxdb.key"
|
dest: "/tmp/influxdate.key"
|
||||||
creates: "/tmp/influxdb.key"
|
creates: "/tmp/influxdata.key"
|
||||||
|
|
||||||
- name: server | telegraf | verify and import key
|
- name: server | telegraf | verify and import key
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: "gpg --show-keys --with-fingerprint --with-colons /tmp/influxdata.key 2>&1 | grep -q '^fpr:\\+9D539D90D3328DC7D6C8D3B9D8FF8E1F7DF8B07E:$' && cat /tmp/influxdata-archive.key | gpg --dearmor | tee /etc/apt/keyrings/influxdata-archive.gpg > /dev/null"
|
cmd: "gpg --show-keys --with-fingerprint --with-colons /tmp/influxdata.key 2>&1 | grep -q '^fpr:\\+9D539D90D3328DC7D6C8D3B9D8FF8E1F7DF8B07E:$' && cat /tmp/influxdata.key | gpg --dearmor | tee /etc/apt/keyrings/influxdata.gpg > /dev/null"
|
||||||
creates: "/etc/apt/trusted.gpg.d/influxdata-archive.gpg"
|
creates: "/etc/apt/trusted.gpg.d/influxdata.gpg"
|
||||||
|
|
||||||
- name: server | telegraf | add repository
|
- name: server | telegraf | add repository
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
|
|||||||
Reference in New Issue
Block a user