- name: Update apt cahce
apt: update_cache=yes cache_valid_time=3600
- name: Install NFS Common on FileServer
apt: name={{ item }} state=present
with_items:
- nfs-common
- name: Create webservers directory
file:
path: "{{ item }}"
with_items:
- /nfs/webserver1
- /nfs/webserver2
state: directory
- name: Update apt cahce
apt: update_cache=yes cache_valid_time=3600
- name: Install NFS Common on FileServer
apt: name={{ item }} state=present
with_items:
- nfs-common
- name: Create webservers directory
file:
path: "{{ item }}"
state: directory
with_items:
- /nfs/webserver1
- /nfs/webserver2 --
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/437c4634-9835-4bdf-b35e-f3f6888d1452%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.