On 25.04.16 19:21 Chad Sheets wrote:
> 
> My playbook was structured as follows:
> 

I'm a little bit confused by your playbook. To me as an unexperienced
user it looks like two playbooks put into the same file. Also you are
mixing tasks with roles, I have no idea if this is expected to work.

What happens when you change it to something like this:

#################################
---
- hosts: all
  become: yes
  #|  Import encrypted host variables
  vars_files:
    - host_vars/{{inventory_hostname}}.yml
    - host_vars/{{inventory_hostname}}-encrypted.yml

  #|  Initialization, run before further plays
  roles:
    - users
    - hosts
#################################

Johannes

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/571E729D.6000503%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to