linconf.ansible

Ansible Role: ansible

Build Status Ansible Galaxy Ansible Galaxy

An Ansible role that manages the installation and configuration of Ansible on Debian/Ubuntu and RHEL/CentOS.

Features

Able to install and configure from:

  • Package manager (apt, yum..) [Default]
  • Package file (*.deb, *.rpm..)
  • Source via GitHub clone/build

Installation

ansible-galaxy install linconf.ansible

Example Playbooks

- name: ansible - Testing
  hosts: all
  become: yes
  roles:
    - linconf.ansible
  vars:
    ansible_role_remote_port: '2222'

Install from File

  roles:
    - linconf.ansible
  vars:
      ansible_role_install_from_file: True
    ansible_role_install_file_name: 'files/ansible_2.2.0.0-0.1.deb'

Install from Source

  roles:
    - linconf.ansible
  vars:
    ansible_role_install_from_source: True
    ansible_role_build_target_version: 'v2.1.2.0-1'

Additional Options

See the linconf.ansible documentation for a full list of available options.

Dependencies / Requirements

  • None

If you set ansible_role_install_from_source: True then build dependencies will be installed automatically. See ansible_role_build_deps: in vars/.yml

Testing

The master branch is continuously validated by Travis-CI.

Minor versions indicate the role passed local testing as described by the .kitchen declaration. Instructions for performing test-kitchen runs locally are detailed in the LinConf Documentation.

Author and License

Chad Sheets - GitHub | Blog | Email

Released under the MIT License

Analytics

About

Install and configure Ansible from package or source

Install
ansible-galaxy install linconf.ansible
GitHub repository
License
mit
Downloads
60
Owner
Configuration management with Ansible