Ansible Common Role
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"