buluma.umask

Ansible Role umask

This role helps you install and set up umask on your system.

GitHub Version Issues Pull Requests Downloads
github Version Issues PullRequests Ansible Role

Example Playbook

Here's a sample playbook taken from molecule/default/converge.yml, which is tested whenever changes are made.

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

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

Before running this, the machine needs to be set up. In CI, this is done using molecule/default/prepare.yml:

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

  roles:
    - role: buluma.bootstrap

You can also find a complete guide with examples on how to use these roles.

Role Variables

The default variables are defined in defaults/main.yml:

---
# default settings for umask

umask: "0022"

umask_users:
  - root

Requirements

State of used roles

These roles are used for system preparation. However, you can configure your system in other ways.

Requirement GitHub Version
buluma.bootstrap Ansible Molecule Version

Context

This role is part of many roles that work together. For more information, check the documentation for these roles.

Here is an overview of related roles:

dependencies

Compatibility

This role has been tested on the following container images:

container tags
Alpine all
Debian all
EL 8
Fedora all
opensuse all
Ubuntu all

Ansible version 2.12 or higher is required. Tests have been conducted on:

  • The previous version.
  • The current version.
  • The development version.

If you encounter any issues, please report them on GitHub.

Changelog

See the Role History.

License

This role is licensed under the Apache-2.0.

Author Information

Created by Shadow Walker.

Informazioni sul progetto

Install and configure umask on your system.

Installa
ansible-galaxy install buluma.umask
Licenza
apache-2.0
Download
5.2k
Proprietario
DevOps Engineer