devops | how to create an ansible role | ansible practice | playbooks | step-by-step

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.พ. 2025
  • devops | how to create an ansible role | ansible practice | playbooks | step-by-step

ความคิดเห็น • 1

  • @adevopsbeginner
    @adevopsbeginner  6 วันที่ผ่านมา

    ---
    - name: Playbook - how to create an ansible role
    hosts: all
    roles:
    - hostname
    tasks:
    - name: Show hostname
    ansible.builtin.debug:
    var: ansible_hostname