Relative Content

Tag Archive for ansibleansible-2.xansible-inventory

Ansible escape variable in playbook

I need to be able to load the host group in the total_hosts: “{{ groups[‘site’] | length }}” like i do in the first line – hosts: ‘{{ site }}’ (the site variable is defined in my environment as shown here)