Set the correct ansible users #13

Merged
noah.knegt merged 1 commits from ci-update into master 2023-03-31 10:33:37 +02:00
3 changed files with 5 additions and 5 deletions
Showing only changes of commit abd1dcd74e - Show all commits

View File

@@ -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

View File

@@ -1,2 +0,0 @@
---
ansible_user: ansible

View File

@@ -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