Ansible deployer plugin of Hexo.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
.npmignore
LICENSE
README.md
index.js
package.json

README.md

hexo-deployer-ansible

NPM version

Ansible deployer plugin for Hexo.

Installation

$ npm install hexo-deployer-ansible --save

Options

You can configure this plugin in _config.yml.

deploy:
  type: ansible
  host: <host>
  user: <user>
  root: <root>
  delete: [true|false] # Default is true
  compress: [true|false] # Default is true
  archive: [true|false] # Default is false
  args: <ansible args>
  verbose: [true|false] # Default is true
  • host: Address of remote host
  • user: Username
  • root: Root directory of remote host
  • delete: Delete old files on remote host
  • archive: Mirrors the rsync archive flag, enables recursive, links, perms, times, owner, group flags and -D.
  • compress: Compress file data during the transfer. In most cases, leave this enabled unless it causes problems.
  • args: Ansible arguments
  • verbose: Display verbose messages
  • ignore_errors: Ignore errors

License

MIT