Do you mean that within my original example I'll need:
--------
- hosts: db_server
sudo: yes
roles:
- esc-db-init
- hosts: db_server
sudo: yes
sudo_user: postgres
roles:
- esc-db
--------
instead of:
--------
- hosts: db_server
sudo: yes
roles:
- esc-db-init
- { role: esc-db, sudo_user: postgres }
--------
That's more hassle than it was previously... Is this going to be supported
again? I've been using this play for about half a year, so it's only
relatively recent change.
Jacek
W dniu czwartek, 19 marca 2015 13:45:24 UTC użytkownik Brian Coca napisał:
>
> Works as expected, setting sudo_user at role level is not supported.
> You can set it at play or task level.
>
> --
> Brian Coca
>
--
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/c8b4fc06-6d85-4cb8-aa2c-781d3309d50a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.