Contents
Facts
Getting all the facts of a server.
ansible -i config/hosts server -m setup
Configuration options
Directories
Make a directory
- name: Creates directory
file:
path: /src/www
state: directory
owner: www-data
group: www-data
mode: 0775
recurse: yes