Set the correct ansible users #13
@@ -36,7 +36,7 @@ steps:
|
|||||||
- name: ansible apply
|
- name: ansible apply
|
||||||
image: cytopia/ansible:latest-tools
|
image: cytopia/ansible:latest-tools
|
||||||
commands:
|
commands:
|
||||||
- ansible-playbook -i inventory/hosts.yml site.yml
|
- ansible-playbook -i inventory/hosts.yml site.yml --private-key /root/.ssh/id_ed25519
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssh_key
|
- name: ssh_key
|
||||||
path: /root/.ssh
|
path: /root/.ssh
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
---
|
|
||||||
ansible_user: ansible
|
|
@@ -13,19 +13,23 @@ vpses:
|
|||||||
vps1-contabo:
|
vps1-contabo:
|
||||||
ansible_host: 161.97.139.67
|
ansible_host: 161.97.139.67
|
||||||
ansible_port: 4422
|
ansible_port: 4422
|
||||||
|
ansible_user: ansible
|
||||||
|
|
||||||
pis:
|
pis:
|
||||||
hosts:
|
hosts:
|
||||||
pi1:
|
pi1:
|
||||||
ansible_host: 192.168.90.2
|
ansible_host: 192.168.90.2
|
||||||
|
ansible_user: ansible
|
||||||
pi2:
|
pi2:
|
||||||
ansible_host: 192.168.90.3
|
ansible_host: 192.168.90.3
|
||||||
|
ansible_user: ansible
|
||||||
|
|
||||||
equinox-servers:
|
equinox-servers:
|
||||||
hosts:
|
hosts:
|
||||||
apollo:
|
apollo:
|
||||||
ansible_host: 23.97.157.206
|
ansible_host: 23.97.157.206
|
||||||
ansible_port: 2004
|
ansible_port: 2004
|
||||||
|
ansible_user: ansible
|
||||||
|
|
||||||
all:
|
all:
|
||||||
children:
|
children:
|
||||||
@@ -38,5 +42,3 @@ all:
|
|||||||
equinox:
|
equinox:
|
||||||
children:
|
children:
|
||||||
equinox-servers:
|
equinox-servers:
|
||||||
ansible_connection: ssh
|
|
||||||
ansible_user: ansible
|
|
||||||
|
Reference in New Issue
Block a user