Somewhere, Something Incredible Is Waiting To Be Known !!!
(Move to ...)
Home
▼
Sunday, 24 May 2020
To use Kerberos authentication you need these optional dependencies
›
# for Debian/Ubuntu/etc: $ sudo apt-get install gcc python-dev libkrb5-dev $ pip install pywinrm [ kerberos ] # for RHEL/CentOS/etc: $ s...
Saturday, 9 May 2020
pyaudio windows
›
pip install pipwin pipwin install pyaudio
Wednesday, 6 May 2020
ANSIBLE FACTS
›
get all facts from a node (ad hoc) ansible -i hosts targetName -m setup -a "filter="facter_*" use fact in a playbook include ...
ANSIBLE FILES & DIRS
›
delete all files and hidden files in a directory vars: app_home: /var/opt/application tasks: - name: clear home dir - shell: "ls ...
ANSIBLE USER AND GROUP MGMT
›
change user password for user Joe (user Fred running the cmd as sudo on the target box) # 1 install passlib pip install passlib #2 update t...
ANSIBLE PLAYBOOKS
›
run playbook with sudo ansible-playbook -v config-users.yaml --sudo --sudo-user=joe --ask-sudo-pass use different Hosts file ansible-playboo...
Ansible Variables inside Inventory Hosts file
›
cat hosts [web] nycweb01.company.local [web:vars] role="super duper web server" now get the "role" variable inside the p...
‹
›
Home
View web version