With the below settings, each variable content containing vault, pwd or pass will be obfuscated.
In ansible.cfg
:
# Enable plugin
[defaults]
stdout_callback = protect_data
[callback_protect_data]
With the below settings, each variable content containing vault, pwd or pass will be obfuscated.
In ansible.cfg
:
# Enable plugin
[defaults]
stdout_callback = protect_data
[callback_protect_data]
Add-Type -AssemblyName System.Windows.Forms
$sleep = 240
$i = 0
while ($true) {
$Pos = [System.Windows.Forms.Cursor]::Position
if (($i % 2) -eq 0) {
[System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point((($Pos.X) + 1) , $Pos.Y)
- name: Update ~/.ssh/known_hosts file
hosts: all
gather_facts: false
become: false
tasks:
- name: Update ~/.ssh/known_hosts
ansible.builtin.known_hosts:
name: "{{ inventory_hostname }}"
key: "{{ lookup('pipe', 'ssh-keyscan ' + inventory_hostname) }}"
Create requirements.txt
file:
ansible==7.2.0
ansible-lint==6.10.0
jmespath
dnspython
git+https://github.com/mitogen-hq/mitogen.git@a47b9f3631ba3c37bf0410c6a4960c3eec152454
# Set the configuration file containing the private OpenPGP key and passphrase | |
cat ${PASSBOLT_CLI_CONFIG} | base64 -d > /root/.config/go-passbolt-cli/go-passbolt-cli.toml | |
# Login to gitlab CI registry | |
# CI_REGISTRY_* variables are dynamically set by gitlab | |
docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY} | |
### | |
# login to Docker HUB registry / fetch password from passbolt | |
### |
passbolt create resource \ | |
- name "docker.com token for gitlab" \ | |
- username "username@domain.tld" \ | |
- password "Ch4ng3-m3-pl35E" \ | |
- uri "https://docker.io" |
#!/usr/bin/env bash | |
set -euo pipefail | |
TMPGNUPGHOME=$(mktemp -d) | |
EMAIL="email@domain.tld" | |
PASSPHRASE="strong-passphrase" | |
FIRSTNAME="John" | |
LASTNAME="Doe" | |
KEYSIZE=2048 |
" All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by | |
" the call to :runtime you can find below. If you wish to change any of those | |
" settings, you should do it in this file (/etc/vim/vimrc), since debian.vim | |
" will be overwritten everytime an upgrade of the vim packages is performed. | |
" It is recommended to make changes after sourcing debian.vim since it alters | |
" the value of the 'compatible' option. | |
runtime! debian.vim | |
" Vim will load $VIMRUNTIME/defaults.vim if the user does not have a vimrc. |
/etc/systemd/system/xfs-write-cache.service
[Unit]
Description=Set XFS Write cache to write through
[Service]
Type=oneshot
User=root
Group=root
ExecStart=/usr/lib/systemd/system-sleep/xfs-write-cache