Ansible repository with playbooks to manage azure objects
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 regels
670 B

  1. plugin: azure_rm
  2. auth_source: auto
  3. location: canadaeast,canadacentral
  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. conditional_groups:
  13. linux: "'linux' in os_profile.system"
  14. windows: "'windows' in os_profile.system"
  15. keyed_groups:
  16. - key: tags.none | default('azure')
  17. separator: ''
  18. - key: tags.fct | default('azure')
  19. separator: ''
  20. plain_host_names: yes