4.5. 手动添加订阅
如果您无法使用自动化控制器用户界面应用或更新订阅信息,您可以在 Ansible Playbook 中手动上传订阅清单。
使用 ansible.controller
集合中的 license 模块:
- name: Set the license using a file license: manifest: "/tmp/my_manifest.zip"
- name: Set the license using a file
license:
manifest: "/tmp/my_manifest.zip"
如需更多信息,请参阅 Automation controller license 模块。