Somewhere, Something Incredible Is Waiting To Be Known !!!

▼
Friday, 26 July 2019

Create an ec2 instance using anisble

›
--- - name: Create an ec2 instance   hosts: web   gather_facts: false   vars:       region: us-east-1       instance_type: t2.mic...

Install software on remote windows machine

›
### Input Declaration $targetHost = "localhost"; $targerFilePath = "\\$computer\C$\Tasks\Gateway" $sourceFilePath...

Install software on remote linux machine

›
### Input Declaration targetHost=localhost targerFolderPath=/opt/raghu/gateway sourceFolderPath=/tmp ansibleInstallerPath=/opt/raghu ...
Monday, 15 July 2019

Error : ERROR: Failed to log in as st2admin1: 401 Client Error: Unauthorized MESSAGE: Invalid or missing credentials for url: http://127.0.0.1:9100/tokens

›
 cd ~/.st2/token  rm token-stadmin 
Saturday, 13 July 2019

Ansible playbook to configure and install LDAP

›
--- - name: Create the directory for ldap database   file: path=/var/lib/ldap/{{ openldap_server_domain_name }}/ state=directory owner...

Ansible playbook to create shared folder

›
--- - hosts: unix   sudo: yes   connection: local   tasks:     - command: groupadd dev2     - command: groupadd ops2     - comman...

Ansible playbook to configure samba

›
--- - hosts: unix   sudo: yes   connection: local   tasks:    - apt:        name: samba        state: present    - template:    ...
‹
›
Home
View web version

About Me

RAGHUVEL
View my complete profile
Powered by Blogger.