robertdebock.umask

Ansible Role Umask

This Ansible role installs and sets up umask on your system.

GitHub GitLab Downloads Version
GitHub GitLab Downloads Version

Example Playbook

This example is taken from molecule/default/converge.yml and is tested with every update.

---
- name: Converge
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: robertdebock.umask
      umask: "0027"

To prepare the machine, CI uses molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  become: true
  gather_facts: false

  roles:
    - role: robertdebock.bootstrap

You can find a full explanation and example on using these roles.

Role Variables

Default values for the variables are found in defaults/main.yml:

---
# Defaults for umask

umask: "0022"

umask_users:
  - root

Requirements

State of Used Roles

These roles are needed to prepare a system. You can use other methods too.

Requirement GitHub GitLab
robertdebock.bootstrap Build Status GitHub Build Status GitLab

Context

This role is part of many related roles. For more information, check the documentation of these roles.

Here is a list of related roles: dependencies

Compatibility

This role has been tested on these container images:

Container Tags
Alpine all
Debian all
EL 9
Fedora all
Ubuntu all

The minimum required Ansible version is 2.12. Tests have been conducted on:

  • Previous version
  • Current version
  • Development version

If you encounter issues, please report them on GitHub.

License

Apache-2.0.

Author Information

The author of this role is robertdebock.

Please consider sponsoring me.

Informazioni sul progetto

Install and configure umask on your system.

Installa
ansible-galaxy install robertdebock.umask
Licenza
apache-2.0
Download
394
Proprietario
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.