在RedHat8.3机器上,我尝试使用以下可标记代码: msg: "{{ lookup('dig', 'localhost') }}"TASK*****Error was a <class 'ansible.errors.AnsibleError'>, original message: The dig lookup requires the python'dnspython' l
我们有一个ansible项目,它使用了许多角色,这些角色不包含在同一个git存储库中(我将将其称为外部角色)。我们使用带有requirements.yml文件的ansible来安装这些角色,但是我们必须手动和频繁地运行它才能获得这些角色的最后版本。它唯一的目的是运行ansible-galaxy命令,以确保安装了外部角色,并在最后一个可用的版本中安装了这些角色。the role 'external_roleA' was not fou