Skip to content

Service Artem is running…

Tag: hostvars

Ansible – Get the IP address of another host from the hosts file

An example of how to get the IP address of another host from the "hosts" file by performing a task on another host.   server1 – our Playbook will be executed on it server2 – we need its IP address in the Playbook   hosts:   In order to get the IP address, we will … Continue reading "Ansible – Get the IP address of another host from the hosts file"

Ansible – Use values in a loop from hosts file on another host

  There is a "hosts" file in which there is a group of "db". These are database instances that play a different role. The goal is to add the role type to the "hosts" file, so that later we can use this value in a loop that will be executed on a completely different host, … Continue reading "Ansible – Use values in a loop from hosts file on another host"
July 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Nov    

Recent Posts

  • Palo Alto VM-Series Firewall: GlobalProtect
  • Palo Alto VM-Series Firewall: GlobalProtect – AWS SAML
  • Palo Alto VM-Series Firewall: GlobalProtect – OneLogin SAML
  • Palo Alto VM-Series Firewall: Let’s Encrypt certificate
  • Palo Alto VM-Series Firewall: AWS HA Multi AZ for GlobalProtect – Part 2

Recent Comments

  • Henry on Jenkins – Change default language
  • QLi on Jenkins – Active Choice: CheckBox – Working with an Array
  • Prashanth on Jenkins – Active Choice: CheckBox – Default values
  • that guy on Jenkins – Active Choice: CheckBox – Working with an Array
  • Диван on Nginx – Regular Expression Tester

Categories

  • Backup (2)
  • BASH (9)
  • Command Examples (1)
  • Config Examples (9)
  • Database (2)
  • DevOps (107)
    • Ansible (9)
    • AWS (34)
    • CI/CD (34)
    • Docker (13)
    • GCP (4)
    • Helm (1)
    • Kubernetes (13)
    • Terraform (7)
  • Fix Error (27)
  • Linux (11)
  • Monitoring (4)
  • Network (10)
  • Virtualization (3)
Service Artem is running… © 2025