fix hosts
This commit is contained in:
parent
398adda930
commit
097d0621d6
@ -1,11 +1,14 @@
|
|||||||
vps ansible_connection=ssh ansible_host=51.222.107.37 ansible_port=2424 ansible_user=valentin
|
vps-host ansible_connection=ssh ansible_host=51.222.107.37 ansible_port=2424 ansible_user=valentin
|
||||||
valentin-nas ansible_connection=ssh ansible_host=151.80.37.38 ansible_port=2424 ansible_user=valentin
|
valentin-nas ansible_connection=ssh ansible_host=151.80.37.38 ansible_port=2424 ansible_user=valentin
|
||||||
drone-host ansible_connection=ssh ansible_host=151.80.37.38 ansible_port=2424 ansible_user=valentin
|
drone-host ansible_connection=ssh ansible_host=151.80.37.38 ansible_port=2424 ansible_user=valentin
|
||||||
localhost ansible_host=127.0.0.1
|
localhost ansible_host=127.0.0.1
|
||||||
|
|
||||||
[db]
|
[vps]
|
||||||
|
vps-host
|
||||||
|
|
||||||
|
[db:children]
|
||||||
|
local
|
||||||
vps
|
vps
|
||||||
localhost
|
|
||||||
|
|
||||||
[db_vault:children]
|
[db_vault:children]
|
||||||
db
|
db
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: registry db drone
|
- hosts: registry vps
|
||||||
remote_user: valentin
|
remote_user: valentin
|
||||||
roles:
|
roles:
|
||||||
- server
|
- server
|
||||||
|
@ -16,3 +16,7 @@
|
|||||||
file:
|
file:
|
||||||
path: "{{ project_src }}"
|
path: "{{ project_src }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
vars:
|
||||||
|
ansible_become: yes
|
||||||
|
ansible_become_method: sudo
|
||||||
|
ansible_become_password: "{{ sudo_password }}"
|
Loading…
x
Reference in New Issue
Block a user