Город МОСКОВСКИЙ
00:11:59

Token Based Authentication in REST API - Interact with webservice - Ansible module uri

Аватар
Python волна
Просмотры:
21
Дата загрузки:
02.12.2023 05:48
Длительность:
00:11:59
Категория:
Технологии и интернет

Описание

How to retrieve a JSON token via a POST authentication request using a JSON body formed by email and password to a REST API web service HTTPS endpoint from a remote Linux host in a few lines of Ansible code.
https://www.ansiblepilot.com/articles/token-based-authentication-in-rest-api-interact-with-webservice-ansible-module-uri/

Timestamps
00:00 Introduction
00:28 ansible.builtin.uri Ansible module
01:29 parameters of ansible.builtin.uri
04:08 website https://reqres.in
04:58 uri module demo playbook correct login
08:52 uri module execution and verification
09:48 uri module demo playbook incorrect login
10:19 uri module execution and verification
11:16 Recap

FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress - http://eepurl.com/hJv3j9

BUY the Complete PDF BOOK to easily Copy and Paste the 200+ Ansible code
200+ Automation Examples For Linux and Windows System Administrator and DevOps
https://leanpub.com/ansiblebyexamples

my VIDEO COURSE: Ansible by Examples
200+ Automation Examples For Linux and Windows System Administrator and DevOps
https://www.udemy.com/course/ansible-by-examples-devops/?referralCode=8E065F6D6F8622A3DEC8

Рекомендуемые видео