-name: ensure apache & php are installedapt: pkg={{ item }} state=present update_cache=yes cache_valid_time=86400with_items:- apache2- php5
msg: 'apt-get install 'apache2' 'php5' ' failed: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
ansible-playbook site.yml --limit staging
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.