tagged all task

This commit is contained in:
2024-02-14 13:53:14 -06:00
parent c81338e8a6
commit a411d9de0e
6 changed files with 52 additions and 0 deletions
+13
View File
@@ -12,6 +12,7 @@
ansible.builtin.file:
dest: /etc/sysusers.d
state: directory
tags: config
- name: Fix parsec bug in Fedora-39
become: true
@@ -21,6 +22,7 @@
dest: /etc/sysusers.d/parsec.conf
setype: etc_t
when: variant.stdout=="iot"
tags: config
- name: Enable Cockpit Service
become: true
@@ -29,6 +31,7 @@
name: cockpit.socket
state: started
enabled: true
tags: config
- name: Enable Cockpit in firewalld
become: true
@@ -38,6 +41,7 @@
permanent: true
state: enabled
when: variant.stdout=="iot"
tags: config
- name: Enable Avahi Service
become: true
@@ -46,6 +50,7 @@
name: avahi-daemon
state: started
enabled: true
tags: config
- name: Enable mdns in Firewall
become: true
@@ -55,6 +60,7 @@
permanent: true
state: enabled
when: variant.stdout=="iot"
tags: config
- name: Modify nsswitch file for mdns lookups
become: true
@@ -64,6 +70,7 @@
regexp: '^hosts:'
line: 'hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname'
notify: restart_avahi
tags: config
- name: Set hostname to {{ hostname }}
become: true
@@ -71,6 +78,7 @@
ansible.builtin.hostname:
name: "{{ hostname }}"
notify: restart_avahi
tags: config
- name: Enable Zerotier
become: true
@@ -80,6 +88,7 @@
state: started
enabled: true
when: (zerotier_network is defined) and (zerotier_network|length>0)
tags: config
- name: Mask Fedora countme timer
become: true
@@ -89,6 +98,7 @@
state: stopped
enabled: false
masked: true
tags: config
- name: Set {{ ansible_user }} user to linger
become: true
@@ -96,6 +106,7 @@
ansible.builtin.shell:
cmd: loginctl enable-linger {{ ansible_user }}
creates: /var/lib/systemd/linger/{{ ansible_user }}
tags: config
- name: Set update zincati wariness to {{update_wariness}}
become: true
@@ -105,6 +116,7 @@
content: |
[identity]
rollout_wariness = {{update_wariness}}
tags: config
- name: Set update schedule for zincati
become: true
@@ -122,5 +134,6 @@
days = {{ update_schedule_days }}
start_time = "{{ update_schedule_starttime }}"
length_minutes = {{ update_schedule_length }}
tags: config