Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Latest commit

 

History

History
25 lines (23 loc) · 981 Bytes

post_deploy_action.md

File metadata and controls

25 lines (23 loc) · 981 Bytes

Linux Ansible: post_deploy action

This action groups other actions needed when a new machine is deployed:

NOTES:

  • Only Ubuntu and Debian are supported
  • This action reboots the machine.

Action Variables

Using this action, you will be able to set the following variables:

  • lvmap: LVM map with desired sizes. Note: size will be allocated iteratively so last partition may always be +100%FREE.
  • lvmap_ignore_errors: Ignore errors when extending logical volumes. Default: no.
  • install_packages: Extra packages you want to be installed.

Example:

- role: linux-ansible
  vars:
    action: post_deploy
    lvmap:
      "/": "+100%FREE"
    install_packages:
    - vim