You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Run this with
#
# #ansible-playbook -i inventory site.yml
#
- hosts: course
tasks:
- name: Create a file from a template
template: src=mytemplate.j2 dest=/tmp/template.conf
- name: Ensure needed packages are present and eventually install them
apt: name="{{packages}}"
vars:
packages:
- python
- python-dev
ignore_errors: yes # ignore errors during the course (eg. connectivity)
I expect
apt
to use this syntaxinstead
it uses
Files
The text was updated successfully, but these errors were encountered: