Compare commits

...

10 Commits

Author SHA1 Message Date
Ansible Automation
d8632612e4 Ansible: Removed host agent-test (170) from inventory 2026-04-21 12:57:56 +02:00
Ansible Automation
ae5f88515c Ansible: Added host agent-test to inventory 2026-04-21 11:27:36 +02:00
Ansible Automation
9f024df3e9 Ansible: Added host zbx74-part-pgsql to inventory 2026-03-20 16:24:16 +01:00
Ansible Automation
ddc92f05f0 Ansible: Removed host europol-srv (151) from inventory 2026-02-12 18:53:40 +01:00
Ansible Automation
eb51fef2c2 Ansible: Added host europol-srv to inventory 2026-02-12 18:53:20 +01:00
Ansible Automation
ea81eb21d9 Ansible: Added host zbxsrv-europol to inventory 2026-02-12 18:38:40 +01:00
Ansible Automation
778080865d Ansible: Removed host zbxsrv-europol (150) from inventory 2026-02-12 18:34:03 +01:00
Ansible Automation
4d119920ec Ansible: Added host zbxsrv-europol to inventory 2026-02-12 13:53:10 +01:00
Ansible Automation
240e925743 Fix Ansible playbook bugs: update proxmox module, add git pull --rebase 2026-02-10 11:35:49 +01:00
Ansible Automation
9bf2e08576 Ansible: Added host devbox to inventory 2026-02-10 11:35:49 +01:00
2 changed files with 12 additions and 2 deletions

View File

@@ -17,6 +17,15 @@ docker-cloud ansible_host=10.0.0.102
truenas ansible_host=10.0.0.200 truenas ansible_host=10.0.0.200
[lxc] [lxc]
# BEGIN ANSIBLE MANAGED BLOCK FOR HOST zbx74-part-pgsql
zbx74-part-pgsql ansible_host=10.0.0.140
# END ANSIBLE MANAGED BLOCK FOR HOST zbx74-part-pgsql
# BEGIN ANSIBLE MANAGED BLOCK FOR HOST zbxsrv-europol
zbxsrv-europol ansible_host=10.0.0.150
# END ANSIBLE MANAGED BLOCK FOR HOST zbxsrv-europol
# BEGIN ANSIBLE MANAGED BLOCK FOR HOST devbox
devbox ansible_host=10.0.0.105
# END ANSIBLE MANAGED BLOCK FOR HOST devbox
gitea ansible_host=10.0.0.108 gitea ansible_host=10.0.0.108
zabbix-proxy ansible_host=10.0.0.110 zabbix-proxy ansible_host=10.0.0.110
ansible ansible_host=10.0.0.111 ansible ansible_host=10.0.0.111

View File

@@ -30,7 +30,7 @@
container_ip_cidr: "{{ container_ip if '/' in container_ip else container_ip + '/24' }}" container_ip_cidr: "{{ container_ip if '/' in container_ip else container_ip + '/24' }}"
- name: Create LXC container on Proxmox - name: Create LXC container on Proxmox
community.general.proxmox: community.proxmox.proxmox:
api_host: "{{ proxmox_host | default('10.0.0.1') }}" api_host: "{{ proxmox_host | default('10.0.0.1') }}"
api_user: "{{ proxmox_api_user }}" api_user: "{{ proxmox_api_user }}"
api_token_id: "{{ proxmox_api_token_id }}" api_token_id: "{{ proxmox_api_token_id }}"
@@ -54,7 +54,7 @@
register: proxmox_creation register: proxmox_creation
- name: Start the container - name: Start the container
community.general.proxmox: community.proxmox.proxmox:
api_host: "{{ proxmox_host | default('10.0.0.1') }}" api_host: "{{ proxmox_host | default('10.0.0.1') }}"
api_user: "{{ proxmox_api_user }}" api_user: "{{ proxmox_api_user }}"
api_token_id: "{{ proxmox_api_token_id }}" api_token_id: "{{ proxmox_api_token_id }}"
@@ -163,6 +163,7 @@
git config --global user.name "Ansible Automation" git config --global user.name "Ansible Automation"
git add inventory/hosts.ini git add inventory/hosts.ini
git commit -m "Ansible: Added host {{ hostvars[item]['inventory_hostname'] }} to inventory" git commit -m "Ansible: Added host {{ hostvars[item]['inventory_hostname'] }} to inventory"
git pull --rebase
git push git push
args: args:
chdir: "{{ playbook_dir }}/../" chdir: "{{ playbook_dir }}/../"