mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-01-10 04:05:02 +01:00
This commit is contained in:
@@ -45,12 +45,8 @@ datacenter:
|
|||||||
ansible_python_interpreter: /share/ZFS530_DATA/.qpkg/QPython312/bin/python3
|
ansible_python_interpreter: /share/ZFS530_DATA/.qpkg/QPython312/bin/python3
|
||||||
vms:
|
vms:
|
||||||
hosts:
|
hosts:
|
||||||
vm01.home.lan:
|
vm0[1:9].home.lan:
|
||||||
vm02.home.lan:
|
vm[10:27].home.lan:
|
||||||
vm03.home.lan:
|
|
||||||
vm04.home.lan:
|
|
||||||
vm05.home.lan:
|
|
||||||
vm06.home.lan:
|
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: /usr/bin/python3
|
ansible_python_interpreter: /usr/bin/python3
|
||||||
ansible_ssh_user: jd
|
ansible_ssh_user: jd
|
||||||
|
|||||||
@@ -185,12 +185,8 @@ datacenter:
|
|||||||
ansible_ssh_private_key_file: ssh_key.pem
|
ansible_ssh_private_key_file: ssh_key.pem
|
||||||
vms:
|
vms:
|
||||||
hosts:
|
hosts:
|
||||||
vm01.home.lan:
|
vm0[1:9].home.lan:
|
||||||
vm02.home.lan:
|
vm[10:27].home.lan:
|
||||||
vm03.home.lan:
|
|
||||||
vm04.home.lan:
|
|
||||||
vm05.home.lan:
|
|
||||||
vm06.home.lan:
|
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: /usr/bin/python3
|
ansible_python_interpreter: /usr/bin/python3
|
||||||
ansible_ssh_user: jd
|
ansible_ssh_user: jd
|
||||||
|
|||||||
@@ -26,7 +26,6 @@
|
|||||||
dest: /share/docker_data/docker-tasmota/Tasmota
|
dest: /share/docker_data/docker-tasmota/Tasmota
|
||||||
version: '{{ BRANCH }}'
|
version: '{{ BRANCH }}'
|
||||||
|
|
||||||
|
|
||||||
# - name: Fetch tasmota
|
# - name: Fetch tasmota
|
||||||
# ansible.builtin.shell:
|
# ansible.builtin.shell:
|
||||||
# cmd: 'git fetch https://github.com/arendst/Tasmota.git {{ BRANCH }}'
|
# cmd: 'git fetch https://github.com/arendst/Tasmota.git {{ BRANCH }}'
|
||||||
|
|||||||
@@ -4,6 +4,13 @@
|
|||||||
- name: Facts
|
- name: Facts
|
||||||
ansible.builtin.setup:
|
ansible.builtin.setup:
|
||||||
|
|
||||||
|
- name: Create apt proxy file
|
||||||
|
ansible.builtin.copy:
|
||||||
|
dest: /etc/apt/apt.conf.d/02proxy
|
||||||
|
content: |
|
||||||
|
Acquire::http::Proxy "http://192.168.77.101:3142";
|
||||||
|
Acquire::https::Proxy "false";
|
||||||
|
|
||||||
- name: Print arch
|
- name: Print arch
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "{{ ansible_architecture }}"
|
msg: "{{ ansible_architecture }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user