我想在 Ansible 中编写一个任务来执行以下命令:
“systemctl set-default Graphical.target”,不使用 shell/命令模块。
不确定“ansible.builtin.systemd”模块是否有此选项。
ansible
ansible ×1