This commit is contained in:
2025-05-24 19:47:41 +02:00
parent 6a0f33c73f
commit 230c665365

View File

@ -5,6 +5,7 @@
ansible.builtin.include_vars: ansible.builtin.include_vars:
file: jaydee.yml file: jaydee.yml
name: mysecrets name: mysecrets
when: inventory_hostname != 'nas.home.lan'
- name: Delete content & directory - name: Delete content & directory
ansible.builtin.file: ansible.builtin.file:
state: absent state: absent
@ -18,6 +19,7 @@
update: true update: true
clone: true clone: true
version: main version: main
when: inventory_hostname != 'nas.home.lan'
- name: Print - name: Print
ansible.builtin.debug: ansible.builtin.debug:
msg: "{{ inventory_hostname }}" msg: "{{ inventory_hostname }}"
@ -28,6 +30,7 @@
mode: '0755' mode: '0755'
owner: root owner: root
group: root group: root
when: inventory_hostname != 'nas.home.lan'
- name: Upload script - name: Upload script
ansible.builtin.copy: ansible.builtin.copy: