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