common

Build Status

Ansible Role: Common Generic Tasks

This role performs generic specific tasks required by other roles like :

  • Installing Python, Except and other basic linux packages.
  • Install, configure and start NTP service.
  • Disable Selinux.
  • Disable Iptables/firewalld and ufw

These are pre-requisites for other roles that install ipaserver, ipaclient and hadoop applications

Dependencies

None.

Example Playbook

- hosts: localhost
  become_user: True
  gather_facts: True
  
  roles:
    - yabhinav.common

Issues

  • Selinux module fails if selinux is not installed #21622 . Do a stat check if selinux config file exists or use ansible_selinux which tells if selinux is present ( and not enabled or running)
  • Ubuntu 12.04 older version of Jinj2=2.2 is causing issues with ansible2.2. Use variables with full quotes as mentioned here

License

MIT

Author Information

Created by Abhinav Yalamanchili

About

Install a common configurations for RHEL/CentOS/Fedora and Debian/Ubuntu. Used by my other roles

Install
ansible-galaxy install yabhinav/ansible-role-common
GitHub repository
License
Unknown
Downloads
340
Owner
BigData Engineer with a bit of dabbling in python, ansible, pyspark, aws and java