mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-01 15:38:33 +02:00
klal
This commit is contained in:
@ -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:
|
||||||
|
Reference in New Issue
Block a user