File tree Expand file tree Collapse file tree
templates/etc/yum.repos.d Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11- block :
22
33 # https://docs.influxdata.com/influxdb/v1.8/introduction/install/
4- - name : ' curl https://repos.influxdata.com/influxdata-archive_compat .key --output /tmp/ansible.influxdata-archive_compat .key'
4+ - name : ' curl https://repos.influxdata.com/influxdata-archive .key --output /tmp/ansible.influxdata-archive .key'
55 ansible.builtin.get_url :
6- url : ' https://repos.influxdata.com/influxdata-archive_compat .key'
7- dest : ' /tmp/ansible.influxdata-archive_compat .key'
6+ url : ' https://repos.influxdata.com/influxdata-archive .key'
7+ dest : ' /tmp/ansible.influxdata-archive .key'
88 mode : 0o644
99 delegate_to : ' localhost'
1010 run_once : true
1111 changed_when : false # not an actual config change on the server
1212 check_mode : false # run task even if `--check` is specified
1313
14- - name : ' copy /tmp/ansible.influxdata-archive_compat .key to remote host'
14+ - name : ' copy /tmp/ansible.influxdata-archive .key to remote host'
1515 ansible.builtin.copy :
16- src : ' /tmp/ansible.influxdata-archive_compat .key'
17- dest : ' /etc/apt/keyrings/influxdata-archive_compat .asc' # use asc for ASCII-armored keys
16+ src : ' /tmp/ansible.influxdata-archive .key'
17+ dest : ' /etc/apt/keyrings/influxdata-archive .asc' # use asc for ASCII-armored keys
1818 owner : ' root'
1919 group : ' root'
2020 mode : 0o644
Original file line number Diff line number Diff line change 11- block :
22
3- - name : ' curl https://repos.influxdata.com/influxdata-archive_compat .key --output /tmp/ansible.influxdata-archive_compat .key'
3+ - name : ' curl https://repos.influxdata.com/influxdata-archive .key --output /tmp/ansible.influxdata-archive .key'
44 ansible.builtin.get_url :
5- url : ' https://repos.influxdata.com/influxdata-archive_compat .key'
6- dest : ' /tmp/ansible.influxdata-archive_compat .key'
5+ url : ' https://repos.influxdata.com/influxdata-archive .key'
6+ dest : ' /tmp/ansible.influxdata-archive .key'
77 delegate_to : ' localhost'
88 run_once : true
99 changed_when : false # not an actual config change on the server
1010 check_mode : false # run task even if `--check` is specified
1111
12- - name : ' copy /tmp/ansible.influxdata-archive_compat .key to /etc/pki/rpm-gpg/influxdata-archive_compat .key'
12+ - name : ' copy /tmp/ansible.influxdata-archive .key to /etc/pki/rpm-gpg/influxdata-archive .key'
1313 ansible.builtin.copy :
14- src : ' /tmp/ansible.influxdata-archive_compat .key'
15- dest : ' /etc/pki/rpm-gpg/influxdata-archive_compat .key'
14+ src : ' /tmp/ansible.influxdata-archive .key'
15+ dest : ' /etc/pki/rpm-gpg/influxdata-archive .key'
1616
1717 - name : ' deploy the InfluxDB repo files (mirror: {{ repo_influxdb__mirror_url | default("") }})'
1818 ansible.builtin.template :
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ baseurl = https://repos.influxdata.com/rhel/$releasever/$basearch/stable
1010{% endif %}
1111enabled = 1
1212gpgcheck = 1
13- gpgkey = file:///etc/pki/rpm-gpg/influxdata-archive_compat .key
13+ gpgkey = file:///etc/pki/rpm-gpg/influxdata-archive .key
1414{% if repo_influxdb__basic_auth_login is defined and repo_influxdb__basic_auth_login | length %}
1515username={{ repo_influxdb__basic_auth_login["username"] }}
1616password={{ repo_influxdb__basic_auth_login["password"] }}
You can’t perform that action at this time.
0 commit comments