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

Latest commit

 

History

History
22 lines (21 loc) · 910 Bytes

README.md

File metadata and controls

22 lines (21 loc) · 910 Bytes

Linux Ansible

Ansible Role for Linux Server Configuration.

What can I do with this role?

Different actions are available by changing action variable. For instance:

- name: Create VM
  hosts: localhost
  roles:
  - role: linux-ansible
    vars:
      action: grow_lvm
      lvmap:
        "/": "+100%FREE"
      ...

The following actions are available:

  • grow_lvm: Executes needed tasks after Linux Server deployment.
  • setup_hostname: Setups hostname and resets /etc/hosts.
  • upgrade_packages: Upgrades all packages and distribution. Also, can install packages you want.
  • install_docker: Installs Docker Engine.
  • post_deploy: Groups needed actions to configure a newly created machine.