arnobirchler.create-account

Ansible Role | Create Account

Build Status

This Ansible role sets up user accounts and includes Travis CI configuration.

Requirements

No special requirements needed.

Role Variables

- user: scott
- sudoer: deployer
# Define SSH settings
ssh_port: [22]  # Port to use for SSH
ssh_protocol: 2  # SSH version
ssh_listen_address: []  # IPs to listen on
# Authentication settings
ssh_permit_root_login: 'yes'  # Allow root login
ssh_pubkey_authentication: 'yes'  # Use public key authentication
ssh_password_authentication: 'yes'  # Allow password authentication
# Service settings
ssh_service_enabled: yes  # Enable SSH service on boot
ssh_service_state: started  # Current state of SSH service

Dependencies

Ansible: No dependencies.

Travis: 2 dependencies

Example Playbook

- name: "Create a file"
  file:
    path: "./test.txt"  # Path of the file
    state: touch  # Create the file if it does not exist

License

MIT

Author Information

Arno Birchler

Informazioni sul progetto

quick and easy account creater

Installa
ansible-galaxy install arnobirchler.create-account
Licenza
Unknown
Download
224
Proprietario