fix: influxdb connection issue
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
.*.swp
|
||||
*.retry
|
||||
vars_auth.yml
|
||||
|
7
play.yml
7
play.yml
@@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: all
|
||||
vars_files: ['vars-auth.yml']
|
||||
tasks:
|
||||
- name: "install epel repo" # for htop etc.
|
||||
yum:
|
||||
@@ -11,6 +12,12 @@
|
||||
name: [ vim-enhanced, htop, screen, bind-utils, nmap-ncat, net-tools ]
|
||||
state: present
|
||||
|
||||
- name: "install ssh-key"
|
||||
authorized_key:
|
||||
user: thoto
|
||||
key: "{{ssh_key}}"
|
||||
state: present
|
||||
|
||||
- hosts: htcondor
|
||||
pre_tasks:
|
||||
- name: "install htcondor repo"
|
||||
|
@@ -36,7 +36,8 @@
|
||||
- add_host:
|
||||
name: ed-influxdb-2
|
||||
ansible_connection: docker
|
||||
ansible_docker_extra_args: "-H=ssh://ed-c7-1.virt.magni.thoto.net" # FIXME
|
||||
# ansible_docker_extra_args: "-H=ssh://ed-c7-1.virt.magni.thoto.net" # FIXME
|
||||
ansible_docker_extra_args: "-H=ssh://{{ansible_host}}" # FIXME
|
||||
changed_when: False
|
||||
|
||||
- wait_for: # FIXME: does not work right -> fetch token fails
|
||||
|
Reference in New Issue
Block a user