Repos with recipes to deploy some infrastructure services
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

23 行
717 B

  1. plugin: azure_rm
  2. auth_source: auto
  3. location: canadaeast,canadacentral,eastus
  4. cloud_environment: "AzureCloud"
  5. default_host_filters:
  6. - 'powerstate != "running"'
  7. hostvar_expressions:
  8. ansible_host: (public_ipv4_addresses + private_ipv4_addresses) | first
  9. private_ipv4_address: private_ipv4_addresses | first
  10. public_ipv4_address: (public_ipv4_addresses + private_ipv4_addresses) | first
  11. subscription_id: id.split("/")[2]
  12. provider: "'azure'"
  13. conditional_groups:
  14. linux: "'linux' in os_profile.system"
  15. windows: "'windows' in os_profile.system"
  16. keyed_groups:
  17. - key: tags.none | default('azure')
  18. separator: ''
  19. - key: tags.fct | default('azure')
  20. separator: ''
  21. prefix: azure
  22. plain_host_names: yes