Anpassung Powerpoint
This commit is contained in:
+5
-13
@@ -614,27 +614,19 @@ text(s, 0.55, 1.5, 12.2, 0.7,
|
||||
(".", {})],
|
||||
size=13, color=BLACK, leading=1.15)
|
||||
|
||||
# Links: Facts als 2-Spalten-Raster (Name oben, Beschreibung darunter)
|
||||
text(s, 0.55, 2.4, 6.6, 0.3, "WAS MAN AUSLESEN KANN", size=11, bold=True, color=RED)
|
||||
facts = [
|
||||
# Links: Facts als einzelne Spalte (breite Schlüssel-Spalte -> kein Umbruch)
|
||||
text(s, 0.55, 2.4, 6.8, 0.3, "WAS MAN AUSLESEN KANN", size=11, bold=True, color=RED)
|
||||
kv_rows(s, 0.55, 2.9, 6.8, [
|
||||
("ansible_os_family", "Betriebssystem-Familie"),
|
||||
("ansible_distribution", "z.B. Ubuntu, Debian"),
|
||||
("ansible_hostname", "Hostname des Systems"),
|
||||
("ansible_default_ipv4.address", "IP-Adresse"),
|
||||
("ansible_memtotal_mb", "Arbeitsspeicher (MB)"),
|
||||
("ansible_processor_vcpus", "CPU-Kerne"),
|
||||
]
|
||||
for i, (name, desc) in enumerate(facts):
|
||||
col = i % 2
|
||||
row = i // 2
|
||||
cx = 0.55 + col * 3.3
|
||||
cy = 2.9 + row * 1.3
|
||||
text(s, cx, cy, 3.2, 0.35, name, size=11.5, bold=True,
|
||||
color=DARKRED, font=FONT_MONO)
|
||||
text(s, cx, cy + 0.38, 3.2, 0.5, desc, size=11, color=GRAY, leading=1.0)
|
||||
], key_w=3.5, name_size=12, desc_size=11, gap=0.6)
|
||||
|
||||
# Rechts: ein einzelner, klarer Code-Block (Zugriff + Custom Facts)
|
||||
code_block(s, 7.25, 2.4, 5.55, [
|
||||
code_block(s, 7.55, 2.4, 5.2, [
|
||||
"# Zugriff im Playbook",
|
||||
"- name: OS anzeigen",
|
||||
" ansible.builtin.debug:",
|
||||
|
||||
Reference in New Issue
Block a user