Skip to content

Latest commit

 

History

History
executable file
·
49 lines (31 loc) · 1.32 KB

README.md

File metadata and controls

executable file
·
49 lines (31 loc) · 1.32 KB

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