title: What is the `args` section in an ansible command
body: <p>This example only runs when /path/to/database doesn't exist:</p>
  
  <pre><code># You can also use the 'args' form to provide the options.
  - name: This command will change the working directory to somedir/ and will only run when /path/to/database doesn't exist.
    command: /usr/bin/make_database.sh arg1 arg2
    args:
      chdir: somedir/
      creates: /path/to/database
  </code></pre>
  
  <p>but why is it listed under <code>args:</code>?</p>
  
  <p>And what's the <code>args:</code> setting for?</p>