Monday, 3 August 2020

Ansible tower / AWX notification Microsoft teams channel



It's not a http header, it's the payload, which you can't alter. 

A WebHook Notification template type won't work for Mattermost/MS Teams/RocketChat or any other Slack compatible communication platform.

Try selecting Mattermost as the notification type and point it to your Teams webhook url; This should do the trick.

Friday, 31 July 2020

Scrum Process (two weeks sprint)



Day 1 : Creation of building blocks.

Day 2:  Converting building blocks into userstories

Day 3: Sprint Planning ( Converting userstories into JIRA tasks)

Day 4 - Day 13: Sprint run (incase of 2 weeks sprint) (Daily stand ups)

Day 14: Sprint Retrospective 

Sunday, 19 July 2020

Configuring zerotier on ubuntu


root@instance-20200602-1459:/# sudo snap install zerotier-one
root@instance-20200602-1459:/# sudo snap connect zerotier-one:network-control
root@instance-20200602-1459:/# sudo zerotier-one.zerotier-cli info
200 info ******** 1.4.6 ONLINE
root@instance-20200602-1459:/# sudo zerotier-one.zerotier-cli join *******
200 join OK






Friday, 3 July 2020

how to check who changed root password ?



In the /var/log/auth.log there should be an entry like:

Mar 31 12:41:41 UBUNTU sudo: daniel : TTY=pts/1 ; PWD=/dev ; USER=root ; COMMAND=/usr/bin/passwd root
Mar 31 12:41:52 UBUNTU passwd[25160]: (pam_unix) password changed for root
Mar 31 12:41:52 UBUNTU passwd[25160]: (pam_unix) Password for root was changed

Sunday, 28 June 2020

ssh : Permission denied (publickey,gssapi-with-mic)




[root@ansible kube-cluster]# vi /etc/ssh/sshd_config


# To disable tunneled clear text passwords, change to no here!

PasswordAuthentication yes




[root@ansible kube-cluster]# service sshd restart

Saturday, 20 June 2020

Windows host through SSH bastion on Ansible



Pre requisite :

install the required Python packages pip install ansible pypsrp requests[socks]

command to route traffic 

ssh -o "ControlMaster=auto" -o "ControlPersist=no" -o "ControlPath=~/.ssh/cp/ssh-%r@%h:%p" -CfNq -D 127.0.0.1:2222 -p 2222 root@<bastion server IP>

[windowstarget]
<IP>
[windowstarget:vars]
ansible_user=<domain>\<username>
ansible_password=<password>
ansible_connection=psrp
ansible_psrp_protocol=http
ansible_psrp_proxy=socks5h://localhost:2222








REF#

Git

1 git add ↳ It lets you add changes from the working directory into the staging area 2 git commit ↳ It lets you save a snapshot of currently...