-
Learning Ansible Tips And Tricks
Syntax verification of YAML in Playbooks Syntax errors in playbook cause execution to fail Execution output may or may not help pinpoint source of syntax error Best practice: Verify YAML syntax in playbook prior to execution Several ways to do this Python To read playbook YAML file using Python, use...
-
Use Pass As Secret Store For Docker Registry
Download “docker-credential-pass”. https://github.com/docker/docker-credential-helpers/releases/ Unpack tar -xvf docker-credential-pass-v0.6.3-amd64.tar.gz Copy the unpacked file to /usr/bin directory. Set execution permission chmod +x /usr/bin/docker-credential-pass Check that docker-credential-pass work. To do this, run command docker-credential-pass. You should see: “Usage: docker-credential-pass <store get erase list version>”. Install gpg and pass. sudo yum install gpg pass gpg...
-
Use Terminal Pinentry With Gpg Agent
In order to use terminal to input pin for gpg-agent. Add the following to the .gpg-agent.conf file. 1 enable-ssh-support 2 default-cache-ttl 60 3 max-cache-ttl 120 4 pinentry-program /usr/bin/pinentry-curses Restart gpg-agent with the command: gpg-connect-agent updatestartuptty /bye and gpg-connect-agent reloadagent /bye