Skip to content

francomile/ansible-role-common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Common Role

Lint Ansible roles

Release role to Ansible Galaxy

Actions of the Role

  • Update all packages to the latest version
  • Install common packages
  • Remove insecure legacy packages
  • Set Timezone
  • Set limits.conf
  • Update journald.conf
  • Update rsyslog logrotate
  • Set vm.swappiness default

Common Usage

roles:
  - {
    role: francomile.common,
    tags: ["common"]
    }

Run the playbook

ansible-playbook -i inventory playbook.yaml --tags "common"