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
|
||||
drone-host ansible_connection=ssh ansible_host=151.80.37.38 ansible_port=2424 ansible_user=valentin
|
||||
localhost ansible_host=127.0.0.1
|
||||
|
||||
[db]
|
||||
[vps]
|
||||
vps-host
|
||||
|
||||
[db:children]
|
||||
local
|
||||
vps
|
||||
localhost
|
||||
|
||||
[db_vault:children]
|
||||
db
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
- hosts: registry db drone
|
||||
- hosts: registry vps
|
||||
remote_user: valentin
|
||||
roles:
|
||||
- server
|
||||
|
@ -15,4 +15,8 @@
|
||||
- name: Remove project
|
||||
file:
|
||||
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