Skip to content

Instantly share code, notes, and snippets.

View devops-adeel's full-sized avatar
🎯
Focusing

Adeel Ahmad devops-adeel

🎯
Focusing
View GitHub Profile
@13rac1
13rac1 / ansible-create-user-with-password
Created March 18, 2013 22:18
Create a user in an Ansible playbook with a set, but unknown password so the account is not locked. Makes it possible to log on the account with a public key. This example requires mkpasswd, but that can be replaced with any other password generator.
---
- hosts: all
gather_facts: yes
##
# Create the password then create the user
#
- name: Users | Generate password for new user
shell: makepasswd --chars=20
register: user_password
@apolloclark
apolloclark / cicd_build_tools_and_testing.md
Last active May 15, 2024 16:55
CI/CD Build Tools and Testing